From: Arnd Bergmann Date: Thu, 5 Nov 2009 18:13:51 +0000 (+0100) Subject: compat_ioctl: simplify calling of handlers X-Git-Tag: v2.6.33-rc1~300^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=789f0f89118a80a3ff5309371e5820f623ed2a53;p=pandora-kernel.git compat_ioctl: simplify calling of handlers The compat_ioctl array now contains only entries for ioctl numbers that do not require a separate handler. By special-casing the ULONG_IOCTL case in the do_ioctl_trans function, we can kill the final use of a function pointer in the array. text data bss dec hex filename 7539 13352 2080 22971 59bb before/fs/compat_ioctl.o 7910 8552 2080 18542 486e after/fs/compat_ioctl.o Signed-off-by: Arnd Bergmann --- Reading git-diff-tree failed