diff options
Diffstat (limited to 'include/linux/ioctl32.h')
| -rw-r--r-- | include/linux/ioctl32.h | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/include/linux/ioctl32.h b/include/linux/ioctl32.h index e8c4af32b3bb..948809d99917 100644 --- a/include/linux/ioctl32.h +++ b/include/linux/ioctl32.h | |||
| @@ -14,26 +14,4 @@ struct ioctl_trans { | |||
| 14 | struct ioctl_trans *next; | 14 | struct ioctl_trans *next; |
| 15 | }; | 15 | }; |
| 16 | 16 | ||
| 17 | /* | ||
| 18 | * Register an 32bit ioctl translation handler for ioctl cmd. | ||
| 19 | * | ||
| 20 | * handler == NULL: use 64bit ioctl handler. | ||
| 21 | * arguments to handler: fd: file descriptor | ||
| 22 | * cmd: ioctl command. | ||
| 23 | * arg: ioctl argument | ||
| 24 | * struct file *file: file descriptor pointer. | ||
| 25 | */ | ||
| 26 | |||
| 27 | #ifdef CONFIG_COMPAT | ||
| 28 | extern int __deprecated register_ioctl32_conversion(unsigned int cmd, | ||
| 29 | ioctl_trans_handler_t handler); | ||
| 30 | extern int __deprecated unregister_ioctl32_conversion(unsigned int cmd); | ||
| 31 | |||
| 32 | #else | ||
| 33 | |||
| 34 | #define register_ioctl32_conversion(cmd, handler) ({ 0; }) | ||
| 35 | #define unregister_ioctl32_conversion(cmd) ({ 0; }) | ||
| 36 | |||
| 37 | #endif | ||
| 38 | |||
| 39 | #endif | 17 | #endif |
