diff --git a/Documentation/feature-removal-schedule.txt b/Documentation/feature-removal-schedule.txt index b6b1f5ab5354b0fd53e4925f37f47a4ac28e6b25..56627c1546de4edb3c778a6c14856651438f2dd0 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 addressabilty (by using a pfn) and supports sparc & sparc64 iospace as part of the pfn. Who: Randy Dunlap + +--------------------------- + +What: register_ioctl32_conversion() / unregister_ioctl32_conversion() +When: April 2005 +Why: Replaced by ->compat_ioctl in file_operations and other method + vecors. +Who: Andi Kleen , Christoph Hellwig diff --git a/include/linux/ioctl32.h b/include/linux/ioctl32.h index e1a6418194286396a720327e7a750b8c077e0402..e8c4af32b3bb6ddcbd2005aa57a776d79216aef5 100644 --- a/include/linux/ioctl32.h +++ b/include/linux/ioctl32.h @@ -1,6 +1,8 @@ #ifndef IOCTL32_H #define IOCTL32_H 1 +#include /* for __deprecated */ + struct file; typedef int (*ioctl_trans_handler_t)(unsigned int, unsigned int, @@ -23,9 +25,9 @@ struct ioctl_trans { */ #ifdef CONFIG_COMPAT -extern int register_ioctl32_conversion(unsigned int cmd, +extern int __deprecated register_ioctl32_conversion(unsigned int cmd, ioctl_trans_handler_t handler); -extern int unregister_ioctl32_conversion(unsigned int cmd); +extern int __deprecated unregister_ioctl32_conversion(unsigned int cmd); #else