]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
m68k: Convert access_ok() to an inline function
authorGeert Uytterhoeven <geert@linux-m68k.org>
Sun, 18 May 2008 18:47:07 +0000 (20:47 +0200)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 18 May 2008 20:28:48 +0000 (13:28 -0700)
commit70f9cac5e077df8fc5a613d84e2e13005a6ff841
tree3497ea91f1b6dc60fb2131777dd2f5c6952195ef
parent29e92f483603d97dd1d2bafcb32101287dfac4ad
m68k: Convert access_ok() to an inline function

Convert access_ok() from a macro to an inline function, so the compiler no
longer complains about unused variables:

    fs/read_write.c: In function 'rw_copy_check_uvector':
    fs/read_write.c:556: warning: unused variable 'buf'

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/asm-m68k/uaccess.h