sh: make copy_to/from_user() static inline
authorMagnus Damm <magnus.damm@gmail.com>
Thu, 7 Feb 2008 10:50:52 +0000 (19:50 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 14 Feb 2008 05:22:09 +0000 (14:22 +0900)
commit1e6760c5c4589d02a6877fb256b99c33dd8f1ede
tree7da4be750339a538da9535c38ccdd8e69be61bdf
parent960c65e88452e761e257c6a20062c91c3e7fa5ac
sh: make copy_to/from_user() static inline

This patch changes copy_from_user() and copy_to_user() from macros
into static inline functions. This way we can use them as function
pointers. Also unify the 64 bit and 32 bit versions.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
include/asm-sh/uaccess.h
include/asm-sh/uaccess_32.h
include/asm-sh/uaccess_64.h