aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/include/asm/uaccess_64.h
Commit message (Collapse)AuthorAge
* sh: use the new generic strnlen_user() functionPaul Mundt2012-06-12
| | | | | | | This discards both the _32 and _64 versions in favour of the consolidated generic one. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: switch to generic strncpy_from_user().Paul Mundt2012-06-12
| | | | | | | | 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>
* sh: sh_ksyms_64 needs __strncpy_from_user() definition.Paul Mundt2008-09-29
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Fix up uaccess_64 put/get_user() cast warnings.Paul Mundt2008-09-29
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh64: re-add the __strnlen_user() prototypeAdrian Bunk2008-08-25
| | | | | | | | | | | | | | | | | | | | | | | | | | Commit 42fd3b142d8867f5b58d6fb75592cd20fd654c1b (sh: Initial consolidation of the _32/_64 uaccess split.) mistakenly removed the sh64 __strnlen_user() prototype, resulting in the following compile error: <-- snip --> ... CC init/main.o In file included from include/linux/poll.h:13, from include/linux/rtc.h:113, from include/linux/efi.h:19, from init/main.c:43: arch/sh/include/asm/uaccess.h: In function 'strnlen_user': arch/sh/include/asm/uaccess.h:213: error: implicit declaration of function '__strnlen_user' ... make[2]: *** [init/main.o] Error 1 <-- snip --> Reported-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: migrate to arch/sh/include/Paul Mundt2008-07-28
This follows the sparc changes a439fe51a1f8eb087c22dd24d69cebae4a3addac. Most of the moving about was done with Sam's directions at: http://marc.info/?l=linux-sh&m=121724823706062&w=2 with subsequent hacking and fixups entirely my fault. Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Paul Mundt <lethal@linux-sh.org>