[RESEND PATCH] Convert PARISC sysctl to be generic

From: Vineet Gupta
Date: Thu Jan 03 2013 - 02:00:52 EST


This came out ARC Port's review by Arnd where he suggested using the existing
sysctl knobs in parisc and/or ia64 for runtime controlling unaligned access

Turns out that ARC port needs bit of both.

The common sysctl knobs are now #ifdef based on init/Kconfig options which
the corresponding arches now select in their Kconfigs.
No other arch code is touched (although code has not been compile tested).

If this patch is ACKable, I would request you to please take this patch
via your arch tree - to avoid any merge-hassles and other interdependencies

P.S. I've deliberately NOT added the new items at the end of arch/*/Kconfig,
to avoid any merge conflicts going further - anyhow both the ia64/parisc
Kconfigs are not sorted either.


Vineet Gupta (1):
sysctl: Enable PARISC "unaligned-trap" to be used cross-arch

arch/parisc/Kconfig | 1 +
init/Kconfig | 8 ++++++++
kernel/sysctl.c | 7 ++++++-
3 files changed, 15 insertions(+), 1 deletions(-)


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/