History log of /arch/sh/include/asm/uaccess_64.h
Revision Date Author Comments
cba8df4be3bdf10c86a26c458c5fc2ca978eeb2c 04-Jun-2012 Paul Mundt <lethal@linux-sh.org> sh: use the new generic strnlen_user() function

This discards both the _32 and _64 versions in favour of the consolidated
generic one.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
0e100e11bd73be4e28e457cf5ad49a6892d5d1fe 25-May-2012 Paul Mundt <lethal@linux-sh.org> 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>
50b72e600b62bcdf40971e55f609cf4771346cc1 29-Sep-2008 Paul Mundt <lethal@linux-sh.org> sh: sh_ksyms_64 needs __strncpy_from_user() definition.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
88856d67cf6b787447889915bafd541be20b8630 29-Sep-2008 Paul Mundt <lethal@linux-sh.org> sh: Fix up uaccess_64 put/get_user() cast warnings.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
a1068264522cb0a9b863d5357ade844e490bea41 22-Aug-2008 Adrian Bunk <bunk@kernel.org> sh64: re-add the __strnlen_user() prototype

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>
f15cbe6f1a4b4d9df59142fc8e4abb973302cf44 29-Jul-2008 Paul Mundt <lethal@linux-sh.org> sh: migrate to arch/sh/include/

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>