diff options
author | Paul Mundt <lethal@linux-sh.org> | 2012-05-25 13:02:48 +0900 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2012-06-13 10:28:16 +0900 |
commit | 0e100e11bd73be4e28e457cf5ad49a6892d5d1fe (patch) | |
tree | 55e193c2f37f458bd51d363bac78e20897c86b49 /arch/sh/Kconfig | |
parent | 94fa83c424321189ca24fb6cb4c0d224cdedc72d (diff) |
sh: switch to generic strncpy_from_user().
This kills off the special sh32/64 versions and adopts the generic
version. It should be possible to optimize this for SH-4A unaligned
loads, but this is a corner case that can be supported incrementally.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/Kconfig')
-rw-r--r-- | arch/sh/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig index 99bcd0ee838..cbffc26c043 100644 --- a/arch/sh/Kconfig +++ b/arch/sh/Kconfig @@ -32,6 +32,7 @@ config SUPERH select GENERIC_SMP_IDLE_THREAD select GENERIC_CLOCKEVENTS select GENERIC_CMOS_UPDATE if SH_SH03 || SH_DREAMCAST + select GENERIC_STRNCPY_FROM_USER help The SuperH is a RISC processor targeted for use in embedded systems and consumer electronics; it was also used in the Sega Dreamcast |