commit | 789f0f89118a80a3ff5309371e5820f623ed2a53 | [log] [tgz] |
---|---|---|
author | Arnd Bergmann <arnd@arndb.de> | Thu Nov 05 19:13:51 2009 +0100 |
committer | Arnd Bergmann <arnd@arndb.de> | Thu Dec 10 22:52:10 2009 +0100 |
tree | b4f178d169be07bdc9cbc629d4f9dab896233408 | |
parent | 5a07ea0b97f206ed23a5850079b7f322e7730869 [diff] |
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 <arnd@arndb.de>