From: Christoph Hellwig Date: Mon, 16 Jul 2007 06:41:16 +0000 (-0700) Subject: drop obsolete sys_ioctl export X-Git-Tag: v3.12-rc1~28442 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=681dcd95431e2258c1174602fcd69393e4139959;p=kernel%2Fkernel-generic.git drop obsolete sys_ioctl export sys_ioctl() was only exported for our first version of compat ioctl handling. Now that the whole compat ioctl handling mess is more or less sorted out there are no more modular users left and we can kill it. There's one exception and that's sparc64's solaris compat module, but sparc64 has it's own export predating the generic one by years for that which this patch leaves untouched. Signed-off-by: Christoph Hellwig Acked-by: David S. Miller Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/fs/ioctl.c b/fs/ioctl.c index 479c103..c2a773e 100644 --- a/fs/ioctl.c +++ b/fs/ioctl.c @@ -174,11 +174,3 @@ asmlinkage long sys_ioctl(unsigned int fd, unsigned int cmd, unsigned long arg) out: return error; } - -/* - * Platforms implementing 32 bit compatibility ioctl handlers in - * modules need this exported - */ -#ifdef CONFIG_COMPAT -EXPORT_SYMBOL(sys_ioctl); -#endif