diff options
author | Christoph Hellwig <hch@lst.de> | 2006-01-09 23:52:17 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-10 11:01:34 -0500 |
commit | 7ff92053ddff48d9d7908a353bd85f893944463e (patch) | |
tree | 7536ae8d96b112e87766a60e52de40df8f1f657b | |
parent | fc33a7bb9c6dd8f6e4a014976200f8fdabb3a45c (diff) |
[PATCH] don't include ioctl32.h in drivers
These days ioctl32.h is only used for communication of fs/compat.c and
fs/compat_ioctl.c and doesn't contain anything of interest to drivers.
Remove inclusion in various drivers.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r-- | arch/s390/kernel/s390_ksyms.c | 1 | ||||
-rw-r--r-- | arch/x86_64/kernel/x8664_ksyms.c | 1 | ||||
-rw-r--r-- | drivers/char/drm/drm_ioc32.c | 1 | ||||
-rw-r--r-- | drivers/char/drm/i915_ioc32.c | 1 | ||||
-rw-r--r-- | drivers/char/drm/mga_ioc32.c | 1 | ||||
-rw-r--r-- | drivers/char/drm/r128_ioc32.c | 1 | ||||
-rw-r--r-- | drivers/char/drm/radeon_ioc32.c | 1 | ||||
-rw-r--r-- | drivers/ieee1394/amdtp.c | 1 | ||||
-rw-r--r-- | drivers/ieee1394/dv1394.c | 1 | ||||
-rw-r--r-- | drivers/ieee1394/video1394.c | 1 | ||||
-rw-r--r-- | drivers/message/fusion/mptctl.c | 2 | ||||
-rw-r--r-- | drivers/s390/crypto/z90main.c | 1 | ||||
-rw-r--r-- | drivers/scsi/aacraid/linit.c | 1 | ||||
-rw-r--r-- | drivers/scsi/ch.c | 1 | ||||
-rw-r--r-- | drivers/scsi/megaraid/megaraid_mm.h | 1 | ||||
-rw-r--r-- | fs/xfs/linux-2.6/xfs_ioctl32.c | 1 |
16 files changed, 0 insertions, 17 deletions
diff --git a/arch/s390/kernel/s390_ksyms.c b/arch/s390/kernel/s390_ksyms.c index bee654abb6d3..4176c77670c4 100644 --- a/arch/s390/kernel/s390_ksyms.c +++ b/arch/s390/kernel/s390_ksyms.c | |||
@@ -10,7 +10,6 @@ | |||
10 | #include <linux/smp.h> | 10 | #include <linux/smp.h> |
11 | #include <linux/syscalls.h> | 11 | #include <linux/syscalls.h> |
12 | #include <linux/interrupt.h> | 12 | #include <linux/interrupt.h> |
13 | #include <linux/ioctl32.h> | ||
14 | #include <asm/checksum.h> | 13 | #include <asm/checksum.h> |
15 | #include <asm/cpcmd.h> | 14 | #include <asm/cpcmd.h> |
16 | #include <asm/delay.h> | 15 | #include <asm/delay.h> |
diff --git a/arch/x86_64/kernel/x8664_ksyms.c b/arch/x86_64/kernel/x8664_ksyms.c index 4a54221e10bc..b7fd6681c629 100644 --- a/arch/x86_64/kernel/x8664_ksyms.c +++ b/arch/x86_64/kernel/x8664_ksyms.c | |||
@@ -13,7 +13,6 @@ | |||
13 | #include <linux/string.h> | 13 | #include <linux/string.h> |
14 | #include <linux/syscalls.h> | 14 | #include <linux/syscalls.h> |
15 | #include <linux/tty.h> | 15 | #include <linux/tty.h> |
16 | #include <linux/ioctl32.h> | ||
17 | 16 | ||
18 | #include <asm/semaphore.h> | 17 | #include <asm/semaphore.h> |
19 | #include <asm/processor.h> | 18 | #include <asm/processor.h> |
diff --git a/drivers/char/drm/drm_ioc32.c b/drivers/char/drm/drm_ioc32.c index dd91ff6b474c..e9e2db18952d 100644 --- a/drivers/char/drm/drm_ioc32.c +++ b/drivers/char/drm/drm_ioc32.c | |||
@@ -28,7 +28,6 @@ | |||
28 | * IN THE SOFTWARE. | 28 | * IN THE SOFTWARE. |
29 | */ | 29 | */ |
30 | #include <linux/compat.h> | 30 | #include <linux/compat.h> |
31 | #include <linux/ioctl32.h> | ||
32 | 31 | ||
33 | #include "drmP.h" | 32 | #include "drmP.h" |
34 | #include "drm_core.h" | 33 | #include "drm_core.h" |
diff --git a/drivers/char/drm/i915_ioc32.c b/drivers/char/drm/i915_ioc32.c index 2218a946ec87..296248cdc767 100644 --- a/drivers/char/drm/i915_ioc32.c +++ b/drivers/char/drm/i915_ioc32.c | |||
@@ -30,7 +30,6 @@ | |||
30 | * IN THE SOFTWARE. | 30 | * IN THE SOFTWARE. |
31 | */ | 31 | */ |
32 | #include <linux/compat.h> | 32 | #include <linux/compat.h> |
33 | #include <linux/ioctl32.h> | ||
34 | 33 | ||
35 | #include "drmP.h" | 34 | #include "drmP.h" |
36 | #include "drm.h" | 35 | #include "drm.h" |
diff --git a/drivers/char/drm/mga_ioc32.c b/drivers/char/drm/mga_ioc32.c index 24a9d4e86af0..54a18eb2fc04 100644 --- a/drivers/char/drm/mga_ioc32.c +++ b/drivers/char/drm/mga_ioc32.c | |||
@@ -31,7 +31,6 @@ | |||
31 | * IN THE SOFTWARE. | 31 | * IN THE SOFTWARE. |
32 | */ | 32 | */ |
33 | #include <linux/compat.h> | 33 | #include <linux/compat.h> |
34 | #include <linux/ioctl32.h> | ||
35 | 34 | ||
36 | #include "drmP.h" | 35 | #include "drmP.h" |
37 | #include "drm.h" | 36 | #include "drm.h" |
diff --git a/drivers/char/drm/r128_ioc32.c b/drivers/char/drm/r128_ioc32.c index 1e2e367b8b82..9dd6d4116e47 100644 --- a/drivers/char/drm/r128_ioc32.c +++ b/drivers/char/drm/r128_ioc32.c | |||
@@ -30,7 +30,6 @@ | |||
30 | * IN THE SOFTWARE. | 30 | * IN THE SOFTWARE. |
31 | */ | 31 | */ |
32 | #include <linux/compat.h> | 32 | #include <linux/compat.h> |
33 | #include <linux/ioctl32.h> | ||
34 | 33 | ||
35 | #include "drmP.h" | 34 | #include "drmP.h" |
36 | #include "drm.h" | 35 | #include "drm.h" |
diff --git a/drivers/char/drm/radeon_ioc32.c b/drivers/char/drm/radeon_ioc32.c index fef4a2b84c1e..0ccfd3618ff1 100644 --- a/drivers/char/drm/radeon_ioc32.c +++ b/drivers/char/drm/radeon_ioc32.c | |||
@@ -28,7 +28,6 @@ | |||
28 | * IN THE SOFTWARE. | 28 | * IN THE SOFTWARE. |
29 | */ | 29 | */ |
30 | #include <linux/compat.h> | 30 | #include <linux/compat.h> |
31 | #include <linux/ioctl32.h> | ||
32 | 31 | ||
33 | #include "drmP.h" | 32 | #include "drmP.h" |
34 | #include "drm.h" | 33 | #include "drm.h" |
diff --git a/drivers/ieee1394/amdtp.c b/drivers/ieee1394/amdtp.c index 75897509c401..17390d762cf7 100644 --- a/drivers/ieee1394/amdtp.c +++ b/drivers/ieee1394/amdtp.c | |||
@@ -80,7 +80,6 @@ | |||
80 | #include <linux/pci.h> | 80 | #include <linux/pci.h> |
81 | #include <linux/interrupt.h> | 81 | #include <linux/interrupt.h> |
82 | #include <linux/poll.h> | 82 | #include <linux/poll.h> |
83 | #include <linux/ioctl32.h> | ||
84 | #include <linux/compat.h> | 83 | #include <linux/compat.h> |
85 | #include <linux/cdev.h> | 84 | #include <linux/cdev.h> |
86 | #include <asm/uaccess.h> | 85 | #include <asm/uaccess.h> |
diff --git a/drivers/ieee1394/dv1394.c b/drivers/ieee1394/dv1394.c index 196db7439272..efeaa944bd0a 100644 --- a/drivers/ieee1394/dv1394.c +++ b/drivers/ieee1394/dv1394.c | |||
@@ -108,7 +108,6 @@ | |||
108 | #include <linux/types.h> | 108 | #include <linux/types.h> |
109 | #include <linux/vmalloc.h> | 109 | #include <linux/vmalloc.h> |
110 | #include <linux/string.h> | 110 | #include <linux/string.h> |
111 | #include <linux/ioctl32.h> | ||
112 | #include <linux/compat.h> | 111 | #include <linux/compat.h> |
113 | #include <linux/cdev.h> | 112 | #include <linux/cdev.h> |
114 | 113 | ||
diff --git a/drivers/ieee1394/video1394.c b/drivers/ieee1394/video1394.c index 608479b2df14..39fb88309e8e 100644 --- a/drivers/ieee1394/video1394.c +++ b/drivers/ieee1394/video1394.c | |||
@@ -48,7 +48,6 @@ | |||
48 | #include <linux/vmalloc.h> | 48 | #include <linux/vmalloc.h> |
49 | #include <linux/timex.h> | 49 | #include <linux/timex.h> |
50 | #include <linux/mm.h> | 50 | #include <linux/mm.h> |
51 | #include <linux/ioctl32.h> | ||
52 | #include <linux/compat.h> | 51 | #include <linux/compat.h> |
53 | #include <linux/cdev.h> | 52 | #include <linux/cdev.h> |
54 | 53 | ||
diff --git a/drivers/message/fusion/mptctl.c b/drivers/message/fusion/mptctl.c index 959d2c5951b8..7c340240a50e 100644 --- a/drivers/message/fusion/mptctl.c +++ b/drivers/message/fusion/mptctl.c | |||
@@ -2585,8 +2585,6 @@ static struct miscdevice mptctl_miscdev = { | |||
2585 | 2585 | ||
2586 | #ifdef CONFIG_COMPAT | 2586 | #ifdef CONFIG_COMPAT |
2587 | 2587 | ||
2588 | #include <linux/ioctl32.h> | ||
2589 | |||
2590 | static int | 2588 | static int |
2591 | compat_mptfwxfer_ioctl(struct file *filp, unsigned int cmd, | 2589 | compat_mptfwxfer_ioctl(struct file *filp, unsigned int cmd, |
2592 | unsigned long arg) | 2590 | unsigned long arg) |
diff --git a/drivers/s390/crypto/z90main.c b/drivers/s390/crypto/z90main.c index 135ae04e6e75..2f54d033d7cf 100644 --- a/drivers/s390/crypto/z90main.c +++ b/drivers/s390/crypto/z90main.c | |||
@@ -30,7 +30,6 @@ | |||
30 | #include <linux/delay.h> // mdelay | 30 | #include <linux/delay.h> // mdelay |
31 | #include <linux/init.h> | 31 | #include <linux/init.h> |
32 | #include <linux/interrupt.h> // for tasklets | 32 | #include <linux/interrupt.h> // for tasklets |
33 | #include <linux/ioctl32.h> | ||
34 | #include <linux/miscdevice.h> | 33 | #include <linux/miscdevice.h> |
35 | #include <linux/module.h> | 34 | #include <linux/module.h> |
36 | #include <linux/moduleparam.h> | 35 | #include <linux/moduleparam.h> |
diff --git a/drivers/scsi/aacraid/linit.c b/drivers/scsi/aacraid/linit.c index 3cb68af90456..9b9062f02462 100644 --- a/drivers/scsi/aacraid/linit.c +++ b/drivers/scsi/aacraid/linit.c | |||
@@ -46,7 +46,6 @@ | |||
46 | #include <linux/slab.h> | 46 | #include <linux/slab.h> |
47 | #include <linux/spinlock.h> | 47 | #include <linux/spinlock.h> |
48 | #include <linux/syscalls.h> | 48 | #include <linux/syscalls.h> |
49 | #include <linux/ioctl32.h> | ||
50 | #include <linux/delay.h> | 49 | #include <linux/delay.h> |
51 | #include <linux/smp_lock.h> | 50 | #include <linux/smp_lock.h> |
52 | #include <asm/semaphore.h> | 51 | #include <asm/semaphore.h> |
diff --git a/drivers/scsi/ch.c b/drivers/scsi/ch.c index 0920220f3313..4299fabca554 100644 --- a/drivers/scsi/ch.c +++ b/drivers/scsi/ch.c | |||
@@ -20,7 +20,6 @@ | |||
20 | #include <linux/interrupt.h> | 20 | #include <linux/interrupt.h> |
21 | #include <linux/blkdev.h> | 21 | #include <linux/blkdev.h> |
22 | #include <linux/completion.h> | 22 | #include <linux/completion.h> |
23 | #include <linux/ioctl32.h> | ||
24 | #include <linux/compat.h> | 23 | #include <linux/compat.h> |
25 | #include <linux/chio.h> /* here are all the ioctls */ | 24 | #include <linux/chio.h> /* here are all the ioctls */ |
26 | 25 | ||
diff --git a/drivers/scsi/megaraid/megaraid_mm.h b/drivers/scsi/megaraid/megaraid_mm.h index eb8c390a0fa3..3d9e67d6849d 100644 --- a/drivers/scsi/megaraid/megaraid_mm.h +++ b/drivers/scsi/megaraid/megaraid_mm.h | |||
@@ -22,7 +22,6 @@ | |||
22 | #include <linux/moduleparam.h> | 22 | #include <linux/moduleparam.h> |
23 | #include <linux/pci.h> | 23 | #include <linux/pci.h> |
24 | #include <linux/list.h> | 24 | #include <linux/list.h> |
25 | #include <linux/ioctl32.h> | ||
26 | 25 | ||
27 | #include "mbox_defs.h" | 26 | #include "mbox_defs.h" |
28 | #include "megaraid_ioctl.h" | 27 | #include "megaraid_ioctl.h" |
diff --git a/fs/xfs/linux-2.6/xfs_ioctl32.c b/fs/xfs/linux-2.6/xfs_ioctl32.c index c83ae15bb0e6..a7c9ba1a9f7b 100644 --- a/fs/xfs/linux-2.6/xfs_ioctl32.c +++ b/fs/xfs/linux-2.6/xfs_ioctl32.c | |||
@@ -19,7 +19,6 @@ | |||
19 | #include <linux/compat.h> | 19 | #include <linux/compat.h> |
20 | #include <linux/init.h> | 20 | #include <linux/init.h> |
21 | #include <linux/ioctl.h> | 21 | #include <linux/ioctl.h> |
22 | #include <linux/ioctl32.h> | ||
23 | #include <linux/syscalls.h> | 22 | #include <linux/syscalls.h> |
24 | #include <linux/types.h> | 23 | #include <linux/types.h> |
25 | #include <linux/fs.h> | 24 | #include <linux/fs.h> |