summaryrefslogtreecommitdiffstats
path: root/fs/romfs
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2009-11-06 23:10:54 -0800
committerDavid S. Miller <davem@davemloft.net>2009-11-06 23:10:54 -0800
commit6b96018b28bd93274b4b2a4c633a5d373fda0441 (patch)
treedd6402a6671f1e4d3ac0b930f410e2f2a59930da /fs/romfs
parent206602217747382488fcae68351673cc9103debc (diff)
downloadop-kernel-dev-6b96018b28bd93274b4b2a4c633a5d373fda0441.zip
op-kernel-dev-6b96018b28bd93274b4b2a4c633a5d373fda0441.tar.gz
compat: move sockios handling to net/socket.c
This removes the original socket compat_ioctl code from fs/compat_ioctl.c and converts the code from the copy in net/socket.c into a single function. We add a few cycles of runtime to compat_sock_ioctl() with the long switch() statement, but gain some cycles in return by simplifying the call chain to get there. Due to better inlining, save 1.5kb of object size in the process, and enable further savings: before: text data bss dec hex filename 13540 18008 2080 33628 835c obj/fs/compat_ioctl.o 14565 636 40 15241 3b89 obj/net/socket.o after: text data bss dec hex filename 8916 15176 2080 26172 663c obj/fs/compat_ioctl.o 20725 636 40 21401 5399 obj/net/socket.o Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/romfs')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud