diff options
author | David S. Miller <davem@davemloft.net> | 2008-07-18 05:39:39 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-07-18 05:39:39 -0400 |
commit | 49997d75152b3d23c53b0fa730599f2f74c92c65 (patch) | |
tree | 46e93126170d02cfec9505172e545732c1b69656 /fs/compat_ioctl.c | |
parent | a0c80b80e0fb48129e4e9d6a9ede914f9ff1850d (diff) | |
parent | 5b664cb235e97afbf34db9c4d77f08ebd725335e (diff) |
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6
Conflicts:
Documentation/powerpc/booting-without-of.txt
drivers/atm/Makefile
drivers/net/fs_enet/fs_enet-main.c
drivers/pci/pci-acpi.c
net/8021q/vlan.c
net/iucv/iucv.c
Diffstat (limited to 'fs/compat_ioctl.c')
-rw-r--r-- | fs/compat_ioctl.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/compat_ioctl.c b/fs/compat_ioctl.c index 05ec7eef8690..ddefb8851a98 100644 --- a/fs/compat_ioctl.c +++ b/fs/compat_ioctl.c | |||
@@ -68,9 +68,11 @@ | |||
68 | #include <linux/capi.h> | 68 | #include <linux/capi.h> |
69 | #include <linux/gigaset_dev.h> | 69 | #include <linux/gigaset_dev.h> |
70 | 70 | ||
71 | #ifdef CONFIG_BLOCK | ||
71 | #include <scsi/scsi.h> | 72 | #include <scsi/scsi.h> |
72 | #include <scsi/scsi_ioctl.h> | 73 | #include <scsi/scsi_ioctl.h> |
73 | #include <scsi/sg.h> | 74 | #include <scsi/sg.h> |
75 | #endif | ||
74 | 76 | ||
75 | #include <asm/uaccess.h> | 77 | #include <asm/uaccess.h> |
76 | #include <linux/ethtool.h> | 78 | #include <linux/ethtool.h> |
@@ -1965,6 +1967,7 @@ COMPATIBLE_IOCTL(GIO_UNISCRNMAP) | |||
1965 | COMPATIBLE_IOCTL(PIO_UNISCRNMAP) | 1967 | COMPATIBLE_IOCTL(PIO_UNISCRNMAP) |
1966 | COMPATIBLE_IOCTL(PIO_FONTRESET) | 1968 | COMPATIBLE_IOCTL(PIO_FONTRESET) |
1967 | COMPATIBLE_IOCTL(PIO_UNIMAPCLR) | 1969 | COMPATIBLE_IOCTL(PIO_UNIMAPCLR) |
1970 | #ifdef CONFIG_BLOCK | ||
1968 | /* Big S */ | 1971 | /* Big S */ |
1969 | COMPATIBLE_IOCTL(SCSI_IOCTL_GET_IDLUN) | 1972 | COMPATIBLE_IOCTL(SCSI_IOCTL_GET_IDLUN) |
1970 | COMPATIBLE_IOCTL(SCSI_IOCTL_DOORLOCK) | 1973 | COMPATIBLE_IOCTL(SCSI_IOCTL_DOORLOCK) |
@@ -1974,6 +1977,7 @@ COMPATIBLE_IOCTL(SCSI_IOCTL_GET_BUS_NUMBER) | |||
1974 | COMPATIBLE_IOCTL(SCSI_IOCTL_SEND_COMMAND) | 1977 | COMPATIBLE_IOCTL(SCSI_IOCTL_SEND_COMMAND) |
1975 | COMPATIBLE_IOCTL(SCSI_IOCTL_PROBE_HOST) | 1978 | COMPATIBLE_IOCTL(SCSI_IOCTL_PROBE_HOST) |
1976 | COMPATIBLE_IOCTL(SCSI_IOCTL_GET_PCI) | 1979 | COMPATIBLE_IOCTL(SCSI_IOCTL_GET_PCI) |
1980 | #endif | ||
1977 | /* Big T */ | 1981 | /* Big T */ |
1978 | COMPATIBLE_IOCTL(TUNSETNOCSUM) | 1982 | COMPATIBLE_IOCTL(TUNSETNOCSUM) |
1979 | COMPATIBLE_IOCTL(TUNSETDEBUG) | 1983 | COMPATIBLE_IOCTL(TUNSETDEBUG) |
@@ -2044,6 +2048,7 @@ COMPATIBLE_IOCTL(SIOCGIFVLAN) | |||
2044 | COMPATIBLE_IOCTL(SIOCSIFVLAN) | 2048 | COMPATIBLE_IOCTL(SIOCSIFVLAN) |
2045 | COMPATIBLE_IOCTL(SIOCBRADDBR) | 2049 | COMPATIBLE_IOCTL(SIOCBRADDBR) |
2046 | COMPATIBLE_IOCTL(SIOCBRDELBR) | 2050 | COMPATIBLE_IOCTL(SIOCBRDELBR) |
2051 | #ifdef CONFIG_BLOCK | ||
2047 | /* SG stuff */ | 2052 | /* SG stuff */ |
2048 | COMPATIBLE_IOCTL(SG_SET_TIMEOUT) | 2053 | COMPATIBLE_IOCTL(SG_SET_TIMEOUT) |
2049 | COMPATIBLE_IOCTL(SG_GET_TIMEOUT) | 2054 | COMPATIBLE_IOCTL(SG_GET_TIMEOUT) |
@@ -2068,6 +2073,7 @@ COMPATIBLE_IOCTL(SG_SCSI_RESET) | |||
2068 | COMPATIBLE_IOCTL(SG_GET_REQUEST_TABLE) | 2073 | COMPATIBLE_IOCTL(SG_GET_REQUEST_TABLE) |
2069 | COMPATIBLE_IOCTL(SG_SET_KEEP_ORPHAN) | 2074 | COMPATIBLE_IOCTL(SG_SET_KEEP_ORPHAN) |
2070 | COMPATIBLE_IOCTL(SG_GET_KEEP_ORPHAN) | 2075 | COMPATIBLE_IOCTL(SG_GET_KEEP_ORPHAN) |
2076 | #endif | ||
2071 | /* PPP stuff */ | 2077 | /* PPP stuff */ |
2072 | COMPATIBLE_IOCTL(PPPIOCGFLAGS) | 2078 | COMPATIBLE_IOCTL(PPPIOCGFLAGS) |
2073 | COMPATIBLE_IOCTL(PPPIOCSFLAGS) | 2079 | COMPATIBLE_IOCTL(PPPIOCSFLAGS) |