• Arnd Bergmann's avatar
    compat_ioctl: simplify calling of handlers · 789f0f89
    Arnd Bergmann authored
    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: default avatarArnd Bergmann <arnd@arndb.de>
    789f0f89
compat_ioctl.c 55.1 KB