Skip to contentSkip to conversation

drop obsolete sys_ioctl export

PATCH In review Christoph Hellwig 2 participants 2 messages Jun 21, 2007

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

fs/ioctl.c +0 -8
Index: linux-2.6/fs/ioctl.c
===================================================================
@@ -182,11 +182,3 @@ asmlinkage long sys_ioctl(unsigned int f
  out:
 	return error;
 }
-
-/*
- * Platforms implementing 32 bit compatibility ioctl handlers in
- * modules need this exported
- */
-#ifdef CONFIG_COMPAT
-EXPORT_SYMBOL(sys_ioctl);
-#endif
Acked-by on v1 1/1
#1 lore raw

From: Christoph Hellwig <[email protected]>
Date: Thu, 21 Jun 2007 23:15:17 +0200

Quoted 10 lines

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.