diff options
| author | Jeff Garzik <jgarzik@pobox.com> | 2005-09-08 05:37:58 -0400 |
|---|---|---|
| committer | Jeff Garzik <jgarzik@pobox.com> | 2005-09-08 05:37:58 -0400 |
| commit | 5a2cec83a9bb1b4295aa8ab728fcb8ca1811a33c (patch) | |
| tree | 2f83dc6949763e77cf6422e696dc6146684dcf4e /include/linux/ioctl32.h | |
| parent | f2c853bca542f5ac0b036377637192a74f2091c2 (diff) | |
| parent | caf39e87cc1182f7dae84eefc43ca14d54c78ef9 (diff) | |
Merge /spare/repo/linux-2.6/
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 |
