Skip to content

Commit

Permalink
drop obsolete sys_ioctl export
Browse files Browse the repository at this point in the history
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 <hch@lst.de>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Christoph Hellwig authored and Linus Torvalds committed Jul 16, 2007
1 parent dcecc6c commit 681dcd9
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions fs/ioctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 681dcd9

Please sign in to comment.