compat_ioctl: pass compat pointer directly to handlers
authorArnd Bergmann <arnd@arndb.de>
Sat, 14 Nov 2009 22:16:18 +0000 (23:16 +0100)
committerArnd Bergmann <arnd@arndb.de>
Thu, 10 Dec 2009 21:52:12 +0000 (22:52 +0100)
commit43c6e7b97f9ea0f4dec430dbafb6afa6ac711eb1
treec85cec4232ba702d97adfe3b0db721fe2fe13a2c
parent661f627da98c0647bcc002ef35e5441fb3ce667c
compat_ioctl: pass compat pointer directly to handlers

Instead of having each handler call compat_ptr, we can now
convert the pointer once and pass that to each handler.
This saves a little bit of both source and object code size.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
fs/compat_ioctl.c