sh: Fix get_user()/put_user() build error.
authorPaul Mundt <lethal@linux-sh.org>
Wed, 26 Dec 2007 09:37:16 +0000 (18:37 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 28 Jan 2008 04:19:02 +0000 (13:19 +0900)
commit0465b9fb5f6b57f00a6f5bf2169e30e8f3c7d66c
tree08b10ec77f301aa8e15d1a033f526b212e2f911f
parent31a49c4bf8f964b7a9897baa889916d71b51d9c1
sh: Fix get_user()/put_user() build error.

Fixes the build error caused by -Werror on gcc 3.x compilers:

arch/sh/kernel/signal_32.c: In function `sys_sigaction':
arch/sh/kernel/signal_32.c:66: warning: initialization discards qualifiers from pointer target type
arch/sh/kernel/signal_32.c:67: warning: initialization discards qualifiers from pointer target type
arch/sh/kernel/signal_32.c:69: warning: initialization discards qualifiers from pointer target type
arch/sh/kernel/signal_32.c:70: warning: initialization discards qualifiers from pointer target type

The mismatch in question was introduced by commit-id
9c5a4eec79b3eb8876d2e7fddfa1e040a7650e55.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
include/asm-sh/uaccess_32.h