diff options
-rw-r--r-- | Documentation/feature-removal-schedule.txt | 8 | ||||
-rw-r--r-- | include/linux/ioctl32.h | 6 |
2 files changed, 12 insertions, 2 deletions
diff --git a/Documentation/feature-removal-schedule.txt b/Documentation/feature-removal-schedule.txt index b6b1f5ab5354..56627c1546de 100644 --- a/Documentation/feature-removal-schedule.txt +++ b/Documentation/feature-removal-schedule.txt | |||
@@ -40,3 +40,11 @@ Why: Replaced by io_remap_pfn_range() which allows more memory space | |||
40 | addressabilty (by using a pfn) and supports sparc & sparc64 | 40 | addressabilty (by using a pfn) and supports sparc & sparc64 |
41 | iospace as part of the pfn. | 41 | iospace as part of the pfn. |
42 | Who: Randy Dunlap <rddunlap@osdl.org> | 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> | ||
diff --git a/include/linux/ioctl32.h b/include/linux/ioctl32.h index e1a641819428..e8c4af32b3bb 100644 --- a/include/linux/ioctl32.h +++ b/include/linux/ioctl32.h | |||
@@ -1,6 +1,8 @@ | |||
1 | #ifndef IOCTL32_H | 1 | #ifndef IOCTL32_H |
2 | #define IOCTL32_H 1 | 2 | #define IOCTL32_H 1 |
3 | 3 | ||
4 | #include <linux/compiler.h> /* for __deprecated */ | ||
5 | |||
4 | struct file; | 6 | struct file; |
5 | 7 | ||
6 | typedef int (*ioctl_trans_handler_t)(unsigned int, unsigned int, | 8 | typedef int (*ioctl_trans_handler_t)(unsigned int, unsigned int, |
@@ -23,9 +25,9 @@ struct ioctl_trans { | |||
23 | */ | 25 | */ |
24 | 26 | ||
25 | #ifdef CONFIG_COMPAT | 27 | #ifdef CONFIG_COMPAT |
26 | extern int register_ioctl32_conversion(unsigned int cmd, | 28 | extern int __deprecated register_ioctl32_conversion(unsigned int cmd, |
27 | ioctl_trans_handler_t handler); | 29 | ioctl_trans_handler_t handler); |
28 | extern int unregister_ioctl32_conversion(unsigned int cmd); | 30 | extern int __deprecated unregister_ioctl32_conversion(unsigned int cmd); |
29 | 31 | ||
30 | #else | 32 | #else |
31 | 33 | ||