Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[PATCH] officially deprecate register_ioctl32_conversion

These have been deprecated since ->compat_ioctl when in, thus only a short
deprecation period. There's four users left: i2o_config, s390/z90crypy,
s390/dasd and s390/zfcp and for the first two patches are about to be
submitted to get rid of it.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by

Christoph Hellwig and committed by
Linus Torvalds
22a685d0 6cae60fe

+12 -2
+8
Documentation/feature-removal-schedule.txt
··· 40 40 addressabilty (by using a pfn) and supports sparc & sparc64 41 41 iospace as part of the pfn. 42 42 Who: Randy Dunlap <rddunlap@osdl.org> 43 + 44 + --------------------------- 45 + 46 + What: register_ioctl32_conversion() / unregister_ioctl32_conversion() 47 + When: April 2005 48 + Why: Replaced by ->compat_ioctl in file_operations and other method 49 + vecors. 50 + Who: Andi Kleen <ak@muc.de>, Christoph Hellwig <hch@lst.de>
+4 -2
include/linux/ioctl32.h
··· 1 1 #ifndef IOCTL32_H 2 2 #define IOCTL32_H 1 3 3 4 + #include <linux/compiler.h> /* for __deprecated */ 5 + 4 6 struct file; 5 7 6 8 typedef int (*ioctl_trans_handler_t)(unsigned int, unsigned int, ··· 25 23 */ 26 24 27 25 #ifdef CONFIG_COMPAT 28 - extern int register_ioctl32_conversion(unsigned int cmd, 26 + extern int __deprecated register_ioctl32_conversion(unsigned int cmd, 29 27 ioctl_trans_handler_t handler); 30 - extern int unregister_ioctl32_conversion(unsigned int cmd); 28 + extern int __deprecated unregister_ioctl32_conversion(unsigned int cmd); 31 29 32 30 #else 33 31