diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2016-12-24 14:46:01 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-12-24 14:46:01 -0500 |
commit | 7c0f6ba682b9c7632072ffbedf8d328c8f3c42ba (patch) | |
tree | 0a6e858d2c9e6e8cd7da1d4268972071fbeb77ca /drivers | |
parent | 1dd5c6b15372c7c127c509afa9a816bad5feed3b (diff) |
Replace <asm/uaccess.h> with <linux/uaccess.h> globally
This was entirely automated, using the script by Al:
PATT='^[[:blank:]]*#[[:blank:]]*include[[:blank:]]*<asm/uaccess.h>'
sed -i -e "s!$PATT!#include <linux/uaccess.h>!" \
$(git grep -l "$PATT"|grep -v ^include/linux/uaccess.h)
to do the replacement at the end of the merge window.
Requested-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers')
386 files changed, 386 insertions, 386 deletions
diff --git a/drivers/acpi/acpi_video.c b/drivers/acpi/acpi_video.c index 201292e67ee8..d00bc0ef87a6 100644 --- a/drivers/acpi/acpi_video.c +++ b/drivers/acpi/acpi_video.c | |||
@@ -37,7 +37,7 @@ | |||
37 | #include <linux/suspend.h> | 37 | #include <linux/suspend.h> |
38 | #include <linux/acpi.h> | 38 | #include <linux/acpi.h> |
39 | #include <acpi/video.h> | 39 | #include <acpi/video.h> |
40 | #include <asm/uaccess.h> | 40 | #include <linux/uaccess.h> |
41 | 41 | ||
42 | #define PREFIX "ACPI: " | 42 | #define PREFIX "ACPI: " |
43 | 43 | ||
diff --git a/drivers/acpi/battery.c b/drivers/acpi/battery.c index 05fe9ebfb9b5..4ef1e4624b2b 100644 --- a/drivers/acpi/battery.c +++ b/drivers/acpi/battery.c | |||
@@ -36,7 +36,7 @@ | |||
36 | #ifdef CONFIG_ACPI_PROCFS_POWER | 36 | #ifdef CONFIG_ACPI_PROCFS_POWER |
37 | #include <linux/proc_fs.h> | 37 | #include <linux/proc_fs.h> |
38 | #include <linux/seq_file.h> | 38 | #include <linux/seq_file.h> |
39 | #include <asm/uaccess.h> | 39 | #include <linux/uaccess.h> |
40 | #endif | 40 | #endif |
41 | 41 | ||
42 | #include <linux/acpi.h> | 42 | #include <linux/acpi.h> |
diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c index a404ff4d7151..57fb5f468ac2 100644 --- a/drivers/acpi/osl.c +++ b/drivers/acpi/osl.c | |||
@@ -42,7 +42,7 @@ | |||
42 | #include <linux/semaphore.h> | 42 | #include <linux/semaphore.h> |
43 | 43 | ||
44 | #include <asm/io.h> | 44 | #include <asm/io.h> |
45 | #include <asm/uaccess.h> | 45 | #include <linux/uaccess.h> |
46 | #include <linux/io-64-nonatomic-lo-hi.h> | 46 | #include <linux/io-64-nonatomic-lo-hi.h> |
47 | 47 | ||
48 | #include "internal.h" | 48 | #include "internal.h" |
diff --git a/drivers/acpi/proc.c b/drivers/acpi/proc.c index 2a358154b770..a34669cc823b 100644 --- a/drivers/acpi/proc.c +++ b/drivers/acpi/proc.c | |||
@@ -4,7 +4,7 @@ | |||
4 | #include <linux/suspend.h> | 4 | #include <linux/suspend.h> |
5 | #include <linux/bcd.h> | 5 | #include <linux/bcd.h> |
6 | #include <linux/acpi.h> | 6 | #include <linux/acpi.h> |
7 | #include <asm/uaccess.h> | 7 | #include <linux/uaccess.h> |
8 | 8 | ||
9 | #include "sleep.h" | 9 | #include "sleep.h" |
10 | #include "internal.h" | 10 | #include "internal.h" |
diff --git a/drivers/acpi/processor_thermal.c b/drivers/acpi/processor_thermal.c index 1fed84a092c2..59c3a5d1e600 100644 --- a/drivers/acpi/processor_thermal.c +++ b/drivers/acpi/processor_thermal.c | |||
@@ -28,7 +28,7 @@ | |||
28 | #include <linux/cpufreq.h> | 28 | #include <linux/cpufreq.h> |
29 | #include <linux/acpi.h> | 29 | #include <linux/acpi.h> |
30 | #include <acpi/processor.h> | 30 | #include <acpi/processor.h> |
31 | #include <asm/uaccess.h> | 31 | #include <linux/uaccess.h> |
32 | 32 | ||
33 | #define PREFIX "ACPI: " | 33 | #define PREFIX "ACPI: " |
34 | 34 | ||
diff --git a/drivers/acpi/processor_throttling.c b/drivers/acpi/processor_throttling.c index d51ca1c05619..a12f96cc93ff 100644 --- a/drivers/acpi/processor_throttling.c +++ b/drivers/acpi/processor_throttling.c | |||
@@ -31,7 +31,7 @@ | |||
31 | #include <linux/acpi.h> | 31 | #include <linux/acpi.h> |
32 | #include <acpi/processor.h> | 32 | #include <acpi/processor.h> |
33 | #include <asm/io.h> | 33 | #include <asm/io.h> |
34 | #include <asm/uaccess.h> | 34 | #include <linux/uaccess.h> |
35 | 35 | ||
36 | #define PREFIX "ACPI: " | 36 | #define PREFIX "ACPI: " |
37 | 37 | ||
diff --git a/drivers/acpi/thermal.c b/drivers/acpi/thermal.c index 35e8fbca10ad..1d0417b87cb7 100644 --- a/drivers/acpi/thermal.c +++ b/drivers/acpi/thermal.c | |||
@@ -40,7 +40,7 @@ | |||
40 | #include <linux/thermal.h> | 40 | #include <linux/thermal.h> |
41 | #include <linux/acpi.h> | 41 | #include <linux/acpi.h> |
42 | #include <linux/workqueue.h> | 42 | #include <linux/workqueue.h> |
43 | #include <asm/uaccess.h> | 43 | #include <linux/uaccess.h> |
44 | 44 | ||
45 | #define PREFIX "ACPI: " | 45 | #define PREFIX "ACPI: " |
46 | 46 | ||
diff --git a/drivers/atm/adummy.c b/drivers/atm/adummy.c index f9b983ae6877..1fd25e872ece 100644 --- a/drivers/atm/adummy.c +++ b/drivers/atm/adummy.c | |||
@@ -16,7 +16,7 @@ | |||
16 | #include <linux/slab.h> | 16 | #include <linux/slab.h> |
17 | #include <asm/io.h> | 17 | #include <asm/io.h> |
18 | #include <asm/byteorder.h> | 18 | #include <asm/byteorder.h> |
19 | #include <asm/uaccess.h> | 19 | #include <linux/uaccess.h> |
20 | 20 | ||
21 | #include <linux/atmdev.h> | 21 | #include <linux/atmdev.h> |
22 | #include <linux/atm.h> | 22 | #include <linux/atm.h> |
diff --git a/drivers/atm/atmtcp.c b/drivers/atm/atmtcp.c index 480fa6ffbc09..3ef6253e1cce 100644 --- a/drivers/atm/atmtcp.c +++ b/drivers/atm/atmtcp.c | |||
@@ -10,7 +10,7 @@ | |||
10 | #include <linux/bitops.h> | 10 | #include <linux/bitops.h> |
11 | #include <linux/init.h> | 11 | #include <linux/init.h> |
12 | #include <linux/slab.h> | 12 | #include <linux/slab.h> |
13 | #include <asm/uaccess.h> | 13 | #include <linux/uaccess.h> |
14 | #include <linux/atomic.h> | 14 | #include <linux/atomic.h> |
15 | 15 | ||
16 | 16 | ||
diff --git a/drivers/atm/eni.c b/drivers/atm/eni.c index 40c2d561417b..c53a9dd1353f 100644 --- a/drivers/atm/eni.c +++ b/drivers/atm/eni.c | |||
@@ -21,7 +21,7 @@ | |||
21 | #include <linux/slab.h> | 21 | #include <linux/slab.h> |
22 | #include <asm/io.h> | 22 | #include <asm/io.h> |
23 | #include <linux/atomic.h> | 23 | #include <linux/atomic.h> |
24 | #include <asm/uaccess.h> | 24 | #include <linux/uaccess.h> |
25 | #include <asm/string.h> | 25 | #include <asm/string.h> |
26 | #include <asm/byteorder.h> | 26 | #include <asm/byteorder.h> |
27 | 27 | ||
diff --git a/drivers/atm/firestream.c b/drivers/atm/firestream.c index 85aaf2222587..80c2ddcfa92c 100644 --- a/drivers/atm/firestream.c +++ b/drivers/atm/firestream.c | |||
@@ -52,7 +52,7 @@ | |||
52 | #include <asm/string.h> | 52 | #include <asm/string.h> |
53 | #include <asm/io.h> | 53 | #include <asm/io.h> |
54 | #include <linux/atomic.h> | 54 | #include <linux/atomic.h> |
55 | #include <asm/uaccess.h> | 55 | #include <linux/uaccess.h> |
56 | #include <linux/wait.h> | 56 | #include <linux/wait.h> |
57 | 57 | ||
58 | #include "firestream.h" | 58 | #include "firestream.h" |
diff --git a/drivers/atm/fore200e.c b/drivers/atm/fore200e.c index 81aaa505862c..637c3e6b0f9e 100644 --- a/drivers/atm/fore200e.c +++ b/drivers/atm/fore200e.c | |||
@@ -43,7 +43,7 @@ | |||
43 | #include <asm/irq.h> | 43 | #include <asm/irq.h> |
44 | #include <asm/dma.h> | 44 | #include <asm/dma.h> |
45 | #include <asm/byteorder.h> | 45 | #include <asm/byteorder.h> |
46 | #include <asm/uaccess.h> | 46 | #include <linux/uaccess.h> |
47 | #include <linux/atomic.h> | 47 | #include <linux/atomic.h> |
48 | 48 | ||
49 | #ifdef CONFIG_SBUS | 49 | #ifdef CONFIG_SBUS |
diff --git a/drivers/atm/he.c b/drivers/atm/he.c index 31b513a23ae0..3617659b9184 100644 --- a/drivers/atm/he.c +++ b/drivers/atm/he.c | |||
@@ -71,7 +71,7 @@ | |||
71 | #include <linux/slab.h> | 71 | #include <linux/slab.h> |
72 | #include <asm/io.h> | 72 | #include <asm/io.h> |
73 | #include <asm/byteorder.h> | 73 | #include <asm/byteorder.h> |
74 | #include <asm/uaccess.h> | 74 | #include <linux/uaccess.h> |
75 | 75 | ||
76 | #include <linux/atmdev.h> | 76 | #include <linux/atmdev.h> |
77 | #include <linux/atm.h> | 77 | #include <linux/atm.h> |
diff --git a/drivers/atm/horizon.c b/drivers/atm/horizon.c index 5fc81e240c24..584aa881882b 100644 --- a/drivers/atm/horizon.c +++ b/drivers/atm/horizon.c | |||
@@ -45,7 +45,7 @@ | |||
45 | 45 | ||
46 | #include <asm/io.h> | 46 | #include <asm/io.h> |
47 | #include <linux/atomic.h> | 47 | #include <linux/atomic.h> |
48 | #include <asm/uaccess.h> | 48 | #include <linux/uaccess.h> |
49 | #include <asm/string.h> | 49 | #include <asm/string.h> |
50 | #include <asm/byteorder.h> | 50 | #include <asm/byteorder.h> |
51 | 51 | ||
diff --git a/drivers/atm/idt77105.c b/drivers/atm/idt77105.c index feb023d7eebd..082aa02abc57 100644 --- a/drivers/atm/idt77105.c +++ b/drivers/atm/idt77105.c | |||
@@ -17,7 +17,7 @@ | |||
17 | #include <linux/spinlock.h> | 17 | #include <linux/spinlock.h> |
18 | #include <linux/slab.h> | 18 | #include <linux/slab.h> |
19 | #include <asm/param.h> | 19 | #include <asm/param.h> |
20 | #include <asm/uaccess.h> | 20 | #include <linux/uaccess.h> |
21 | 21 | ||
22 | #include "idt77105.h" | 22 | #include "idt77105.h" |
23 | 23 | ||
diff --git a/drivers/atm/idt77252.c b/drivers/atm/idt77252.c index 074616b39f4d..471ddfd93ea8 100644 --- a/drivers/atm/idt77252.c +++ b/drivers/atm/idt77252.c | |||
@@ -45,7 +45,7 @@ | |||
45 | #include <linux/slab.h> | 45 | #include <linux/slab.h> |
46 | 46 | ||
47 | #include <asm/io.h> | 47 | #include <asm/io.h> |
48 | #include <asm/uaccess.h> | 48 | #include <linux/uaccess.h> |
49 | #include <linux/atomic.h> | 49 | #include <linux/atomic.h> |
50 | #include <asm/byteorder.h> | 50 | #include <asm/byteorder.h> |
51 | 51 | ||
diff --git a/drivers/atm/iphase.c b/drivers/atm/iphase.c index b2756765950e..8640bafeb471 100644 --- a/drivers/atm/iphase.c +++ b/drivers/atm/iphase.c | |||
@@ -58,7 +58,7 @@ | |||
58 | #include <linux/slab.h> | 58 | #include <linux/slab.h> |
59 | #include <asm/io.h> | 59 | #include <asm/io.h> |
60 | #include <linux/atomic.h> | 60 | #include <linux/atomic.h> |
61 | #include <asm/uaccess.h> | 61 | #include <linux/uaccess.h> |
62 | #include <asm/string.h> | 62 | #include <asm/string.h> |
63 | #include <asm/byteorder.h> | 63 | #include <asm/byteorder.h> |
64 | #include <linux/vmalloc.h> | 64 | #include <linux/vmalloc.h> |
diff --git a/drivers/atm/nicstar.c b/drivers/atm/nicstar.c index c7296b583787..cb28579e8a94 100644 --- a/drivers/atm/nicstar.c +++ b/drivers/atm/nicstar.c | |||
@@ -50,7 +50,7 @@ | |||
50 | #include <linux/slab.h> | 50 | #include <linux/slab.h> |
51 | #include <linux/idr.h> | 51 | #include <linux/idr.h> |
52 | #include <asm/io.h> | 52 | #include <asm/io.h> |
53 | #include <asm/uaccess.h> | 53 | #include <linux/uaccess.h> |
54 | #include <linux/atomic.h> | 54 | #include <linux/atomic.h> |
55 | #include <linux/etherdevice.h> | 55 | #include <linux/etherdevice.h> |
56 | #include "nicstar.h" | 56 | #include "nicstar.h" |
diff --git a/drivers/atm/suni.c b/drivers/atm/suni.c index 02159345566c..b0363149b2fd 100644 --- a/drivers/atm/suni.c +++ b/drivers/atm/suni.c | |||
@@ -23,7 +23,7 @@ | |||
23 | #include <linux/atm_suni.h> | 23 | #include <linux/atm_suni.h> |
24 | #include <linux/slab.h> | 24 | #include <linux/slab.h> |
25 | #include <asm/param.h> | 25 | #include <asm/param.h> |
26 | #include <asm/uaccess.h> | 26 | #include <linux/uaccess.h> |
27 | #include <linux/atomic.h> | 27 | #include <linux/atomic.h> |
28 | 28 | ||
29 | #include "suni.h" | 29 | #include "suni.h" |
diff --git a/drivers/atm/uPD98402.c b/drivers/atm/uPD98402.c index 5120a96b3a89..4fa13a807873 100644 --- a/drivers/atm/uPD98402.c +++ b/drivers/atm/uPD98402.c | |||
@@ -10,7 +10,7 @@ | |||
10 | #include <linux/sonet.h> | 10 | #include <linux/sonet.h> |
11 | #include <linux/init.h> | 11 | #include <linux/init.h> |
12 | #include <linux/slab.h> | 12 | #include <linux/slab.h> |
13 | #include <asm/uaccess.h> | 13 | #include <linux/uaccess.h> |
14 | #include <linux/atomic.h> | 14 | #include <linux/atomic.h> |
15 | 15 | ||
16 | #include "uPD98402.h" | 16 | #include "uPD98402.h" |
diff --git a/drivers/atm/zatm.c b/drivers/atm/zatm.c index d3dc95484161..292dec18ffb8 100644 --- a/drivers/atm/zatm.c +++ b/drivers/atm/zatm.c | |||
@@ -27,7 +27,7 @@ | |||
27 | #include <asm/string.h> | 27 | #include <asm/string.h> |
28 | #include <asm/io.h> | 28 | #include <asm/io.h> |
29 | #include <linux/atomic.h> | 29 | #include <linux/atomic.h> |
30 | #include <asm/uaccess.h> | 30 | #include <linux/uaccess.h> |
31 | 31 | ||
32 | #include "uPD98401.h" | 32 | #include "uPD98401.h" |
33 | #include "uPD98402.h" | 33 | #include "uPD98402.h" |
diff --git a/drivers/base/memory.c b/drivers/base/memory.c index bb69e58c29f3..8ab8ea1253e6 100644 --- a/drivers/base/memory.c +++ b/drivers/base/memory.c | |||
@@ -23,7 +23,7 @@ | |||
23 | #include <linux/slab.h> | 23 | #include <linux/slab.h> |
24 | 24 | ||
25 | #include <linux/atomic.h> | 25 | #include <linux/atomic.h> |
26 | #include <asm/uaccess.h> | 26 | #include <linux/uaccess.h> |
27 | 27 | ||
28 | static DEFINE_MUTEX(mem_sysfs_mutex); | 28 | static DEFINE_MUTEX(mem_sysfs_mutex); |
29 | 29 | ||
diff --git a/drivers/block/DAC960.c b/drivers/block/DAC960.c index 0809cda93cc0..26a51be77227 100644 --- a/drivers/block/DAC960.c +++ b/drivers/block/DAC960.c | |||
@@ -48,7 +48,7 @@ | |||
48 | #include <linux/random.h> | 48 | #include <linux/random.h> |
49 | #include <linux/scatterlist.h> | 49 | #include <linux/scatterlist.h> |
50 | #include <asm/io.h> | 50 | #include <asm/io.h> |
51 | #include <asm/uaccess.h> | 51 | #include <linux/uaccess.h> |
52 | #include "DAC960.h" | 52 | #include "DAC960.h" |
53 | 53 | ||
54 | #define DAC960_GAM_MINOR 252 | 54 | #define DAC960_GAM_MINOR 252 |
diff --git a/drivers/block/amiflop.c b/drivers/block/amiflop.c index 5fd50a284168..a328f673adfe 100644 --- a/drivers/block/amiflop.c +++ b/drivers/block/amiflop.c | |||
@@ -70,7 +70,7 @@ | |||
70 | #include <linux/platform_device.h> | 70 | #include <linux/platform_device.h> |
71 | 71 | ||
72 | #include <asm/setup.h> | 72 | #include <asm/setup.h> |
73 | #include <asm/uaccess.h> | 73 | #include <linux/uaccess.h> |
74 | #include <asm/amigahw.h> | 74 | #include <asm/amigahw.h> |
75 | #include <asm/amigaints.h> | 75 | #include <asm/amigaints.h> |
76 | #include <asm/irq.h> | 76 | #include <asm/irq.h> |
diff --git a/drivers/block/brd.c b/drivers/block/brd.c index ad793f35632c..3adc32a3153b 100644 --- a/drivers/block/brd.c +++ b/drivers/block/brd.c | |||
@@ -23,7 +23,7 @@ | |||
23 | #include <linux/pfn_t.h> | 23 | #include <linux/pfn_t.h> |
24 | #endif | 24 | #endif |
25 | 25 | ||
26 | #include <asm/uaccess.h> | 26 | #include <linux/uaccess.h> |
27 | 27 | ||
28 | #define SECTOR_SHIFT 9 | 28 | #define SECTOR_SHIFT 9 |
29 | #define PAGE_SECTORS_SHIFT (PAGE_SHIFT - SECTOR_SHIFT) | 29 | #define PAGE_SECTORS_SHIFT (PAGE_SHIFT - SECTOR_SHIFT) |
diff --git a/drivers/block/cciss.c b/drivers/block/cciss.c index db9d6bb6352d..e5c5b8eb14a9 100644 --- a/drivers/block/cciss.c +++ b/drivers/block/cciss.c | |||
@@ -43,7 +43,7 @@ | |||
43 | #include <linux/mutex.h> | 43 | #include <linux/mutex.h> |
44 | #include <linux/bitmap.h> | 44 | #include <linux/bitmap.h> |
45 | #include <linux/io.h> | 45 | #include <linux/io.h> |
46 | #include <asm/uaccess.h> | 46 | #include <linux/uaccess.h> |
47 | 47 | ||
48 | #include <linux/dma-mapping.h> | 48 | #include <linux/dma-mapping.h> |
49 | #include <linux/blkdev.h> | 49 | #include <linux/blkdev.h> |
diff --git a/drivers/block/cryptoloop.c b/drivers/block/cryptoloop.c index 3d31761c0ed0..74e03aa537ad 100644 --- a/drivers/block/cryptoloop.c +++ b/drivers/block/cryptoloop.c | |||
@@ -26,7 +26,7 @@ | |||
26 | #include <linux/string.h> | 26 | #include <linux/string.h> |
27 | #include <linux/blkdev.h> | 27 | #include <linux/blkdev.h> |
28 | #include <linux/scatterlist.h> | 28 | #include <linux/scatterlist.h> |
29 | #include <asm/uaccess.h> | 29 | #include <linux/uaccess.h> |
30 | #include "loop.h" | 30 | #include "loop.h" |
31 | 31 | ||
32 | MODULE_LICENSE("GPL"); | 32 | MODULE_LICENSE("GPL"); |
diff --git a/drivers/block/hd.c b/drivers/block/hd.c index 3abb121825bc..a9b48ed7a3cd 100644 --- a/drivers/block/hd.c +++ b/drivers/block/hd.c | |||
@@ -45,7 +45,7 @@ | |||
45 | 45 | ||
46 | #define REALLY_SLOW_IO | 46 | #define REALLY_SLOW_IO |
47 | #include <asm/io.h> | 47 | #include <asm/io.h> |
48 | #include <asm/uaccess.h> | 48 | #include <linux/uaccess.h> |
49 | 49 | ||
50 | #ifdef __arm__ | 50 | #ifdef __arm__ |
51 | #undef HD_IRQ | 51 | #undef HD_IRQ |
diff --git a/drivers/block/loop.c b/drivers/block/loop.c index 4af818766797..f347285c67ec 100644 --- a/drivers/block/loop.c +++ b/drivers/block/loop.c | |||
@@ -78,7 +78,7 @@ | |||
78 | #include <linux/uio.h> | 78 | #include <linux/uio.h> |
79 | #include "loop.h" | 79 | #include "loop.h" |
80 | 80 | ||
81 | #include <asm/uaccess.h> | 81 | #include <linux/uaccess.h> |
82 | 82 | ||
83 | static DEFINE_IDR(loop_index_idr); | 83 | static DEFINE_IDR(loop_index_idr); |
84 | static DEFINE_MUTEX(loop_index_mutex); | 84 | static DEFINE_MUTEX(loop_index_mutex); |
diff --git a/drivers/block/nbd.c b/drivers/block/nbd.c index 99c84468f154..38c576f76d36 100644 --- a/drivers/block/nbd.c +++ b/drivers/block/nbd.c | |||
@@ -36,7 +36,7 @@ | |||
36 | #include <linux/debugfs.h> | 36 | #include <linux/debugfs.h> |
37 | #include <linux/blk-mq.h> | 37 | #include <linux/blk-mq.h> |
38 | 38 | ||
39 | #include <asm/uaccess.h> | 39 | #include <linux/uaccess.h> |
40 | #include <asm/types.h> | 40 | #include <asm/types.h> |
41 | 41 | ||
42 | #include <linux/nbd.h> | 42 | #include <linux/nbd.h> |
diff --git a/drivers/block/paride/pcd.c b/drivers/block/paride/pcd.c index 93362362aa55..5fd2d0e25567 100644 --- a/drivers/block/paride/pcd.c +++ b/drivers/block/paride/pcd.c | |||
@@ -139,7 +139,7 @@ enum {D_PRT, D_PRO, D_UNI, D_MOD, D_SLV, D_DLY}; | |||
139 | #include <linux/spinlock.h> | 139 | #include <linux/spinlock.h> |
140 | #include <linux/blkdev.h> | 140 | #include <linux/blkdev.h> |
141 | #include <linux/mutex.h> | 141 | #include <linux/mutex.h> |
142 | #include <asm/uaccess.h> | 142 | #include <linux/uaccess.h> |
143 | 143 | ||
144 | static DEFINE_MUTEX(pcd_mutex); | 144 | static DEFINE_MUTEX(pcd_mutex); |
145 | static DEFINE_SPINLOCK(pcd_lock); | 145 | static DEFINE_SPINLOCK(pcd_lock); |
diff --git a/drivers/block/paride/pd.c b/drivers/block/paride/pd.c index 78a39f736c64..c3ed2fc72daa 100644 --- a/drivers/block/paride/pd.c +++ b/drivers/block/paride/pd.c | |||
@@ -155,7 +155,7 @@ enum {D_PRT, D_PRO, D_UNI, D_MOD, D_GEO, D_SBY, D_DLY, D_SLV}; | |||
155 | #include <linux/blkpg.h> | 155 | #include <linux/blkpg.h> |
156 | #include <linux/kernel.h> | 156 | #include <linux/kernel.h> |
157 | #include <linux/mutex.h> | 157 | #include <linux/mutex.h> |
158 | #include <asm/uaccess.h> | 158 | #include <linux/uaccess.h> |
159 | #include <linux/workqueue.h> | 159 | #include <linux/workqueue.h> |
160 | 160 | ||
161 | static DEFINE_MUTEX(pd_mutex); | 161 | static DEFINE_MUTEX(pd_mutex); |
diff --git a/drivers/block/paride/pf.c b/drivers/block/paride/pf.c index 7a7d977a76c5..ed93e8badf56 100644 --- a/drivers/block/paride/pf.c +++ b/drivers/block/paride/pf.c | |||
@@ -155,7 +155,7 @@ enum {D_PRT, D_PRO, D_UNI, D_MOD, D_SLV, D_LUN, D_DLY}; | |||
155 | #include <linux/blkdev.h> | 155 | #include <linux/blkdev.h> |
156 | #include <linux/blkpg.h> | 156 | #include <linux/blkpg.h> |
157 | #include <linux/mutex.h> | 157 | #include <linux/mutex.h> |
158 | #include <asm/uaccess.h> | 158 | #include <linux/uaccess.h> |
159 | 159 | ||
160 | static DEFINE_MUTEX(pf_mutex); | 160 | static DEFINE_MUTEX(pf_mutex); |
161 | static DEFINE_SPINLOCK(pf_spin_lock); | 161 | static DEFINE_SPINLOCK(pf_spin_lock); |
diff --git a/drivers/block/paride/pg.c b/drivers/block/paride/pg.c index bfbd4c852dd9..5db955fe3a94 100644 --- a/drivers/block/paride/pg.c +++ b/drivers/block/paride/pg.c | |||
@@ -166,7 +166,7 @@ enum {D_PRT, D_PRO, D_UNI, D_MOD, D_SLV, D_DLY}; | |||
166 | #include <linux/mutex.h> | 166 | #include <linux/mutex.h> |
167 | #include <linux/jiffies.h> | 167 | #include <linux/jiffies.h> |
168 | 168 | ||
169 | #include <asm/uaccess.h> | 169 | #include <linux/uaccess.h> |
170 | 170 | ||
171 | module_param(verbose, int, 0644); | 171 | module_param(verbose, int, 0644); |
172 | module_param(major, int, 0); | 172 | module_param(major, int, 0); |
diff --git a/drivers/block/paride/pt.c b/drivers/block/paride/pt.c index 216a94fed5b4..61fc6824299a 100644 --- a/drivers/block/paride/pt.c +++ b/drivers/block/paride/pt.c | |||
@@ -150,7 +150,7 @@ static int (*drives[4])[6] = {&drive0, &drive1, &drive2, &drive3}; | |||
150 | #include <linux/sched.h> /* current, TASK_*, schedule_timeout() */ | 150 | #include <linux/sched.h> /* current, TASK_*, schedule_timeout() */ |
151 | #include <linux/mutex.h> | 151 | #include <linux/mutex.h> |
152 | 152 | ||
153 | #include <asm/uaccess.h> | 153 | #include <linux/uaccess.h> |
154 | 154 | ||
155 | module_param(verbose, int, 0); | 155 | module_param(verbose, int, 0); |
156 | module_param(major, int, 0); | 156 | module_param(major, int, 0); |
diff --git a/drivers/block/pktcdvd.c b/drivers/block/pktcdvd.c index 95c98de92971..1b94c1ca5c5f 100644 --- a/drivers/block/pktcdvd.c +++ b/drivers/block/pktcdvd.c | |||
@@ -68,7 +68,7 @@ | |||
68 | #include <linux/debugfs.h> | 68 | #include <linux/debugfs.h> |
69 | #include <linux/device.h> | 69 | #include <linux/device.h> |
70 | 70 | ||
71 | #include <asm/uaccess.h> | 71 | #include <linux/uaccess.h> |
72 | 72 | ||
73 | #define DRIVER_NAME "pktcdvd" | 73 | #define DRIVER_NAME "pktcdvd" |
74 | 74 | ||
diff --git a/drivers/block/swim3.c b/drivers/block/swim3.c index c264f2d284a7..aabd8e9d3035 100644 --- a/drivers/block/swim3.c +++ b/drivers/block/swim3.c | |||
@@ -34,7 +34,7 @@ | |||
34 | #include <asm/io.h> | 34 | #include <asm/io.h> |
35 | #include <asm/dbdma.h> | 35 | #include <asm/dbdma.h> |
36 | #include <asm/prom.h> | 36 | #include <asm/prom.h> |
37 | #include <asm/uaccess.h> | 37 | #include <linux/uaccess.h> |
38 | #include <asm/mediabay.h> | 38 | #include <asm/mediabay.h> |
39 | #include <asm/machdep.h> | 39 | #include <asm/machdep.h> |
40 | #include <asm/pmac_feature.h> | 40 | #include <asm/pmac_feature.h> |
diff --git a/drivers/block/sx8.c b/drivers/block/sx8.c index ba4bfe933276..0e93ad7b8511 100644 --- a/drivers/block/sx8.c +++ b/drivers/block/sx8.c | |||
@@ -29,7 +29,7 @@ | |||
29 | #include <linux/completion.h> | 29 | #include <linux/completion.h> |
30 | #include <linux/scatterlist.h> | 30 | #include <linux/scatterlist.h> |
31 | #include <asm/io.h> | 31 | #include <asm/io.h> |
32 | #include <asm/uaccess.h> | 32 | #include <linux/uaccess.h> |
33 | 33 | ||
34 | #if 0 | 34 | #if 0 |
35 | #define CARM_DEBUG | 35 | #define CARM_DEBUG |
diff --git a/drivers/block/umem.c b/drivers/block/umem.c index 46f4c719fed9..c141cc3be22b 100644 --- a/drivers/block/umem.c +++ b/drivers/block/umem.c | |||
@@ -54,7 +54,7 @@ | |||
54 | 54 | ||
55 | #include "umem.h" | 55 | #include "umem.h" |
56 | 56 | ||
57 | #include <asm/uaccess.h> | 57 | #include <linux/uaccess.h> |
58 | #include <asm/io.h> | 58 | #include <asm/io.h> |
59 | 59 | ||
60 | #define MM_MAXCARDS 4 | 60 | #define MM_MAXCARDS 4 |
diff --git a/drivers/cdrom/cdrom.c b/drivers/cdrom/cdrom.c index 5d475b3a0b2e..59cca72647a6 100644 --- a/drivers/cdrom/cdrom.c +++ b/drivers/cdrom/cdrom.c | |||
@@ -282,7 +282,7 @@ | |||
282 | #include <linux/blkdev.h> | 282 | #include <linux/blkdev.h> |
283 | #include <linux/times.h> | 283 | #include <linux/times.h> |
284 | 284 | ||
285 | #include <asm/uaccess.h> | 285 | #include <linux/uaccess.h> |
286 | 286 | ||
287 | /* used to tell the module to turn on full debugging messages */ | 287 | /* used to tell the module to turn on full debugging messages */ |
288 | static bool debug; | 288 | static bool debug; |
diff --git a/drivers/char/agp/compat_ioctl.c b/drivers/char/agp/compat_ioctl.c index a48e05b31593..2053f70ef66b 100644 --- a/drivers/char/agp/compat_ioctl.c +++ b/drivers/char/agp/compat_ioctl.c | |||
@@ -31,7 +31,7 @@ | |||
31 | #include <linux/fs.h> | 31 | #include <linux/fs.h> |
32 | #include <linux/agpgart.h> | 32 | #include <linux/agpgart.h> |
33 | #include <linux/slab.h> | 33 | #include <linux/slab.h> |
34 | #include <asm/uaccess.h> | 34 | #include <linux/uaccess.h> |
35 | #include "agp.h" | 35 | #include "agp.h" |
36 | #include "compat_ioctl.h" | 36 | #include "compat_ioctl.h" |
37 | 37 | ||
diff --git a/drivers/char/agp/frontend.c b/drivers/char/agp/frontend.c index 0f64d149c98d..f6955888e676 100644 --- a/drivers/char/agp/frontend.c +++ b/drivers/char/agp/frontend.c | |||
@@ -38,7 +38,7 @@ | |||
38 | #include <linux/mm.h> | 38 | #include <linux/mm.h> |
39 | #include <linux/fs.h> | 39 | #include <linux/fs.h> |
40 | #include <linux/sched.h> | 40 | #include <linux/sched.h> |
41 | #include <asm/uaccess.h> | 41 | #include <linux/uaccess.h> |
42 | #include <asm/pgtable.h> | 42 | #include <asm/pgtable.h> |
43 | #include "agp.h" | 43 | #include "agp.h" |
44 | 44 | ||
diff --git a/drivers/char/applicom.c b/drivers/char/applicom.c index 14790304b84b..e5c62dcf2c11 100644 --- a/drivers/char/applicom.c +++ b/drivers/char/applicom.c | |||
@@ -34,7 +34,7 @@ | |||
34 | #include <linux/fs.h> | 34 | #include <linux/fs.h> |
35 | 35 | ||
36 | #include <asm/io.h> | 36 | #include <asm/io.h> |
37 | #include <asm/uaccess.h> | 37 | #include <linux/uaccess.h> |
38 | 38 | ||
39 | #include "applicom.h" | 39 | #include "applicom.h" |
40 | 40 | ||
diff --git a/drivers/char/bfin-otp.c b/drivers/char/bfin-otp.c index 35d46da754d7..0584025bb0c2 100644 --- a/drivers/char/bfin-otp.c +++ b/drivers/char/bfin-otp.c | |||
@@ -20,7 +20,7 @@ | |||
20 | 20 | ||
21 | #include <asm/blackfin.h> | 21 | #include <asm/blackfin.h> |
22 | #include <asm/bfrom.h> | 22 | #include <asm/bfrom.h> |
23 | #include <asm/uaccess.h> | 23 | #include <linux/uaccess.h> |
24 | 24 | ||
25 | #define stamp(fmt, args...) pr_debug("%s:%i: " fmt "\n", __func__, __LINE__, ## args) | 25 | #define stamp(fmt, args...) pr_debug("%s:%i: " fmt "\n", __func__, __LINE__, ## args) |
26 | #define stampit() stamp("here i am") | 26 | #define stampit() stamp("here i am") |
diff --git a/drivers/char/ds1620.c b/drivers/char/ds1620.c index 0fae5296e311..eb53cbadb68f 100644 --- a/drivers/char/ds1620.c +++ b/drivers/char/ds1620.c | |||
@@ -13,7 +13,7 @@ | |||
13 | 13 | ||
14 | #include <mach/hardware.h> | 14 | #include <mach/hardware.h> |
15 | #include <asm/mach-types.h> | 15 | #include <asm/mach-types.h> |
16 | #include <asm/uaccess.h> | 16 | #include <linux/uaccess.h> |
17 | #include <asm/therm.h> | 17 | #include <asm/therm.h> |
18 | 18 | ||
19 | #ifdef CONFIG_PROC_FS | 19 | #ifdef CONFIG_PROC_FS |
diff --git a/drivers/char/dtlk.c b/drivers/char/dtlk.c index 65a8d96c0e93..58471394beb9 100644 --- a/drivers/char/dtlk.c +++ b/drivers/char/dtlk.c | |||
@@ -59,7 +59,7 @@ | |||
59 | #include <linux/sched.h> | 59 | #include <linux/sched.h> |
60 | #include <linux/mutex.h> | 60 | #include <linux/mutex.h> |
61 | #include <asm/io.h> /* for inb_p, outb_p, inb, outb, etc. */ | 61 | #include <asm/io.h> /* for inb_p, outb_p, inb, outb, etc. */ |
62 | #include <asm/uaccess.h> /* for get_user, etc. */ | 62 | #include <linux/uaccess.h> /* for get_user, etc. */ |
63 | #include <linux/wait.h> /* for wait_queue */ | 63 | #include <linux/wait.h> /* for wait_queue */ |
64 | #include <linux/init.h> /* for __init, module_{init,exit} */ | 64 | #include <linux/init.h> /* for __init, module_{init,exit} */ |
65 | #include <linux/poll.h> /* for POLLIN, etc. */ | 65 | #include <linux/poll.h> /* for POLLIN, etc. */ |
diff --git a/drivers/char/generic_nvram.c b/drivers/char/generic_nvram.c index 073db9558379..14e728fbb8a0 100644 --- a/drivers/char/generic_nvram.c +++ b/drivers/char/generic_nvram.c | |||
@@ -21,7 +21,7 @@ | |||
21 | #include <linux/init.h> | 21 | #include <linux/init.h> |
22 | #include <linux/mutex.h> | 22 | #include <linux/mutex.h> |
23 | #include <linux/pagemap.h> | 23 | #include <linux/pagemap.h> |
24 | #include <asm/uaccess.h> | 24 | #include <linux/uaccess.h> |
25 | #include <asm/nvram.h> | 25 | #include <asm/nvram.h> |
26 | #ifdef CONFIG_PPC_PMAC | 26 | #ifdef CONFIG_PPC_PMAC |
27 | #include <asm/machdep.h> | 27 | #include <asm/machdep.h> |
diff --git a/drivers/char/hangcheck-timer.c b/drivers/char/hangcheck-timer.c index a7c5c59675f0..4f337375252e 100644 --- a/drivers/char/hangcheck-timer.c +++ b/drivers/char/hangcheck-timer.c | |||
@@ -46,7 +46,7 @@ | |||
46 | #include <linux/reboot.h> | 46 | #include <linux/reboot.h> |
47 | #include <linux/init.h> | 47 | #include <linux/init.h> |
48 | #include <linux/delay.h> | 48 | #include <linux/delay.h> |
49 | #include <asm/uaccess.h> | 49 | #include <linux/uaccess.h> |
50 | #include <linux/sysrq.h> | 50 | #include <linux/sysrq.h> |
51 | #include <linux/timer.h> | 51 | #include <linux/timer.h> |
52 | #include <linux/hrtimer.h> | 52 | #include <linux/hrtimer.h> |
diff --git a/drivers/char/hw_random/core.c b/drivers/char/hw_random/core.c index f9766415ff10..6ce5ce8be2f2 100644 --- a/drivers/char/hw_random/core.c +++ b/drivers/char/hw_random/core.c | |||
@@ -43,7 +43,7 @@ | |||
43 | #include <linux/slab.h> | 43 | #include <linux/slab.h> |
44 | #include <linux/random.h> | 44 | #include <linux/random.h> |
45 | #include <linux/err.h> | 45 | #include <linux/err.h> |
46 | #include <asm/uaccess.h> | 46 | #include <linux/uaccess.h> |
47 | 47 | ||
48 | 48 | ||
49 | #define RNG_MODULE_NAME "hw_random" | 49 | #define RNG_MODULE_NAME "hw_random" |
diff --git a/drivers/char/ipmi/ipmi_watchdog.c b/drivers/char/ipmi/ipmi_watchdog.c index 4facc7517a6a..4035495f3a86 100644 --- a/drivers/char/ipmi/ipmi_watchdog.c +++ b/drivers/char/ipmi/ipmi_watchdog.c | |||
@@ -43,7 +43,7 @@ | |||
43 | #include <linux/kdebug.h> | 43 | #include <linux/kdebug.h> |
44 | #include <linux/rwsem.h> | 44 | #include <linux/rwsem.h> |
45 | #include <linux/errno.h> | 45 | #include <linux/errno.h> |
46 | #include <asm/uaccess.h> | 46 | #include <linux/uaccess.h> |
47 | #include <linux/notifier.h> | 47 | #include <linux/notifier.h> |
48 | #include <linux/nmi.h> | 48 | #include <linux/nmi.h> |
49 | #include <linux/reboot.h> | 49 | #include <linux/reboot.h> |
diff --git a/drivers/char/lp.c b/drivers/char/lp.c index c4094c4e22c1..5b6742770656 100644 --- a/drivers/char/lp.c +++ b/drivers/char/lp.c | |||
@@ -134,7 +134,7 @@ | |||
134 | #include <linux/lp.h> | 134 | #include <linux/lp.h> |
135 | 135 | ||
136 | #include <asm/irq.h> | 136 | #include <asm/irq.h> |
137 | #include <asm/uaccess.h> | 137 | #include <linux/uaccess.h> |
138 | 138 | ||
139 | /* if you have more than 8 printers, remember to increase LP_NO */ | 139 | /* if you have more than 8 printers, remember to increase LP_NO */ |
140 | #define LP_NO 8 | 140 | #define LP_NO 8 |
diff --git a/drivers/char/mbcs.c b/drivers/char/mbcs.c index 67d426470e53..8c9216a0f62e 100644 --- a/drivers/char/mbcs.c +++ b/drivers/char/mbcs.c | |||
@@ -28,7 +28,7 @@ | |||
28 | #include <linux/slab.h> | 28 | #include <linux/slab.h> |
29 | #include <linux/pagemap.h> | 29 | #include <linux/pagemap.h> |
30 | #include <asm/io.h> | 30 | #include <asm/io.h> |
31 | #include <asm/uaccess.h> | 31 | #include <linux/uaccess.h> |
32 | #include <asm/pgtable.h> | 32 | #include <asm/pgtable.h> |
33 | #include <asm/sn/addrs.h> | 33 | #include <asm/sn/addrs.h> |
34 | #include <asm/sn/intr.h> | 34 | #include <asm/sn/intr.h> |
diff --git a/drivers/char/mmtimer.c b/drivers/char/mmtimer.c index 3d6c0671e996..f786b18ac500 100644 --- a/drivers/char/mmtimer.c +++ b/drivers/char/mmtimer.c | |||
@@ -35,7 +35,7 @@ | |||
35 | #include <linux/mutex.h> | 35 | #include <linux/mutex.h> |
36 | #include <linux/slab.h> | 36 | #include <linux/slab.h> |
37 | 37 | ||
38 | #include <asm/uaccess.h> | 38 | #include <linux/uaccess.h> |
39 | #include <asm/sn/addrs.h> | 39 | #include <asm/sn/addrs.h> |
40 | #include <asm/sn/intr.h> | 40 | #include <asm/sn/intr.h> |
41 | #include <asm/sn/shub_mmr.h> | 41 | #include <asm/sn/shub_mmr.h> |
diff --git a/drivers/char/mwave/3780i.c b/drivers/char/mwave/3780i.c index 972c40a19629..4a8937f80570 100644 --- a/drivers/char/mwave/3780i.c +++ b/drivers/char/mwave/3780i.c | |||
@@ -54,7 +54,7 @@ | |||
54 | #include <linux/sched.h> /* cond_resched() */ | 54 | #include <linux/sched.h> /* cond_resched() */ |
55 | 55 | ||
56 | #include <asm/io.h> | 56 | #include <asm/io.h> |
57 | #include <asm/uaccess.h> | 57 | #include <linux/uaccess.h> |
58 | #include <asm/irq.h> | 58 | #include <asm/irq.h> |
59 | #include "smapi.h" | 59 | #include "smapi.h" |
60 | #include "mwavedd.h" | 60 | #include "mwavedd.h" |
diff --git a/drivers/char/mwave/mwavedd.h b/drivers/char/mwave/mwavedd.h index 37e0a4926080..21cb09c7bed7 100644 --- a/drivers/char/mwave/mwavedd.h +++ b/drivers/char/mwave/mwavedd.h | |||
@@ -53,7 +53,7 @@ | |||
53 | #include "smapi.h" | 53 | #include "smapi.h" |
54 | #include "mwavepub.h" | 54 | #include "mwavepub.h" |
55 | #include <linux/ioctl.h> | 55 | #include <linux/ioctl.h> |
56 | #include <asm/uaccess.h> | 56 | #include <linux/uaccess.h> |
57 | #include <linux/wait.h> | 57 | #include <linux/wait.h> |
58 | 58 | ||
59 | extern int mwave_debug; | 59 | extern int mwave_debug; |
diff --git a/drivers/char/nsc_gpio.c b/drivers/char/nsc_gpio.c index b07b119ae57f..2a91bf048804 100644 --- a/drivers/char/nsc_gpio.c +++ b/drivers/char/nsc_gpio.c | |||
@@ -14,7 +14,7 @@ | |||
14 | #include <linux/init.h> | 14 | #include <linux/init.h> |
15 | #include <linux/nsc_gpio.h> | 15 | #include <linux/nsc_gpio.h> |
16 | #include <linux/platform_device.h> | 16 | #include <linux/platform_device.h> |
17 | #include <asm/uaccess.h> | 17 | #include <linux/uaccess.h> |
18 | #include <asm/io.h> | 18 | #include <asm/io.h> |
19 | 19 | ||
20 | #define NAME "nsc_gpio" | 20 | #define NAME "nsc_gpio" |
diff --git a/drivers/char/nwbutton.c b/drivers/char/nwbutton.c index 0e184426db98..a5b1eb276c0b 100644 --- a/drivers/char/nwbutton.c +++ b/drivers/char/nwbutton.c | |||
@@ -16,7 +16,7 @@ | |||
16 | #include <linux/errno.h> | 16 | #include <linux/errno.h> |
17 | #include <linux/init.h> | 17 | #include <linux/init.h> |
18 | 18 | ||
19 | #include <asm/uaccess.h> | 19 | #include <linux/uaccess.h> |
20 | #include <asm/irq.h> | 20 | #include <asm/irq.h> |
21 | #include <asm/mach-types.h> | 21 | #include <asm/mach-types.h> |
22 | 22 | ||
diff --git a/drivers/char/nwflash.c b/drivers/char/nwflash.c index dbe598de9b74..a284ae25e69a 100644 --- a/drivers/char/nwflash.c +++ b/drivers/char/nwflash.c | |||
@@ -31,7 +31,7 @@ | |||
31 | #include <asm/hardware/dec21285.h> | 31 | #include <asm/hardware/dec21285.h> |
32 | #include <asm/io.h> | 32 | #include <asm/io.h> |
33 | #include <asm/mach-types.h> | 33 | #include <asm/mach-types.h> |
34 | #include <asm/uaccess.h> | 34 | #include <linux/uaccess.h> |
35 | 35 | ||
36 | /*****************************************************************************/ | 36 | /*****************************************************************************/ |
37 | #include <asm/nwflash.h> | 37 | #include <asm/nwflash.h> |
diff --git a/drivers/char/pc8736x_gpio.c b/drivers/char/pc8736x_gpio.c index 3f79a9fb6b1b..5f4be88c0dfc 100644 --- a/drivers/char/pc8736x_gpio.c +++ b/drivers/char/pc8736x_gpio.c | |||
@@ -20,7 +20,7 @@ | |||
20 | #include <linux/mutex.h> | 20 | #include <linux/mutex.h> |
21 | #include <linux/nsc_gpio.h> | 21 | #include <linux/nsc_gpio.h> |
22 | #include <linux/platform_device.h> | 22 | #include <linux/platform_device.h> |
23 | #include <asm/uaccess.h> | 23 | #include <linux/uaccess.h> |
24 | 24 | ||
25 | #define DEVNAME "pc8736x_gpio" | 25 | #define DEVNAME "pc8736x_gpio" |
26 | 26 | ||
diff --git a/drivers/char/pcmcia/cm4040_cs.c b/drivers/char/pcmcia/cm4040_cs.c index fc061f7c2bd1..d7123259143e 100644 --- a/drivers/char/pcmcia/cm4040_cs.c +++ b/drivers/char/pcmcia/cm4040_cs.c | |||
@@ -26,7 +26,7 @@ | |||
26 | #include <linux/poll.h> | 26 | #include <linux/poll.h> |
27 | #include <linux/mutex.h> | 27 | #include <linux/mutex.h> |
28 | #include <linux/wait.h> | 28 | #include <linux/wait.h> |
29 | #include <asm/uaccess.h> | 29 | #include <linux/uaccess.h> |
30 | #include <asm/io.h> | 30 | #include <asm/io.h> |
31 | 31 | ||
32 | #include <pcmcia/cistpl.h> | 32 | #include <pcmcia/cistpl.h> |
diff --git a/drivers/char/pcmcia/synclink_cs.c b/drivers/char/pcmcia/synclink_cs.c index a7dd5f4f2c5a..d136db1a10f0 100644 --- a/drivers/char/pcmcia/synclink_cs.c +++ b/drivers/char/pcmcia/synclink_cs.c | |||
@@ -84,7 +84,7 @@ | |||
84 | #define PUT_USER(error,value,addr) error = put_user(value,addr) | 84 | #define PUT_USER(error,value,addr) error = put_user(value,addr) |
85 | #define COPY_TO_USER(error,dest,src,size) error = copy_to_user(dest,src,size) ? -EFAULT : 0 | 85 | #define COPY_TO_USER(error,dest,src,size) error = copy_to_user(dest,src,size) ? -EFAULT : 0 |
86 | 86 | ||
87 | #include <asm/uaccess.h> | 87 | #include <linux/uaccess.h> |
88 | 88 | ||
89 | static MGSL_PARAMS default_params = { | 89 | static MGSL_PARAMS default_params = { |
90 | MGSL_MODE_HDLC, /* unsigned long mode */ | 90 | MGSL_MODE_HDLC, /* unsigned long mode */ |
diff --git a/drivers/char/random.c b/drivers/char/random.c index d6876d506220..1ef26403bcc8 100644 --- a/drivers/char/random.c +++ b/drivers/char/random.c | |||
@@ -265,7 +265,7 @@ | |||
265 | #include <crypto/chacha20.h> | 265 | #include <crypto/chacha20.h> |
266 | 266 | ||
267 | #include <asm/processor.h> | 267 | #include <asm/processor.h> |
268 | #include <asm/uaccess.h> | 268 | #include <linux/uaccess.h> |
269 | #include <asm/irq.h> | 269 | #include <asm/irq.h> |
270 | #include <asm/irq_regs.h> | 270 | #include <asm/irq_regs.h> |
271 | #include <asm/io.h> | 271 | #include <asm/io.h> |
diff --git a/drivers/char/raw.c b/drivers/char/raw.c index e83b2adc014a..293167c6e254 100644 --- a/drivers/char/raw.c +++ b/drivers/char/raw.c | |||
@@ -24,7 +24,7 @@ | |||
24 | #include <linux/compat.h> | 24 | #include <linux/compat.h> |
25 | #include <linux/vmalloc.h> | 25 | #include <linux/vmalloc.h> |
26 | 26 | ||
27 | #include <asm/uaccess.h> | 27 | #include <linux/uaccess.h> |
28 | 28 | ||
29 | struct raw_device_data { | 29 | struct raw_device_data { |
30 | struct block_device *binding; | 30 | struct block_device *binding; |
diff --git a/drivers/char/scx200_gpio.c b/drivers/char/scx200_gpio.c index 0bc135b9b16f..903761bc41c9 100644 --- a/drivers/char/scx200_gpio.c +++ b/drivers/char/scx200_gpio.c | |||
@@ -12,7 +12,7 @@ | |||
12 | #include <linux/kernel.h> | 12 | #include <linux/kernel.h> |
13 | #include <linux/init.h> | 13 | #include <linux/init.h> |
14 | #include <linux/platform_device.h> | 14 | #include <linux/platform_device.h> |
15 | #include <asm/uaccess.h> | 15 | #include <linux/uaccess.h> |
16 | #include <asm/io.h> | 16 | #include <asm/io.h> |
17 | 17 | ||
18 | #include <linux/types.h> | 18 | #include <linux/types.h> |
diff --git a/drivers/char/sonypi.c b/drivers/char/sonypi.c index 719c5b4eed39..4fa7fcd8af36 100644 --- a/drivers/char/sonypi.c +++ b/drivers/char/sonypi.c | |||
@@ -52,7 +52,7 @@ | |||
52 | #include <linux/platform_device.h> | 52 | #include <linux/platform_device.h> |
53 | #include <linux/gfp.h> | 53 | #include <linux/gfp.h> |
54 | 54 | ||
55 | #include <asm/uaccess.h> | 55 | #include <linux/uaccess.h> |
56 | #include <asm/io.h> | 56 | #include <asm/io.h> |
57 | 57 | ||
58 | #include <linux/sonypi.h> | 58 | #include <linux/sonypi.h> |
diff --git a/drivers/char/tlclk.c b/drivers/char/tlclk.c index 100cd1de9939..572a51704e67 100644 --- a/drivers/char/tlclk.c +++ b/drivers/char/tlclk.c | |||
@@ -44,7 +44,7 @@ | |||
44 | #include <linux/miscdevice.h> | 44 | #include <linux/miscdevice.h> |
45 | #include <linux/platform_device.h> | 45 | #include <linux/platform_device.h> |
46 | #include <asm/io.h> /* inb/outb */ | 46 | #include <asm/io.h> /* inb/outb */ |
47 | #include <asm/uaccess.h> | 47 | #include <linux/uaccess.h> |
48 | 48 | ||
49 | MODULE_AUTHOR("Sebastien Bouchard <sebastien.bouchard@ca.kontron.com>"); | 49 | MODULE_AUTHOR("Sebastien Bouchard <sebastien.bouchard@ca.kontron.com>"); |
50 | MODULE_LICENSE("GPL"); | 50 | MODULE_LICENSE("GPL"); |
diff --git a/drivers/char/toshiba.c b/drivers/char/toshiba.c index f5a45d887a37..5488516da8ea 100644 --- a/drivers/char/toshiba.c +++ b/drivers/char/toshiba.c | |||
@@ -63,7 +63,7 @@ | |||
63 | #include <linux/miscdevice.h> | 63 | #include <linux/miscdevice.h> |
64 | #include <linux/ioport.h> | 64 | #include <linux/ioport.h> |
65 | #include <asm/io.h> | 65 | #include <asm/io.h> |
66 | #include <asm/uaccess.h> | 66 | #include <linux/uaccess.h> |
67 | #include <linux/init.h> | 67 | #include <linux/init.h> |
68 | #include <linux/stat.h> | 68 | #include <linux/stat.h> |
69 | #include <linux/proc_fs.h> | 69 | #include <linux/proc_fs.h> |
diff --git a/drivers/char/xilinx_hwicap/xilinx_hwicap.c b/drivers/char/xilinx_hwicap/xilinx_hwicap.c index c07dfe5c4da3..3e6b23c3453c 100644 --- a/drivers/char/xilinx_hwicap/xilinx_hwicap.c +++ b/drivers/char/xilinx_hwicap/xilinx_hwicap.c | |||
@@ -88,7 +88,7 @@ | |||
88 | #include <linux/slab.h> | 88 | #include <linux/slab.h> |
89 | 89 | ||
90 | #include <asm/io.h> | 90 | #include <asm/io.h> |
91 | #include <asm/uaccess.h> | 91 | #include <linux/uaccess.h> |
92 | 92 | ||
93 | #ifdef CONFIG_OF | 93 | #ifdef CONFIG_OF |
94 | /* For open firmware. */ | 94 | /* For open firmware. */ |
diff --git a/drivers/cpufreq/ia64-acpi-cpufreq.c b/drivers/cpufreq/ia64-acpi-cpufreq.c index 759612da4fdc..e28a31a40829 100644 --- a/drivers/cpufreq/ia64-acpi-cpufreq.c +++ b/drivers/cpufreq/ia64-acpi-cpufreq.c | |||
@@ -18,7 +18,7 @@ | |||
18 | #include <linux/proc_fs.h> | 18 | #include <linux/proc_fs.h> |
19 | #include <linux/seq_file.h> | 19 | #include <linux/seq_file.h> |
20 | #include <asm/io.h> | 20 | #include <asm/io.h> |
21 | #include <asm/uaccess.h> | 21 | #include <linux/uaccess.h> |
22 | #include <asm/pal.h> | 22 | #include <asm/pal.h> |
23 | 23 | ||
24 | #include <linux/acpi.h> | 24 | #include <linux/acpi.h> |
diff --git a/drivers/cpuidle/governors/ladder.c b/drivers/cpuidle/governors/ladder.c index fe8f08948fcb..ac321f09e717 100644 --- a/drivers/cpuidle/governors/ladder.c +++ b/drivers/cpuidle/governors/ladder.c | |||
@@ -19,7 +19,7 @@ | |||
19 | #include <linux/tick.h> | 19 | #include <linux/tick.h> |
20 | 20 | ||
21 | #include <asm/io.h> | 21 | #include <asm/io.h> |
22 | #include <asm/uaccess.h> | 22 | #include <linux/uaccess.h> |
23 | 23 | ||
24 | #define PROMOTION_COUNT 4 | 24 | #define PROMOTION_COUNT 4 |
25 | #define DEMOTION_COUNT 1 | 25 | #define DEMOTION_COUNT 1 |
diff --git a/drivers/dio/dio.c b/drivers/dio/dio.c index 55dd88d82d6d..830184529109 100644 --- a/drivers/dio/dio.c +++ b/drivers/dio/dio.c | |||
@@ -31,7 +31,7 @@ | |||
31 | #include <linux/init.h> | 31 | #include <linux/init.h> |
32 | #include <linux/dio.h> | 32 | #include <linux/dio.h> |
33 | #include <linux/slab.h> /* kmalloc() */ | 33 | #include <linux/slab.h> /* kmalloc() */ |
34 | #include <asm/uaccess.h> | 34 | #include <linux/uaccess.h> |
35 | #include <asm/io.h> /* readb() */ | 35 | #include <asm/io.h> /* readb() */ |
36 | 36 | ||
37 | struct dio_bus dio_bus = { | 37 | struct dio_bus dio_bus = { |
diff --git a/drivers/edac/edac_device.c b/drivers/edac/edac_device.c index de4d5d08af9e..65cf2b9355c4 100644 --- a/drivers/edac/edac_device.c +++ b/drivers/edac/edac_device.c | |||
@@ -13,7 +13,7 @@ | |||
13 | */ | 13 | */ |
14 | 14 | ||
15 | #include <asm/page.h> | 15 | #include <asm/page.h> |
16 | #include <asm/uaccess.h> | 16 | #include <linux/uaccess.h> |
17 | #include <linux/ctype.h> | 17 | #include <linux/ctype.h> |
18 | #include <linux/highmem.h> | 18 | #include <linux/highmem.h> |
19 | #include <linux/init.h> | 19 | #include <linux/init.h> |
diff --git a/drivers/edac/edac_mc.c b/drivers/edac/edac_mc.c index 5f2c717f8053..750891ea07de 100644 --- a/drivers/edac/edac_mc.c +++ b/drivers/edac/edac_mc.c | |||
@@ -28,7 +28,7 @@ | |||
28 | #include <linux/ctype.h> | 28 | #include <linux/ctype.h> |
29 | #include <linux/edac.h> | 29 | #include <linux/edac.h> |
30 | #include <linux/bitops.h> | 30 | #include <linux/bitops.h> |
31 | #include <asm/uaccess.h> | 31 | #include <linux/uaccess.h> |
32 | #include <asm/page.h> | 32 | #include <asm/page.h> |
33 | #include "edac_mc.h" | 33 | #include "edac_mc.h" |
34 | #include "edac_module.h" | 34 | #include "edac_module.h" |
diff --git a/drivers/edac/edac_pci.c b/drivers/edac/edac_pci.c index 4e9d5632041a..48c844a72a27 100644 --- a/drivers/edac/edac_pci.c +++ b/drivers/edac/edac_pci.c | |||
@@ -10,7 +10,7 @@ | |||
10 | * | 10 | * |
11 | */ | 11 | */ |
12 | #include <asm/page.h> | 12 | #include <asm/page.h> |
13 | #include <asm/uaccess.h> | 13 | #include <linux/uaccess.h> |
14 | #include <linux/ctype.h> | 14 | #include <linux/ctype.h> |
15 | #include <linux/highmem.h> | 15 | #include <linux/highmem.h> |
16 | #include <linux/init.h> | 16 | #include <linux/init.h> |
diff --git a/drivers/i2c/i2c-core.c b/drivers/i2c/i2c-core.c index 3de95a29024c..cf9e396d7702 100644 --- a/drivers/i2c/i2c-core.c +++ b/drivers/i2c/i2c-core.c | |||
@@ -30,7 +30,7 @@ | |||
30 | #define pr_fmt(fmt) "i2c-core: " fmt | 30 | #define pr_fmt(fmt) "i2c-core: " fmt |
31 | 31 | ||
32 | #include <dt-bindings/i2c/i2c.h> | 32 | #include <dt-bindings/i2c/i2c.h> |
33 | #include <asm/uaccess.h> | 33 | #include <linux/uaccess.h> |
34 | #include <linux/acpi.h> | 34 | #include <linux/acpi.h> |
35 | #include <linux/clk/clk-conf.h> | 35 | #include <linux/clk/clk-conf.h> |
36 | #include <linux/completion.h> | 36 | #include <linux/completion.h> |
diff --git a/drivers/ide/hpt366.c b/drivers/ide/hpt366.c index 0ceae5cbd89a..4b5dc0162e67 100644 --- a/drivers/ide/hpt366.c +++ b/drivers/ide/hpt366.c | |||
@@ -130,7 +130,7 @@ | |||
130 | #include <linux/ide.h> | 130 | #include <linux/ide.h> |
131 | #include <linux/slab.h> | 131 | #include <linux/slab.h> |
132 | 132 | ||
133 | #include <asm/uaccess.h> | 133 | #include <linux/uaccess.h> |
134 | #include <asm/io.h> | 134 | #include <asm/io.h> |
135 | 135 | ||
136 | #define DRV_NAME "hpt366" | 136 | #define DRV_NAME "hpt366" |
diff --git a/drivers/ide/ide-disk.c b/drivers/ide/ide-disk.c index 83679da0c3f0..5ceace542b77 100644 --- a/drivers/ide/ide-disk.c +++ b/drivers/ide/ide-disk.c | |||
@@ -31,7 +31,7 @@ | |||
31 | 31 | ||
32 | #include <asm/byteorder.h> | 32 | #include <asm/byteorder.h> |
33 | #include <asm/irq.h> | 33 | #include <asm/irq.h> |
34 | #include <asm/uaccess.h> | 34 | #include <linux/uaccess.h> |
35 | #include <asm/io.h> | 35 | #include <asm/io.h> |
36 | #include <asm/div64.h> | 36 | #include <asm/div64.h> |
37 | 37 | ||
diff --git a/drivers/ide/ide-io.c b/drivers/ide/ide-io.c index 6360bbd37efe..201e43fcbc94 100644 --- a/drivers/ide/ide-io.c +++ b/drivers/ide/ide-io.c | |||
@@ -51,7 +51,7 @@ | |||
51 | 51 | ||
52 | #include <asm/byteorder.h> | 52 | #include <asm/byteorder.h> |
53 | #include <asm/irq.h> | 53 | #include <asm/irq.h> |
54 | #include <asm/uaccess.h> | 54 | #include <linux/uaccess.h> |
55 | #include <asm/io.h> | 55 | #include <asm/io.h> |
56 | 56 | ||
57 | int ide_end_rq(ide_drive_t *drive, struct request *rq, int error, | 57 | int ide_end_rq(ide_drive_t *drive, struct request *rq, int error, |
diff --git a/drivers/ide/ide-iops.c b/drivers/ide/ide-iops.c index 376f2dc410c5..210a0887dd29 100644 --- a/drivers/ide/ide-iops.c +++ b/drivers/ide/ide-iops.c | |||
@@ -24,7 +24,7 @@ | |||
24 | 24 | ||
25 | #include <asm/byteorder.h> | 25 | #include <asm/byteorder.h> |
26 | #include <asm/irq.h> | 26 | #include <asm/irq.h> |
27 | #include <asm/uaccess.h> | 27 | #include <linux/uaccess.h> |
28 | #include <asm/io.h> | 28 | #include <asm/io.h> |
29 | 29 | ||
30 | void SELECT_MASK(ide_drive_t *drive, int mask) | 30 | void SELECT_MASK(ide_drive_t *drive, int mask) |
diff --git a/drivers/ide/ide-probe.c b/drivers/ide/ide-probe.c index 0b63facd1d87..330e319419e6 100644 --- a/drivers/ide/ide-probe.c +++ b/drivers/ide/ide-probe.c | |||
@@ -36,7 +36,7 @@ | |||
36 | 36 | ||
37 | #include <asm/byteorder.h> | 37 | #include <asm/byteorder.h> |
38 | #include <asm/irq.h> | 38 | #include <asm/irq.h> |
39 | #include <asm/uaccess.h> | 39 | #include <linux/uaccess.h> |
40 | #include <asm/io.h> | 40 | #include <asm/io.h> |
41 | 41 | ||
42 | /** | 42 | /** |
diff --git a/drivers/ide/ide-proc.c b/drivers/ide/ide-proc.c index 97c070077774..863db44c7916 100644 --- a/drivers/ide/ide-proc.c +++ b/drivers/ide/ide-proc.c | |||
@@ -16,7 +16,7 @@ | |||
16 | 16 | ||
17 | #include <linux/module.h> | 17 | #include <linux/module.h> |
18 | 18 | ||
19 | #include <asm/uaccess.h> | 19 | #include <linux/uaccess.h> |
20 | #include <linux/errno.h> | 20 | #include <linux/errno.h> |
21 | #include <linux/proc_fs.h> | 21 | #include <linux/proc_fs.h> |
22 | #include <linux/stat.h> | 22 | #include <linux/stat.h> |
diff --git a/drivers/infiniband/core/ucm.c b/drivers/infiniband/core/ucm.c index 579f9a7f6283..e0a995b85a2d 100644 --- a/drivers/infiniband/core/ucm.c +++ b/drivers/infiniband/core/ucm.c | |||
@@ -46,7 +46,7 @@ | |||
46 | #include <linux/mutex.h> | 46 | #include <linux/mutex.h> |
47 | #include <linux/slab.h> | 47 | #include <linux/slab.h> |
48 | 48 | ||
49 | #include <asm/uaccess.h> | 49 | #include <linux/uaccess.h> |
50 | 50 | ||
51 | #include <rdma/ib.h> | 51 | #include <rdma/ib.h> |
52 | #include <rdma/ib_cm.h> | 52 | #include <rdma/ib_cm.h> |
diff --git a/drivers/infiniband/core/user_mad.c b/drivers/infiniband/core/user_mad.c index 415a3185cde7..249b403b43a4 100644 --- a/drivers/infiniband/core/user_mad.c +++ b/drivers/infiniband/core/user_mad.c | |||
@@ -50,7 +50,7 @@ | |||
50 | #include <linux/semaphore.h> | 50 | #include <linux/semaphore.h> |
51 | #include <linux/slab.h> | 51 | #include <linux/slab.h> |
52 | 52 | ||
53 | #include <asm/uaccess.h> | 53 | #include <linux/uaccess.h> |
54 | 54 | ||
55 | #include <rdma/ib_mad.h> | 55 | #include <rdma/ib_mad.h> |
56 | #include <rdma/ib_user_mad.h> | 56 | #include <rdma/ib_user_mad.h> |
diff --git a/drivers/infiniband/core/uverbs_cmd.c b/drivers/infiniband/core/uverbs_cmd.c index 09b649159e6c..700782203483 100644 --- a/drivers/infiniband/core/uverbs_cmd.c +++ b/drivers/infiniband/core/uverbs_cmd.c | |||
@@ -38,7 +38,7 @@ | |||
38 | #include <linux/slab.h> | 38 | #include <linux/slab.h> |
39 | #include <linux/sched.h> | 39 | #include <linux/sched.h> |
40 | 40 | ||
41 | #include <asm/uaccess.h> | 41 | #include <linux/uaccess.h> |
42 | 42 | ||
43 | #include "uverbs.h" | 43 | #include "uverbs.h" |
44 | #include "core_priv.h" | 44 | #include "core_priv.h" |
diff --git a/drivers/infiniband/core/uverbs_main.c b/drivers/infiniband/core/uverbs_main.c index 813593550c4b..b3f95d453fba 100644 --- a/drivers/infiniband/core/uverbs_main.c +++ b/drivers/infiniband/core/uverbs_main.c | |||
@@ -46,7 +46,7 @@ | |||
46 | #include <linux/anon_inodes.h> | 46 | #include <linux/anon_inodes.h> |
47 | #include <linux/slab.h> | 47 | #include <linux/slab.h> |
48 | 48 | ||
49 | #include <asm/uaccess.h> | 49 | #include <linux/uaccess.h> |
50 | 50 | ||
51 | #include <rdma/ib.h> | 51 | #include <rdma/ib.h> |
52 | 52 | ||
diff --git a/drivers/infiniband/ulp/ipoib/ipoib_vlan.c b/drivers/infiniband/ulp/ipoib/ipoib_vlan.c index a2f9f29c6ab5..fd811115af49 100644 --- a/drivers/infiniband/ulp/ipoib/ipoib_vlan.c +++ b/drivers/infiniband/ulp/ipoib/ipoib_vlan.c | |||
@@ -35,7 +35,7 @@ | |||
35 | #include <linux/init.h> | 35 | #include <linux/init.h> |
36 | #include <linux/seq_file.h> | 36 | #include <linux/seq_file.h> |
37 | 37 | ||
38 | #include <asm/uaccess.h> | 38 | #include <linux/uaccess.h> |
39 | 39 | ||
40 | #include "ipoib.h" | 40 | #include "ipoib.h" |
41 | 41 | ||
diff --git a/drivers/infiniband/ulp/iser/iscsi_iser.c b/drivers/infiniband/ulp/iser/iscsi_iser.c index 64b3d11dcf1e..9104e6b8cac9 100644 --- a/drivers/infiniband/ulp/iser/iscsi_iser.c +++ b/drivers/infiniband/ulp/iser/iscsi_iser.c | |||
@@ -62,7 +62,7 @@ | |||
62 | 62 | ||
63 | #include <net/sock.h> | 63 | #include <net/sock.h> |
64 | 64 | ||
65 | #include <asm/uaccess.h> | 65 | #include <linux/uaccess.h> |
66 | 66 | ||
67 | #include <scsi/scsi_cmnd.h> | 67 | #include <scsi/scsi_cmnd.h> |
68 | #include <scsi/scsi_device.h> | 68 | #include <scsi/scsi_device.h> |
diff --git a/drivers/input/input-compat.c b/drivers/input/input-compat.c index d84d20b9cec0..2186f71c9fe5 100644 --- a/drivers/input/input-compat.c +++ b/drivers/input/input-compat.c | |||
@@ -9,7 +9,7 @@ | |||
9 | */ | 9 | */ |
10 | 10 | ||
11 | #include <linux/export.h> | 11 | #include <linux/export.h> |
12 | #include <asm/uaccess.h> | 12 | #include <linux/uaccess.h> |
13 | #include "input-compat.h" | 13 | #include "input-compat.h" |
14 | 14 | ||
15 | #ifdef CONFIG_COMPAT | 15 | #ifdef CONFIG_COMPAT |
diff --git a/drivers/input/misc/atlas_btns.c b/drivers/input/misc/atlas_btns.c index 638165c78e75..6423aaccc763 100644 --- a/drivers/input/misc/atlas_btns.c +++ b/drivers/input/misc/atlas_btns.c | |||
@@ -28,7 +28,7 @@ | |||
28 | #include <linux/input.h> | 28 | #include <linux/input.h> |
29 | #include <linux/types.h> | 29 | #include <linux/types.h> |
30 | #include <linux/acpi.h> | 30 | #include <linux/acpi.h> |
31 | #include <asm/uaccess.h> | 31 | #include <linux/uaccess.h> |
32 | 32 | ||
33 | #define ACPI_ATLAS_NAME "Atlas ACPI" | 33 | #define ACPI_ATLAS_NAME "Atlas ACPI" |
34 | #define ACPI_ATLAS_CLASS "Atlas" | 34 | #define ACPI_ATLAS_CLASS "Atlas" |
diff --git a/drivers/input/mouse/amimouse.c b/drivers/input/mouse/amimouse.c index a7fd8f22ba56..a33437c480e3 100644 --- a/drivers/input/mouse/amimouse.c +++ b/drivers/input/mouse/amimouse.c | |||
@@ -25,7 +25,7 @@ | |||
25 | 25 | ||
26 | #include <asm/irq.h> | 26 | #include <asm/irq.h> |
27 | #include <asm/setup.h> | 27 | #include <asm/setup.h> |
28 | #include <asm/uaccess.h> | 28 | #include <linux/uaccess.h> |
29 | #include <asm/amigahw.h> | 29 | #include <asm/amigahw.h> |
30 | #include <asm/amigaints.h> | 30 | #include <asm/amigaints.h> |
31 | 31 | ||
diff --git a/drivers/input/mouse/atarimouse.c b/drivers/input/mouse/atarimouse.c index d1c43236b125..96f2f51604bd 100644 --- a/drivers/input/mouse/atarimouse.c +++ b/drivers/input/mouse/atarimouse.c | |||
@@ -47,7 +47,7 @@ | |||
47 | 47 | ||
48 | #include <asm/irq.h> | 48 | #include <asm/irq.h> |
49 | #include <asm/setup.h> | 49 | #include <asm/setup.h> |
50 | #include <asm/uaccess.h> | 50 | #include <linux/uaccess.h> |
51 | #include <asm/atarihw.h> | 51 | #include <asm/atarihw.h> |
52 | #include <asm/atarikb.h> | 52 | #include <asm/atarikb.h> |
53 | #include <asm/atariints.h> | 53 | #include <asm/atariints.h> |
diff --git a/drivers/input/mouse/trackpoint.c b/drivers/input/mouse/trackpoint.c index 354d47ecd66a..7331084973e1 100644 --- a/drivers/input/mouse/trackpoint.c +++ b/drivers/input/mouse/trackpoint.c | |||
@@ -15,7 +15,7 @@ | |||
15 | #include <linux/input.h> | 15 | #include <linux/input.h> |
16 | #include <linux/libps2.h> | 16 | #include <linux/libps2.h> |
17 | #include <linux/proc_fs.h> | 17 | #include <linux/proc_fs.h> |
18 | #include <asm/uaccess.h> | 18 | #include <linux/uaccess.h> |
19 | #include "psmouse.h" | 19 | #include "psmouse.h" |
20 | #include "trackpoint.h" | 20 | #include "trackpoint.h" |
21 | 21 | ||
diff --git a/drivers/input/serio/hp_sdc.c b/drivers/input/serio/hp_sdc.c index 852858e5d8d0..559c99ca6592 100644 --- a/drivers/input/serio/hp_sdc.c +++ b/drivers/input/serio/hp_sdc.c | |||
@@ -79,7 +79,7 @@ | |||
79 | # define sdc_readb(p) gsc_readb(p) | 79 | # define sdc_readb(p) gsc_readb(p) |
80 | # define sdc_writeb(v,p) gsc_writeb((v),(p)) | 80 | # define sdc_writeb(v,p) gsc_writeb((v),(p)) |
81 | #elif defined(__mc68000__) | 81 | #elif defined(__mc68000__) |
82 | # include <asm/uaccess.h> | 82 | #include <linux/uaccess.h> |
83 | # define sdc_readb(p) in_8(p) | 83 | # define sdc_readb(p) in_8(p) |
84 | # define sdc_writeb(v,p) out_8((p),(v)) | 84 | # define sdc_writeb(v,p) out_8((p),(v)) |
85 | #else | 85 | #else |
diff --git a/drivers/input/serio/q40kbd.c b/drivers/input/serio/q40kbd.c index 5a9d521510bf..d0fccc8ec259 100644 --- a/drivers/input/serio/q40kbd.c +++ b/drivers/input/serio/q40kbd.c | |||
@@ -38,7 +38,7 @@ | |||
38 | #include <linux/slab.h> | 38 | #include <linux/slab.h> |
39 | 39 | ||
40 | #include <asm/io.h> | 40 | #include <asm/io.h> |
41 | #include <asm/uaccess.h> | 41 | #include <linux/uaccess.h> |
42 | #include <asm/q40_master.h> | 42 | #include <asm/q40_master.h> |
43 | #include <asm/irq.h> | 43 | #include <asm/irq.h> |
44 | #include <asm/q40ints.h> | 44 | #include <asm/q40ints.h> |
diff --git a/drivers/input/serio/serport.c b/drivers/input/serio/serport.c index d189843f3727..f8ead9f9c77e 100644 --- a/drivers/input/serio/serport.c +++ b/drivers/input/serio/serport.c | |||
@@ -13,7 +13,7 @@ | |||
13 | * the Free Software Foundation. | 13 | * the Free Software Foundation. |
14 | */ | 14 | */ |
15 | 15 | ||
16 | #include <asm/uaccess.h> | 16 | #include <linux/uaccess.h> |
17 | #include <linux/kernel.h> | 17 | #include <linux/kernel.h> |
18 | #include <linux/sched.h> | 18 | #include <linux/sched.h> |
19 | #include <linux/slab.h> | 19 | #include <linux/slab.h> |
diff --git a/drivers/input/tablet/aiptek.c b/drivers/input/tablet/aiptek.c index 4613f0aefd08..d67547bded3e 100644 --- a/drivers/input/tablet/aiptek.c +++ b/drivers/input/tablet/aiptek.c | |||
@@ -75,7 +75,7 @@ | |||
75 | #include <linux/slab.h> | 75 | #include <linux/slab.h> |
76 | #include <linux/module.h> | 76 | #include <linux/module.h> |
77 | #include <linux/usb/input.h> | 77 | #include <linux/usb/input.h> |
78 | #include <asm/uaccess.h> | 78 | #include <linux/uaccess.h> |
79 | #include <asm/unaligned.h> | 79 | #include <asm/unaligned.h> |
80 | 80 | ||
81 | /* | 81 | /* |
diff --git a/drivers/input/tablet/gtco.c b/drivers/input/tablet/gtco.c index abf09ac42ce4..b796e891e2ee 100644 --- a/drivers/input/tablet/gtco.c +++ b/drivers/input/tablet/gtco.c | |||
@@ -56,7 +56,7 @@ Scott Hill shill@gtcocalcomp.com | |||
56 | #include <linux/slab.h> | 56 | #include <linux/slab.h> |
57 | #include <linux/input.h> | 57 | #include <linux/input.h> |
58 | #include <linux/usb.h> | 58 | #include <linux/usb.h> |
59 | #include <asm/uaccess.h> | 59 | #include <linux/uaccess.h> |
60 | #include <asm/unaligned.h> | 60 | #include <asm/unaligned.h> |
61 | #include <asm/byteorder.h> | 61 | #include <asm/byteorder.h> |
62 | #include <linux/bitops.h> | 62 | #include <linux/bitops.h> |
diff --git a/drivers/isdn/capi/kcapi.c b/drivers/isdn/capi/kcapi.c index 823f6985b260..49d0f70c2bae 100644 --- a/drivers/isdn/capi/kcapi.c +++ b/drivers/isdn/capi/kcapi.c | |||
@@ -28,7 +28,7 @@ | |||
28 | #include <linux/moduleparam.h> | 28 | #include <linux/moduleparam.h> |
29 | #include <linux/delay.h> | 29 | #include <linux/delay.h> |
30 | #include <linux/slab.h> | 30 | #include <linux/slab.h> |
31 | #include <asm/uaccess.h> | 31 | #include <linux/uaccess.h> |
32 | #include <linux/isdn/capicmd.h> | 32 | #include <linux/isdn/capicmd.h> |
33 | #include <linux/isdn/capiutil.h> | 33 | #include <linux/isdn/capiutil.h> |
34 | #ifdef AVMB1_COMPAT | 34 | #ifdef AVMB1_COMPAT |
diff --git a/drivers/isdn/hardware/avm/b1.c b/drivers/isdn/hardware/avm/b1.c index 4d9b195547c5..9fdbd99c7547 100644 --- a/drivers/isdn/hardware/avm/b1.c +++ b/drivers/isdn/hardware/avm/b1.c | |||
@@ -24,7 +24,7 @@ | |||
24 | #include <linux/slab.h> | 24 | #include <linux/slab.h> |
25 | #include <asm/io.h> | 25 | #include <asm/io.h> |
26 | #include <linux/init.h> | 26 | #include <linux/init.h> |
27 | #include <asm/uaccess.h> | 27 | #include <linux/uaccess.h> |
28 | #include <linux/netdevice.h> | 28 | #include <linux/netdevice.h> |
29 | #include <linux/isdn/capilli.h> | 29 | #include <linux/isdn/capilli.h> |
30 | #include "avmcard.h" | 30 | #include "avmcard.h" |
diff --git a/drivers/isdn/hardware/avm/b1dma.c b/drivers/isdn/hardware/avm/b1dma.c index 19b113faeb7b..818bd8f231db 100644 --- a/drivers/isdn/hardware/avm/b1dma.c +++ b/drivers/isdn/hardware/avm/b1dma.c | |||
@@ -23,7 +23,7 @@ | |||
23 | #include <linux/gfp.h> | 23 | #include <linux/gfp.h> |
24 | #include <asm/io.h> | 24 | #include <asm/io.h> |
25 | #include <linux/init.h> | 25 | #include <linux/init.h> |
26 | #include <asm/uaccess.h> | 26 | #include <linux/uaccess.h> |
27 | #include <linux/netdevice.h> | 27 | #include <linux/netdevice.h> |
28 | #include <linux/isdn/capilli.h> | 28 | #include <linux/isdn/capilli.h> |
29 | #include "avmcard.h" | 29 | #include "avmcard.h" |
diff --git a/drivers/isdn/hardware/avm/c4.c b/drivers/isdn/hardware/avm/c4.c index 5d00d72fe482..17beb2869dc1 100644 --- a/drivers/isdn/hardware/avm/c4.c +++ b/drivers/isdn/hardware/avm/c4.c | |||
@@ -24,7 +24,7 @@ | |||
24 | #include <linux/init.h> | 24 | #include <linux/init.h> |
25 | #include <linux/gfp.h> | 25 | #include <linux/gfp.h> |
26 | #include <asm/io.h> | 26 | #include <asm/io.h> |
27 | #include <asm/uaccess.h> | 27 | #include <linux/uaccess.h> |
28 | #include <linux/netdevice.h> | 28 | #include <linux/netdevice.h> |
29 | #include <linux/isdn/capicmd.h> | 29 | #include <linux/isdn/capicmd.h> |
30 | #include <linux/isdn/capiutil.h> | 30 | #include <linux/isdn/capiutil.h> |
diff --git a/drivers/isdn/hardware/eicon/capimain.c b/drivers/isdn/hardware/eicon/capimain.c index 997d46abf5b2..be36d82004d6 100644 --- a/drivers/isdn/hardware/eicon/capimain.c +++ b/drivers/isdn/hardware/eicon/capimain.c | |||
@@ -13,7 +13,7 @@ | |||
13 | #include <linux/module.h> | 13 | #include <linux/module.h> |
14 | #include <linux/slab.h> | 14 | #include <linux/slab.h> |
15 | #include <linux/init.h> | 15 | #include <linux/init.h> |
16 | #include <asm/uaccess.h> | 16 | #include <linux/uaccess.h> |
17 | #include <linux/seq_file.h> | 17 | #include <linux/seq_file.h> |
18 | #include <linux/skbuff.h> | 18 | #include <linux/skbuff.h> |
19 | 19 | ||
diff --git a/drivers/isdn/hardware/eicon/divamnt.c b/drivers/isdn/hardware/eicon/divamnt.c index 0de29b7b712f..72e58bf07577 100644 --- a/drivers/isdn/hardware/eicon/divamnt.c +++ b/drivers/isdn/hardware/eicon/divamnt.c | |||
@@ -15,7 +15,7 @@ | |||
15 | #include <linux/kernel.h> | 15 | #include <linux/kernel.h> |
16 | #include <linux/poll.h> | 16 | #include <linux/poll.h> |
17 | #include <linux/mutex.h> | 17 | #include <linux/mutex.h> |
18 | #include <asm/uaccess.h> | 18 | #include <linux/uaccess.h> |
19 | 19 | ||
20 | #include "platform.h" | 20 | #include "platform.h" |
21 | #include "di_defs.h" | 21 | #include "di_defs.h" |
diff --git a/drivers/isdn/hardware/eicon/divasi.c b/drivers/isdn/hardware/eicon/divasi.c index 4103a8c178d7..cb88090f9cea 100644 --- a/drivers/isdn/hardware/eicon/divasi.c +++ b/drivers/isdn/hardware/eicon/divasi.c | |||
@@ -18,7 +18,7 @@ | |||
18 | #include <linux/proc_fs.h> | 18 | #include <linux/proc_fs.h> |
19 | #include <linux/skbuff.h> | 19 | #include <linux/skbuff.h> |
20 | #include <linux/seq_file.h> | 20 | #include <linux/seq_file.h> |
21 | #include <asm/uaccess.h> | 21 | #include <linux/uaccess.h> |
22 | 22 | ||
23 | #include "platform.h" | 23 | #include "platform.h" |
24 | #include "di_defs.h" | 24 | #include "di_defs.h" |
diff --git a/drivers/isdn/hardware/eicon/divasmain.c b/drivers/isdn/hardware/eicon/divasmain.c index 32f34511c416..8b7ad4f1ab01 100644 --- a/drivers/isdn/hardware/eicon/divasmain.c +++ b/drivers/isdn/hardware/eicon/divasmain.c | |||
@@ -12,7 +12,7 @@ | |||
12 | #include <linux/module.h> | 12 | #include <linux/module.h> |
13 | #include <linux/init.h> | 13 | #include <linux/init.h> |
14 | #include <linux/kernel.h> | 14 | #include <linux/kernel.h> |
15 | #include <asm/uaccess.h> | 15 | #include <linux/uaccess.h> |
16 | #include <asm/io.h> | 16 | #include <asm/io.h> |
17 | #include <linux/ioport.h> | 17 | #include <linux/ioport.h> |
18 | #include <linux/pci.h> | 18 | #include <linux/pci.h> |
diff --git a/drivers/isdn/hardware/eicon/divasproc.c b/drivers/isdn/hardware/eicon/divasproc.c index 56ce98a4e248..b57efd6ad916 100644 --- a/drivers/isdn/hardware/eicon/divasproc.c +++ b/drivers/isdn/hardware/eicon/divasproc.c | |||
@@ -16,7 +16,7 @@ | |||
16 | #include <linux/proc_fs.h> | 16 | #include <linux/proc_fs.h> |
17 | #include <linux/seq_file.h> | 17 | #include <linux/seq_file.h> |
18 | #include <linux/list.h> | 18 | #include <linux/list.h> |
19 | #include <asm/uaccess.h> | 19 | #include <linux/uaccess.h> |
20 | 20 | ||
21 | #include "platform.h" | 21 | #include "platform.h" |
22 | #include "debuglib.h" | 22 | #include "debuglib.h" |
diff --git a/drivers/isdn/hysdn/hysdn_boot.c b/drivers/isdn/hysdn/hysdn_boot.c index eda4741e3f2f..4a0425378f37 100644 --- a/drivers/isdn/hysdn/hysdn_boot.c +++ b/drivers/isdn/hysdn/hysdn_boot.c | |||
@@ -13,7 +13,7 @@ | |||
13 | 13 | ||
14 | #include <linux/vmalloc.h> | 14 | #include <linux/vmalloc.h> |
15 | #include <linux/slab.h> | 15 | #include <linux/slab.h> |
16 | #include <asm/uaccess.h> | 16 | #include <linux/uaccess.h> |
17 | 17 | ||
18 | #include "hysdn_defs.h" | 18 | #include "hysdn_defs.h" |
19 | #include "hysdn_pof.h" | 19 | #include "hysdn_pof.h" |
diff --git a/drivers/lguest/core.c b/drivers/lguest/core.c index 9e385b38debf..ac219045daf7 100644 --- a/drivers/lguest/core.c +++ b/drivers/lguest/core.c | |||
@@ -15,7 +15,7 @@ | |||
15 | #include <linux/slab.h> | 15 | #include <linux/slab.h> |
16 | #include <asm/paravirt.h> | 16 | #include <asm/paravirt.h> |
17 | #include <asm/pgtable.h> | 17 | #include <asm/pgtable.h> |
18 | #include <asm/uaccess.h> | 18 | #include <linux/uaccess.h> |
19 | #include <asm/poll.h> | 19 | #include <asm/poll.h> |
20 | #include <asm/asm-offsets.h> | 20 | #include <asm/asm-offsets.h> |
21 | #include "lg.h" | 21 | #include "lg.h" |
diff --git a/drivers/lguest/page_tables.c b/drivers/lguest/page_tables.c index e3abebc912c0..0bc127e9f16a 100644 --- a/drivers/lguest/page_tables.c +++ b/drivers/lguest/page_tables.c | |||
@@ -16,7 +16,7 @@ | |||
16 | #include <linux/random.h> | 16 | #include <linux/random.h> |
17 | #include <linux/percpu.h> | 17 | #include <linux/percpu.h> |
18 | #include <asm/tlbflush.h> | 18 | #include <asm/tlbflush.h> |
19 | #include <asm/uaccess.h> | 19 | #include <linux/uaccess.h> |
20 | #include "lg.h" | 20 | #include "lg.h" |
21 | 21 | ||
22 | /*M:008 | 22 | /*M:008 |
diff --git a/drivers/lguest/x86/core.c b/drivers/lguest/x86/core.c index 743253fc638f..d71f6323ac00 100644 --- a/drivers/lguest/x86/core.c +++ b/drivers/lguest/x86/core.c | |||
@@ -45,7 +45,7 @@ | |||
45 | #include <asm/desc.h> | 45 | #include <asm/desc.h> |
46 | #include <asm/setup.h> | 46 | #include <asm/setup.h> |
47 | #include <asm/lguest.h> | 47 | #include <asm/lguest.h> |
48 | #include <asm/uaccess.h> | 48 | #include <linux/uaccess.h> |
49 | #include <asm/fpu/internal.h> | 49 | #include <asm/fpu/internal.h> |
50 | #include <asm/tlbflush.h> | 50 | #include <asm/tlbflush.h> |
51 | #include "../lg.h" | 51 | #include "../lg.h" |
diff --git a/drivers/macintosh/ans-lcd.c b/drivers/macintosh/ans-lcd.c index cd35079c8c98..281fa9e6fc1f 100644 --- a/drivers/macintosh/ans-lcd.c +++ b/drivers/macintosh/ans-lcd.c | |||
@@ -11,7 +11,7 @@ | |||
11 | #include <linux/delay.h> | 11 | #include <linux/delay.h> |
12 | #include <linux/fs.h> | 12 | #include <linux/fs.h> |
13 | 13 | ||
14 | #include <asm/uaccess.h> | 14 | #include <linux/uaccess.h> |
15 | #include <asm/sections.h> | 15 | #include <asm/sections.h> |
16 | #include <asm/prom.h> | 16 | #include <asm/prom.h> |
17 | #include <asm/io.h> | 17 | #include <asm/io.h> |
diff --git a/drivers/macintosh/smu.c b/drivers/macintosh/smu.c index 08edb2c25b60..227869159ac0 100644 --- a/drivers/macintosh/smu.c +++ b/drivers/macintosh/smu.c | |||
@@ -47,7 +47,7 @@ | |||
47 | #include <asm/pmac_feature.h> | 47 | #include <asm/pmac_feature.h> |
48 | #include <asm/smu.h> | 48 | #include <asm/smu.h> |
49 | #include <asm/sections.h> | 49 | #include <asm/sections.h> |
50 | #include <asm/uaccess.h> | 50 | #include <linux/uaccess.h> |
51 | 51 | ||
52 | #define VERSION "0.7" | 52 | #define VERSION "0.7" |
53 | #define AUTHOR "(c) 2005 Benjamin Herrenschmidt, IBM Corp." | 53 | #define AUTHOR "(c) 2005 Benjamin Herrenschmidt, IBM Corp." |
diff --git a/drivers/macintosh/via-pmu.c b/drivers/macintosh/via-pmu.c index 91081dcdc272..43b8db2b5445 100644 --- a/drivers/macintosh/via-pmu.c +++ b/drivers/macintosh/via-pmu.c | |||
@@ -57,7 +57,7 @@ | |||
57 | #include <asm/pmac_feature.h> | 57 | #include <asm/pmac_feature.h> |
58 | #include <asm/pmac_pfunc.h> | 58 | #include <asm/pmac_pfunc.h> |
59 | #include <asm/pmac_low_i2c.h> | 59 | #include <asm/pmac_low_i2c.h> |
60 | #include <asm/uaccess.h> | 60 | #include <linux/uaccess.h> |
61 | #include <asm/mmu_context.h> | 61 | #include <asm/mmu_context.h> |
62 | #include <asm/cputable.h> | 62 | #include <asm/cputable.h> |
63 | #include <asm/time.h> | 63 | #include <asm/time.h> |
diff --git a/drivers/macintosh/via-pmu68k.c b/drivers/macintosh/via-pmu68k.c index a00ee41f0573..a411c5cb77a1 100644 --- a/drivers/macintosh/via-pmu68k.c +++ b/drivers/macintosh/via-pmu68k.c | |||
@@ -38,7 +38,7 @@ | |||
38 | 38 | ||
39 | #include <asm/pgtable.h> | 39 | #include <asm/pgtable.h> |
40 | #include <asm/irq.h> | 40 | #include <asm/irq.h> |
41 | #include <asm/uaccess.h> | 41 | #include <linux/uaccess.h> |
42 | 42 | ||
43 | /* Misc minor number allocated for /dev/pmu */ | 43 | /* Misc minor number allocated for /dev/pmu */ |
44 | #define PMU_MINOR 154 | 44 | #define PMU_MINOR 154 |
diff --git a/drivers/md/dm-ioctl.c b/drivers/md/dm-ioctl.c index c72a77048b73..a5a9b17f0f7f 100644 --- a/drivers/md/dm-ioctl.c +++ b/drivers/md/dm-ioctl.c | |||
@@ -17,7 +17,7 @@ | |||
17 | #include <linux/hdreg.h> | 17 | #include <linux/hdreg.h> |
18 | #include <linux/compat.h> | 18 | #include <linux/compat.h> |
19 | 19 | ||
20 | #include <asm/uaccess.h> | 20 | #include <linux/uaccess.h> |
21 | 21 | ||
22 | #define DM_MSG_PREFIX "ioctl" | 22 | #define DM_MSG_PREFIX "ioctl" |
23 | #define DM_DRIVER_EMAIL "dm-devel@redhat.com" | 23 | #define DM_DRIVER_EMAIL "dm-devel@redhat.com" |
diff --git a/drivers/media/dvb-core/dmxdev.c b/drivers/media/dvb-core/dmxdev.c index efe55a3e80d0..0c44479b556e 100644 --- a/drivers/media/dvb-core/dmxdev.c +++ b/drivers/media/dvb-core/dmxdev.c | |||
@@ -30,7 +30,7 @@ | |||
30 | #include <linux/poll.h> | 30 | #include <linux/poll.h> |
31 | #include <linux/ioctl.h> | 31 | #include <linux/ioctl.h> |
32 | #include <linux/wait.h> | 32 | #include <linux/wait.h> |
33 | #include <asm/uaccess.h> | 33 | #include <linux/uaccess.h> |
34 | #include "dmxdev.h" | 34 | #include "dmxdev.h" |
35 | 35 | ||
36 | static int debug; | 36 | static int debug; |
diff --git a/drivers/media/dvb-core/dvb_demux.c b/drivers/media/dvb-core/dvb_demux.c index 3ad0b2cd26b1..bbbff72bbb2a 100644 --- a/drivers/media/dvb-core/dvb_demux.c +++ b/drivers/media/dvb-core/dvb_demux.c | |||
@@ -31,7 +31,7 @@ | |||
31 | #include <linux/poll.h> | 31 | #include <linux/poll.h> |
32 | #include <linux/string.h> | 32 | #include <linux/string.h> |
33 | #include <linux/crc32.h> | 33 | #include <linux/crc32.h> |
34 | #include <asm/uaccess.h> | 34 | #include <linux/uaccess.h> |
35 | #include <asm/div64.h> | 35 | #include <asm/div64.h> |
36 | 36 | ||
37 | #include "dvb_demux.h" | 37 | #include "dvb_demux.h" |
diff --git a/drivers/media/dvb-core/dvb_net.c b/drivers/media/dvb-core/dvb_net.c index dfc03a95df71..bc5e8cfe7ca2 100644 --- a/drivers/media/dvb-core/dvb_net.c +++ b/drivers/media/dvb-core/dvb_net.c | |||
@@ -62,7 +62,7 @@ | |||
62 | #include <linux/etherdevice.h> | 62 | #include <linux/etherdevice.h> |
63 | #include <linux/dvb/net.h> | 63 | #include <linux/dvb/net.h> |
64 | #include <linux/uio.h> | 64 | #include <linux/uio.h> |
65 | #include <asm/uaccess.h> | 65 | #include <linux/uaccess.h> |
66 | #include <linux/crc32.h> | 66 | #include <linux/crc32.h> |
67 | #include <linux/mutex.h> | 67 | #include <linux/mutex.h> |
68 | #include <linux/sched.h> | 68 | #include <linux/sched.h> |
diff --git a/drivers/media/dvb-core/dvb_ringbuffer.c b/drivers/media/dvb-core/dvb_ringbuffer.c index 7df7fb3738a0..5c4b5a1f604f 100644 --- a/drivers/media/dvb-core/dvb_ringbuffer.c +++ b/drivers/media/dvb-core/dvb_ringbuffer.c | |||
@@ -31,7 +31,7 @@ | |||
31 | #include <linux/module.h> | 31 | #include <linux/module.h> |
32 | #include <linux/sched.h> | 32 | #include <linux/sched.h> |
33 | #include <linux/string.h> | 33 | #include <linux/string.h> |
34 | #include <asm/uaccess.h> | 34 | #include <linux/uaccess.h> |
35 | 35 | ||
36 | #include "dvb_ringbuffer.h" | 36 | #include "dvb_ringbuffer.h" |
37 | 37 | ||
diff --git a/drivers/media/i2c/adv7170.c b/drivers/media/i2c/adv7170.c index 05f1dc6c72af..fc9ec0f3679c 100644 --- a/drivers/media/i2c/adv7170.c +++ b/drivers/media/i2c/adv7170.c | |||
@@ -32,7 +32,7 @@ | |||
32 | #include <linux/types.h> | 32 | #include <linux/types.h> |
33 | #include <linux/slab.h> | 33 | #include <linux/slab.h> |
34 | #include <linux/ioctl.h> | 34 | #include <linux/ioctl.h> |
35 | #include <asm/uaccess.h> | 35 | #include <linux/uaccess.h> |
36 | #include <linux/i2c.h> | 36 | #include <linux/i2c.h> |
37 | #include <linux/videodev2.h> | 37 | #include <linux/videodev2.h> |
38 | #include <media/v4l2-device.h> | 38 | #include <media/v4l2-device.h> |
diff --git a/drivers/media/i2c/adv7175.c b/drivers/media/i2c/adv7175.c index f554809a51e7..72139bdae1ca 100644 --- a/drivers/media/i2c/adv7175.c +++ b/drivers/media/i2c/adv7175.c | |||
@@ -28,7 +28,7 @@ | |||
28 | #include <linux/types.h> | 28 | #include <linux/types.h> |
29 | #include <linux/slab.h> | 29 | #include <linux/slab.h> |
30 | #include <linux/ioctl.h> | 30 | #include <linux/ioctl.h> |
31 | #include <asm/uaccess.h> | 31 | #include <linux/uaccess.h> |
32 | #include <linux/i2c.h> | 32 | #include <linux/i2c.h> |
33 | #include <linux/videodev2.h> | 33 | #include <linux/videodev2.h> |
34 | #include <media/v4l2-device.h> | 34 | #include <media/v4l2-device.h> |
diff --git a/drivers/media/i2c/bt856.c b/drivers/media/i2c/bt856.c index 48176591a80d..54c627859c8e 100644 --- a/drivers/media/i2c/bt856.c +++ b/drivers/media/i2c/bt856.c | |||
@@ -32,7 +32,7 @@ | |||
32 | #include <linux/types.h> | 32 | #include <linux/types.h> |
33 | #include <linux/slab.h> | 33 | #include <linux/slab.h> |
34 | #include <linux/ioctl.h> | 34 | #include <linux/ioctl.h> |
35 | #include <asm/uaccess.h> | 35 | #include <linux/uaccess.h> |
36 | #include <linux/i2c.h> | 36 | #include <linux/i2c.h> |
37 | #include <linux/videodev2.h> | 37 | #include <linux/videodev2.h> |
38 | #include <media/v4l2-device.h> | 38 | #include <media/v4l2-device.h> |
diff --git a/drivers/media/i2c/bt866.c b/drivers/media/i2c/bt866.c index bbec70c882a3..0d3f46af2545 100644 --- a/drivers/media/i2c/bt866.c +++ b/drivers/media/i2c/bt866.c | |||
@@ -32,7 +32,7 @@ | |||
32 | #include <linux/types.h> | 32 | #include <linux/types.h> |
33 | #include <linux/slab.h> | 33 | #include <linux/slab.h> |
34 | #include <linux/ioctl.h> | 34 | #include <linux/ioctl.h> |
35 | #include <asm/uaccess.h> | 35 | #include <linux/uaccess.h> |
36 | #include <linux/i2c.h> | 36 | #include <linux/i2c.h> |
37 | #include <linux/videodev2.h> | 37 | #include <linux/videodev2.h> |
38 | #include <media/v4l2-device.h> | 38 | #include <media/v4l2-device.h> |
diff --git a/drivers/media/i2c/cs53l32a.c b/drivers/media/i2c/cs53l32a.c index e4b3cf49dd38..59c1a98c5a90 100644 --- a/drivers/media/i2c/cs53l32a.c +++ b/drivers/media/i2c/cs53l32a.c | |||
@@ -24,7 +24,7 @@ | |||
24 | #include <linux/types.h> | 24 | #include <linux/types.h> |
25 | #include <linux/slab.h> | 25 | #include <linux/slab.h> |
26 | #include <linux/ioctl.h> | 26 | #include <linux/ioctl.h> |
27 | #include <asm/uaccess.h> | 27 | #include <linux/uaccess.h> |
28 | #include <linux/i2c.h> | 28 | #include <linux/i2c.h> |
29 | #include <linux/videodev2.h> | 29 | #include <linux/videodev2.h> |
30 | #include <media/v4l2-device.h> | 30 | #include <media/v4l2-device.h> |
diff --git a/drivers/media/i2c/m52790.c b/drivers/media/i2c/m52790.c index 81171d8e1c2c..89c28c36c5bf 100644 --- a/drivers/media/i2c/m52790.c +++ b/drivers/media/i2c/m52790.c | |||
@@ -24,7 +24,7 @@ | |||
24 | #include <linux/types.h> | 24 | #include <linux/types.h> |
25 | #include <linux/slab.h> | 25 | #include <linux/slab.h> |
26 | #include <linux/ioctl.h> | 26 | #include <linux/ioctl.h> |
27 | #include <asm/uaccess.h> | 27 | #include <linux/uaccess.h> |
28 | #include <linux/i2c.h> | 28 | #include <linux/i2c.h> |
29 | #include <linux/videodev2.h> | 29 | #include <linux/videodev2.h> |
30 | #include <media/i2c/m52790.h> | 30 | #include <media/i2c/m52790.h> |
diff --git a/drivers/media/i2c/saa6588.c b/drivers/media/i2c/saa6588.c index 89e458c23983..00640233a5e3 100644 --- a/drivers/media/i2c/saa6588.c +++ b/drivers/media/i2c/saa6588.c | |||
@@ -29,7 +29,7 @@ | |||
29 | #include <linux/slab.h> | 29 | #include <linux/slab.h> |
30 | #include <linux/poll.h> | 30 | #include <linux/poll.h> |
31 | #include <linux/wait.h> | 31 | #include <linux/wait.h> |
32 | #include <asm/uaccess.h> | 32 | #include <linux/uaccess.h> |
33 | 33 | ||
34 | #include <media/i2c/saa6588.h> | 34 | #include <media/i2c/saa6588.h> |
35 | #include <media/v4l2-device.h> | 35 | #include <media/v4l2-device.h> |
diff --git a/drivers/media/i2c/saa7110.c b/drivers/media/i2c/saa7110.c index 6f49886806ee..ad456ce051f9 100644 --- a/drivers/media/i2c/saa7110.c +++ b/drivers/media/i2c/saa7110.c | |||
@@ -31,7 +31,7 @@ | |||
31 | #include <linux/delay.h> | 31 | #include <linux/delay.h> |
32 | #include <linux/slab.h> | 32 | #include <linux/slab.h> |
33 | #include <linux/wait.h> | 33 | #include <linux/wait.h> |
34 | #include <asm/uaccess.h> | 34 | #include <linux/uaccess.h> |
35 | #include <linux/i2c.h> | 35 | #include <linux/i2c.h> |
36 | #include <linux/videodev2.h> | 36 | #include <linux/videodev2.h> |
37 | #include <media/v4l2-device.h> | 37 | #include <media/v4l2-device.h> |
diff --git a/drivers/media/i2c/saa7185.c b/drivers/media/i2c/saa7185.c index eecad2d1edce..119050e1197a 100644 --- a/drivers/media/i2c/saa7185.c +++ b/drivers/media/i2c/saa7185.c | |||
@@ -28,7 +28,7 @@ | |||
28 | #include <linux/types.h> | 28 | #include <linux/types.h> |
29 | #include <linux/slab.h> | 29 | #include <linux/slab.h> |
30 | #include <linux/ioctl.h> | 30 | #include <linux/ioctl.h> |
31 | #include <asm/uaccess.h> | 31 | #include <linux/uaccess.h> |
32 | #include <linux/i2c.h> | 32 | #include <linux/i2c.h> |
33 | #include <linux/videodev2.h> | 33 | #include <linux/videodev2.h> |
34 | #include <media/v4l2-device.h> | 34 | #include <media/v4l2-device.h> |
diff --git a/drivers/media/i2c/tlv320aic23b.c b/drivers/media/i2c/tlv320aic23b.c index 2e06c06cac9b..cc6104da34ef 100644 --- a/drivers/media/i2c/tlv320aic23b.c +++ b/drivers/media/i2c/tlv320aic23b.c | |||
@@ -27,7 +27,7 @@ | |||
27 | #include <linux/types.h> | 27 | #include <linux/types.h> |
28 | #include <linux/slab.h> | 28 | #include <linux/slab.h> |
29 | #include <linux/ioctl.h> | 29 | #include <linux/ioctl.h> |
30 | #include <asm/uaccess.h> | 30 | #include <linux/uaccess.h> |
31 | #include <linux/i2c.h> | 31 | #include <linux/i2c.h> |
32 | #include <linux/videodev2.h> | 32 | #include <linux/videodev2.h> |
33 | #include <media/v4l2-device.h> | 33 | #include <media/v4l2-device.h> |
diff --git a/drivers/media/i2c/vp27smpx.c b/drivers/media/i2c/vp27smpx.c index d6c23bdbcd4a..ef0d8b8e3df7 100644 --- a/drivers/media/i2c/vp27smpx.c +++ b/drivers/media/i2c/vp27smpx.c | |||
@@ -25,7 +25,7 @@ | |||
25 | #include <linux/types.h> | 25 | #include <linux/types.h> |
26 | #include <linux/slab.h> | 26 | #include <linux/slab.h> |
27 | #include <linux/ioctl.h> | 27 | #include <linux/ioctl.h> |
28 | #include <asm/uaccess.h> | 28 | #include <linux/uaccess.h> |
29 | #include <linux/i2c.h> | 29 | #include <linux/i2c.h> |
30 | #include <linux/videodev2.h> | 30 | #include <linux/videodev2.h> |
31 | #include <media/v4l2-device.h> | 31 | #include <media/v4l2-device.h> |
diff --git a/drivers/media/i2c/vpx3220.c b/drivers/media/i2c/vpx3220.c index 90b693f4e2ab..ce9f09370e22 100644 --- a/drivers/media/i2c/vpx3220.c +++ b/drivers/media/i2c/vpx3220.c | |||
@@ -23,7 +23,7 @@ | |||
23 | #include <linux/delay.h> | 23 | #include <linux/delay.h> |
24 | #include <linux/types.h> | 24 | #include <linux/types.h> |
25 | #include <linux/slab.h> | 25 | #include <linux/slab.h> |
26 | #include <asm/uaccess.h> | 26 | #include <linux/uaccess.h> |
27 | #include <linux/i2c.h> | 27 | #include <linux/i2c.h> |
28 | #include <linux/videodev2.h> | 28 | #include <linux/videodev2.h> |
29 | #include <media/v4l2-device.h> | 29 | #include <media/v4l2-device.h> |
diff --git a/drivers/media/i2c/wm8739.c b/drivers/media/i2c/wm8739.c index f086e5e6e844..c885def54b15 100644 --- a/drivers/media/i2c/wm8739.c +++ b/drivers/media/i2c/wm8739.c | |||
@@ -25,7 +25,7 @@ | |||
25 | #include <linux/types.h> | 25 | #include <linux/types.h> |
26 | #include <linux/slab.h> | 26 | #include <linux/slab.h> |
27 | #include <linux/ioctl.h> | 27 | #include <linux/ioctl.h> |
28 | #include <asm/uaccess.h> | 28 | #include <linux/uaccess.h> |
29 | #include <linux/i2c.h> | 29 | #include <linux/i2c.h> |
30 | #include <linux/videodev2.h> | 30 | #include <linux/videodev2.h> |
31 | #include <media/v4l2-device.h> | 31 | #include <media/v4l2-device.h> |
diff --git a/drivers/media/i2c/wm8775.c b/drivers/media/i2c/wm8775.c index 5581f4db02af..45039d756753 100644 --- a/drivers/media/i2c/wm8775.c +++ b/drivers/media/i2c/wm8775.c | |||
@@ -29,7 +29,7 @@ | |||
29 | #include <linux/types.h> | 29 | #include <linux/types.h> |
30 | #include <linux/slab.h> | 30 | #include <linux/slab.h> |
31 | #include <linux/ioctl.h> | 31 | #include <linux/ioctl.h> |
32 | #include <asm/uaccess.h> | 32 | #include <linux/uaccess.h> |
33 | #include <linux/i2c.h> | 33 | #include <linux/i2c.h> |
34 | #include <linux/videodev2.h> | 34 | #include <linux/videodev2.h> |
35 | #include <media/v4l2-device.h> | 35 | #include <media/v4l2-device.h> |
diff --git a/drivers/media/pci/ivtv/ivtv-driver.h b/drivers/media/pci/ivtv/ivtv-driver.h index 10cba305dbd2..6b09a9514d64 100644 --- a/drivers/media/pci/ivtv/ivtv-driver.h +++ b/drivers/media/pci/ivtv/ivtv-driver.h | |||
@@ -53,7 +53,7 @@ | |||
53 | #include <linux/kthread.h> | 53 | #include <linux/kthread.h> |
54 | #include <linux/mutex.h> | 54 | #include <linux/mutex.h> |
55 | #include <linux/slab.h> | 55 | #include <linux/slab.h> |
56 | #include <asm/uaccess.h> | 56 | #include <linux/uaccess.h> |
57 | #include <asm/byteorder.h> | 57 | #include <asm/byteorder.h> |
58 | 58 | ||
59 | #include <linux/dvb/video.h> | 59 | #include <linux/dvb/video.h> |
diff --git a/drivers/media/pci/meye/meye.c b/drivers/media/pci/meye/meye.c index e825bc93ea7a..24fba633c217 100644 --- a/drivers/media/pci/meye/meye.c +++ b/drivers/media/pci/meye/meye.c | |||
@@ -37,7 +37,7 @@ | |||
37 | #include <media/v4l2-ioctl.h> | 37 | #include <media/v4l2-ioctl.h> |
38 | #include <media/v4l2-fh.h> | 38 | #include <media/v4l2-fh.h> |
39 | #include <media/v4l2-event.h> | 39 | #include <media/v4l2-event.h> |
40 | #include <asm/uaccess.h> | 40 | #include <linux/uaccess.h> |
41 | #include <asm/io.h> | 41 | #include <asm/io.h> |
42 | #include <linux/delay.h> | 42 | #include <linux/delay.h> |
43 | #include <linux/interrupt.h> | 43 | #include <linux/interrupt.h> |
diff --git a/drivers/media/pci/zoran/videocodec.c b/drivers/media/pci/zoran/videocodec.c index 13a3c07cd259..3c3cbce0f9cc 100644 --- a/drivers/media/pci/zoran/videocodec.c +++ b/drivers/media/pci/zoran/videocodec.c | |||
@@ -40,7 +40,7 @@ | |||
40 | #ifdef CONFIG_PROC_FS | 40 | #ifdef CONFIG_PROC_FS |
41 | #include <linux/proc_fs.h> | 41 | #include <linux/proc_fs.h> |
42 | #include <linux/seq_file.h> | 42 | #include <linux/seq_file.h> |
43 | #include <asm/uaccess.h> | 43 | #include <linux/uaccess.h> |
44 | #endif | 44 | #endif |
45 | 45 | ||
46 | #include "videocodec.h" | 46 | #include "videocodec.h" |
diff --git a/drivers/media/pci/zoran/zoran_driver.c b/drivers/media/pci/zoran/zoran_driver.c index 2170e174c335..94b9b616df98 100644 --- a/drivers/media/pci/zoran/zoran_driver.c +++ b/drivers/media/pci/zoran/zoran_driver.c | |||
@@ -66,7 +66,7 @@ | |||
66 | 66 | ||
67 | #include <asm/byteorder.h> | 67 | #include <asm/byteorder.h> |
68 | #include <asm/io.h> | 68 | #include <asm/io.h> |
69 | #include <asm/uaccess.h> | 69 | #include <linux/uaccess.h> |
70 | #include <linux/proc_fs.h> | 70 | #include <linux/proc_fs.h> |
71 | 71 | ||
72 | #include <linux/mutex.h> | 72 | #include <linux/mutex.h> |
diff --git a/drivers/media/platform/arv.c b/drivers/media/platform/arv.c index 03c5098499c4..8fe59bf6cd3f 100644 --- a/drivers/media/platform/arv.c +++ b/drivers/media/platform/arv.c | |||
@@ -34,7 +34,7 @@ | |||
34 | #include <media/v4l2-fh.h> | 34 | #include <media/v4l2-fh.h> |
35 | #include <linux/mutex.h> | 35 | #include <linux/mutex.h> |
36 | 36 | ||
37 | #include <asm/uaccess.h> | 37 | #include <linux/uaccess.h> |
38 | #include <asm/m32r.h> | 38 | #include <asm/m32r.h> |
39 | #include <asm/io.h> | 39 | #include <asm/io.h> |
40 | #include <asm/dma.h> | 40 | #include <asm/dma.h> |
diff --git a/drivers/media/usb/pvrusb2/pvrusb2-ioread.c b/drivers/media/usb/pvrusb2/pvrusb2-ioread.c index 70b8a052eb5b..3c7ca2c2c108 100644 --- a/drivers/media/usb/pvrusb2/pvrusb2-ioread.c +++ b/drivers/media/usb/pvrusb2/pvrusb2-ioread.c | |||
@@ -25,7 +25,7 @@ | |||
25 | #include <linux/mm.h> | 25 | #include <linux/mm.h> |
26 | #include <linux/slab.h> | 26 | #include <linux/slab.h> |
27 | #include <linux/mutex.h> | 27 | #include <linux/mutex.h> |
28 | #include <asm/uaccess.h> | 28 | #include <linux/uaccess.h> |
29 | 29 | ||
30 | #define BUFFER_COUNT 32 | 30 | #define BUFFER_COUNT 32 |
31 | #define BUFFER_SIZE PAGE_ALIGN(0x4000) | 31 | #define BUFFER_SIZE PAGE_ALIGN(0x4000) |
diff --git a/drivers/media/usb/pwc/pwc-ctrl.c b/drivers/media/usb/pwc/pwc-ctrl.c index 3a1618580ed6..655cef39eb3d 100644 --- a/drivers/media/usb/pwc/pwc-ctrl.c +++ b/drivers/media/usb/pwc/pwc-ctrl.c | |||
@@ -39,7 +39,7 @@ | |||
39 | /* Control functions for the cam; brightness, contrast, video mode, etc. */ | 39 | /* Control functions for the cam; brightness, contrast, video mode, etc. */ |
40 | 40 | ||
41 | #ifdef __KERNEL__ | 41 | #ifdef __KERNEL__ |
42 | #include <asm/uaccess.h> | 42 | #include <linux/uaccess.h> |
43 | #endif | 43 | #endif |
44 | #include <asm/errno.h> | 44 | #include <asm/errno.h> |
45 | 45 | ||
diff --git a/drivers/media/v4l2-core/v4l2-common.c b/drivers/media/v4l2-core/v4l2-common.c index 57cfe26a393f..a5ea1f517291 100644 --- a/drivers/media/v4l2-core/v4l2-common.c +++ b/drivers/media/v4l2-core/v4l2-common.c | |||
@@ -54,7 +54,7 @@ | |||
54 | #if defined(CONFIG_SPI) | 54 | #if defined(CONFIG_SPI) |
55 | #include <linux/spi/spi.h> | 55 | #include <linux/spi/spi.h> |
56 | #endif | 56 | #endif |
57 | #include <asm/uaccess.h> | 57 | #include <linux/uaccess.h> |
58 | #include <asm/pgtable.h> | 58 | #include <asm/pgtable.h> |
59 | #include <asm/io.h> | 59 | #include <asm/io.h> |
60 | #include <asm/div64.h> | 60 | #include <asm/div64.h> |
diff --git a/drivers/media/v4l2-core/v4l2-dev.c b/drivers/media/v4l2-core/v4l2-dev.c index 8be561ab2615..fa2124cb31bd 100644 --- a/drivers/media/v4l2-core/v4l2-dev.c +++ b/drivers/media/v4l2-core/v4l2-dev.c | |||
@@ -25,7 +25,7 @@ | |||
25 | #include <linux/init.h> | 25 | #include <linux/init.h> |
26 | #include <linux/kmod.h> | 26 | #include <linux/kmod.h> |
27 | #include <linux/slab.h> | 27 | #include <linux/slab.h> |
28 | #include <asm/uaccess.h> | 28 | #include <linux/uaccess.h> |
29 | 29 | ||
30 | #include <media/v4l2-common.h> | 30 | #include <media/v4l2-common.h> |
31 | #include <media/v4l2-device.h> | 31 | #include <media/v4l2-device.h> |
diff --git a/drivers/message/fusion/mptctl.c b/drivers/message/fusion/mptctl.c index 02b5f69e1a42..7b3b41368931 100644 --- a/drivers/message/fusion/mptctl.c +++ b/drivers/message/fusion/mptctl.c | |||
@@ -58,7 +58,7 @@ | |||
58 | #include <linux/compat.h> | 58 | #include <linux/compat.h> |
59 | 59 | ||
60 | #include <asm/io.h> | 60 | #include <asm/io.h> |
61 | #include <asm/uaccess.h> | 61 | #include <linux/uaccess.h> |
62 | 62 | ||
63 | #include <scsi/scsi.h> | 63 | #include <scsi/scsi.h> |
64 | #include <scsi/scsi_cmnd.h> | 64 | #include <scsi/scsi_cmnd.h> |
diff --git a/drivers/message/fusion/mptlan.h b/drivers/message/fusion/mptlan.h index 69e9d5463564..8946e19dbfc8 100644 --- a/drivers/message/fusion/mptlan.h +++ b/drivers/message/fusion/mptlan.h | |||
@@ -70,7 +70,7 @@ | |||
70 | #include <linux/workqueue.h> | 70 | #include <linux/workqueue.h> |
71 | #include <linux/delay.h> | 71 | #include <linux/delay.h> |
72 | 72 | ||
73 | #include <asm/uaccess.h> | 73 | #include <linux/uaccess.h> |
74 | #include <asm/io.h> | 74 | #include <asm/io.h> |
75 | 75 | ||
76 | /* Override mptbase.h by pre-defining these! */ | 76 | /* Override mptbase.h by pre-defining these! */ |
diff --git a/drivers/misc/ibmasm/ibmasmfs.c b/drivers/misc/ibmasm/ibmasmfs.c index 520f58439080..e05c3245930a 100644 --- a/drivers/misc/ibmasm/ibmasmfs.c +++ b/drivers/misc/ibmasm/ibmasmfs.c | |||
@@ -76,7 +76,7 @@ | |||
76 | #include <linux/fs.h> | 76 | #include <linux/fs.h> |
77 | #include <linux/pagemap.h> | 77 | #include <linux/pagemap.h> |
78 | #include <linux/slab.h> | 78 | #include <linux/slab.h> |
79 | #include <asm/uaccess.h> | 79 | #include <linux/uaccess.h> |
80 | #include <asm/io.h> | 80 | #include <asm/io.h> |
81 | #include "ibmasm.h" | 81 | #include "ibmasm.h" |
82 | #include "remote.h" | 82 | #include "remote.h" |
diff --git a/drivers/mmc/core/block.c b/drivers/mmc/core/block.c index bab3f07b1117..cb1698f268f1 100644 --- a/drivers/mmc/core/block.c +++ b/drivers/mmc/core/block.c | |||
@@ -43,7 +43,7 @@ | |||
43 | #include <linux/mmc/mmc.h> | 43 | #include <linux/mmc/mmc.h> |
44 | #include <linux/mmc/sd.h> | 44 | #include <linux/mmc/sd.h> |
45 | 45 | ||
46 | #include <asm/uaccess.h> | 46 | #include <linux/uaccess.h> |
47 | 47 | ||
48 | #include "queue.h" | 48 | #include "queue.h" |
49 | #include "block.h" | 49 | #include "block.h" |
diff --git a/drivers/mmc/host/android-goldfish.c b/drivers/mmc/host/android-goldfish.c index dca5518b0139..590a8a4522be 100644 --- a/drivers/mmc/host/android-goldfish.c +++ b/drivers/mmc/host/android-goldfish.c | |||
@@ -49,7 +49,7 @@ | |||
49 | 49 | ||
50 | #include <asm/types.h> | 50 | #include <asm/types.h> |
51 | #include <asm/io.h> | 51 | #include <asm/io.h> |
52 | #include <asm/uaccess.h> | 52 | #include <linux/uaccess.h> |
53 | 53 | ||
54 | #define DRIVER_NAME "goldfish_mmc" | 54 | #define DRIVER_NAME "goldfish_mmc" |
55 | 55 | ||
diff --git a/drivers/mtd/devices/pmc551.c b/drivers/mtd/devices/pmc551.c index 220f9200fa52..cadea0620cd0 100644 --- a/drivers/mtd/devices/pmc551.c +++ b/drivers/mtd/devices/pmc551.c | |||
@@ -82,7 +82,7 @@ | |||
82 | 82 | ||
83 | #include <linux/kernel.h> | 83 | #include <linux/kernel.h> |
84 | #include <linux/module.h> | 84 | #include <linux/module.h> |
85 | #include <asm/uaccess.h> | 85 | #include <linux/uaccess.h> |
86 | #include <linux/types.h> | 86 | #include <linux/types.h> |
87 | #include <linux/init.h> | 87 | #include <linux/init.h> |
88 | #include <linux/ptrace.h> | 88 | #include <linux/ptrace.h> |
diff --git a/drivers/mtd/devices/slram.c b/drivers/mtd/devices/slram.c index a70eb83e68f1..8087c36dc693 100644 --- a/drivers/mtd/devices/slram.c +++ b/drivers/mtd/devices/slram.c | |||
@@ -30,7 +30,7 @@ | |||
30 | 30 | ||
31 | 31 | ||
32 | #include <linux/module.h> | 32 | #include <linux/module.h> |
33 | #include <asm/uaccess.h> | 33 | #include <linux/uaccess.h> |
34 | #include <linux/types.h> | 34 | #include <linux/types.h> |
35 | #include <linux/kernel.h> | 35 | #include <linux/kernel.h> |
36 | #include <linux/ptrace.h> | 36 | #include <linux/ptrace.h> |
diff --git a/drivers/mtd/ftl.c b/drivers/mtd/ftl.c index 9fb3b0dcdac2..664d206a4cbe 100644 --- a/drivers/mtd/ftl.c +++ b/drivers/mtd/ftl.c | |||
@@ -70,7 +70,7 @@ | |||
70 | #include <linux/hdreg.h> | 70 | #include <linux/hdreg.h> |
71 | #include <linux/vmalloc.h> | 71 | #include <linux/vmalloc.h> |
72 | #include <linux/blkpg.h> | 72 | #include <linux/blkpg.h> |
73 | #include <asm/uaccess.h> | 73 | #include <linux/uaccess.h> |
74 | 74 | ||
75 | #include <linux/mtd/ftl.h> | 75 | #include <linux/mtd/ftl.h> |
76 | 76 | ||
diff --git a/drivers/mtd/inftlcore.c b/drivers/mtd/inftlcore.c index b66b541877f0..8db740d6eb08 100644 --- a/drivers/mtd/inftlcore.c +++ b/drivers/mtd/inftlcore.c | |||
@@ -34,7 +34,7 @@ | |||
34 | #include <linux/mtd/nftl.h> | 34 | #include <linux/mtd/nftl.h> |
35 | #include <linux/mtd/inftl.h> | 35 | #include <linux/mtd/inftl.h> |
36 | #include <linux/mtd/nand.h> | 36 | #include <linux/mtd/nand.h> |
37 | #include <asm/uaccess.h> | 37 | #include <linux/uaccess.h> |
38 | #include <asm/errno.h> | 38 | #include <asm/errno.h> |
39 | #include <asm/io.h> | 39 | #include <asm/io.h> |
40 | 40 | ||
diff --git a/drivers/mtd/inftlmount.c b/drivers/mtd/inftlmount.c index 1388c8d7f309..8d6bb189ea8e 100644 --- a/drivers/mtd/inftlmount.c +++ b/drivers/mtd/inftlmount.c | |||
@@ -27,7 +27,7 @@ | |||
27 | #include <linux/module.h> | 27 | #include <linux/module.h> |
28 | #include <asm/errno.h> | 28 | #include <asm/errno.h> |
29 | #include <asm/io.h> | 29 | #include <asm/io.h> |
30 | #include <asm/uaccess.h> | 30 | #include <linux/uaccess.h> |
31 | #include <linux/delay.h> | 31 | #include <linux/delay.h> |
32 | #include <linux/slab.h> | 32 | #include <linux/slab.h> |
33 | #include <linux/mtd/mtd.h> | 33 | #include <linux/mtd/mtd.h> |
diff --git a/drivers/mtd/maps/sun_uflash.c b/drivers/mtd/maps/sun_uflash.c index d459aca07881..414956eca0c9 100644 --- a/drivers/mtd/maps/sun_uflash.c +++ b/drivers/mtd/maps/sun_uflash.c | |||
@@ -16,7 +16,7 @@ | |||
16 | #include <linux/of_device.h> | 16 | #include <linux/of_device.h> |
17 | #include <linux/slab.h> | 17 | #include <linux/slab.h> |
18 | #include <asm/prom.h> | 18 | #include <asm/prom.h> |
19 | #include <asm/uaccess.h> | 19 | #include <linux/uaccess.h> |
20 | #include <asm/io.h> | 20 | #include <asm/io.h> |
21 | 21 | ||
22 | #include <linux/mtd/mtd.h> | 22 | #include <linux/mtd/mtd.h> |
diff --git a/drivers/mtd/mtd_blkdevs.c b/drivers/mtd/mtd_blkdevs.c index 8d58acf33021..df8a5ef334c0 100644 --- a/drivers/mtd/mtd_blkdevs.c +++ b/drivers/mtd/mtd_blkdevs.c | |||
@@ -31,7 +31,7 @@ | |||
31 | #include <linux/spinlock.h> | 31 | #include <linux/spinlock.h> |
32 | #include <linux/hdreg.h> | 32 | #include <linux/hdreg.h> |
33 | #include <linux/mutex.h> | 33 | #include <linux/mutex.h> |
34 | #include <asm/uaccess.h> | 34 | #include <linux/uaccess.h> |
35 | 35 | ||
36 | #include "mtdcore.h" | 36 | #include "mtdcore.h" |
37 | 37 | ||
diff --git a/drivers/mtd/mtdchar.c b/drivers/mtd/mtdchar.c index 2a47a3f0e730..ce5ccc573a9c 100644 --- a/drivers/mtd/mtdchar.c +++ b/drivers/mtd/mtdchar.c | |||
@@ -37,7 +37,7 @@ | |||
37 | #include <linux/mtd/partitions.h> | 37 | #include <linux/mtd/partitions.h> |
38 | #include <linux/mtd/map.h> | 38 | #include <linux/mtd/map.h> |
39 | 39 | ||
40 | #include <asm/uaccess.h> | 40 | #include <linux/uaccess.h> |
41 | 41 | ||
42 | #include "mtdcore.h" | 42 | #include "mtdcore.h" |
43 | 43 | ||
diff --git a/drivers/mtd/nftlcore.c b/drivers/mtd/nftlcore.c index 46f27de018c3..e21161353e76 100644 --- a/drivers/mtd/nftlcore.c +++ b/drivers/mtd/nftlcore.c | |||
@@ -25,7 +25,7 @@ | |||
25 | #include <linux/module.h> | 25 | #include <linux/module.h> |
26 | #include <asm/errno.h> | 26 | #include <asm/errno.h> |
27 | #include <asm/io.h> | 27 | #include <asm/io.h> |
28 | #include <asm/uaccess.h> | 28 | #include <linux/uaccess.h> |
29 | #include <linux/delay.h> | 29 | #include <linux/delay.h> |
30 | #include <linux/slab.h> | 30 | #include <linux/slab.h> |
31 | #include <linux/init.h> | 31 | #include <linux/init.h> |
diff --git a/drivers/net/appletalk/ipddp.c b/drivers/net/appletalk/ipddp.c index 31f89f1c6123..b8c293373ecc 100644 --- a/drivers/net/appletalk/ipddp.c +++ b/drivers/net/appletalk/ipddp.c | |||
@@ -33,7 +33,7 @@ | |||
33 | #include <linux/if_arp.h> | 33 | #include <linux/if_arp.h> |
34 | #include <linux/slab.h> | 34 | #include <linux/slab.h> |
35 | #include <net/route.h> | 35 | #include <net/route.h> |
36 | #include <asm/uaccess.h> | 36 | #include <linux/uaccess.h> |
37 | 37 | ||
38 | #include "ipddp.h" /* Our stuff */ | 38 | #include "ipddp.h" /* Our stuff */ |
39 | 39 | ||
diff --git a/drivers/net/eql.c b/drivers/net/eql.c index a10ad74cc8d2..fe13bfea30ac 100644 --- a/drivers/net/eql.c +++ b/drivers/net/eql.c | |||
@@ -127,7 +127,7 @@ | |||
127 | #include <linux/if_eql.h> | 127 | #include <linux/if_eql.h> |
128 | #include <linux/pkt_sched.h> | 128 | #include <linux/pkt_sched.h> |
129 | 129 | ||
130 | #include <asm/uaccess.h> | 130 | #include <linux/uaccess.h> |
131 | 131 | ||
132 | static int eql_open(struct net_device *dev); | 132 | static int eql_open(struct net_device *dev); |
133 | static int eql_close(struct net_device *dev); | 133 | static int eql_close(struct net_device *dev); |
diff --git a/drivers/net/ethernet/3com/3c509.c b/drivers/net/ethernet/3com/3c509.c index a7533780dddc..c7f9f2c77da7 100644 --- a/drivers/net/ethernet/3com/3c509.c +++ b/drivers/net/ethernet/3com/3c509.c | |||
@@ -88,7 +88,7 @@ | |||
88 | #include <linux/eisa.h> | 88 | #include <linux/eisa.h> |
89 | #include <linux/bitops.h> | 89 | #include <linux/bitops.h> |
90 | 90 | ||
91 | #include <asm/uaccess.h> | 91 | #include <linux/uaccess.h> |
92 | #include <asm/io.h> | 92 | #include <asm/io.h> |
93 | #include <asm/irq.h> | 93 | #include <asm/irq.h> |
94 | 94 | ||
diff --git a/drivers/net/ethernet/3com/3c515.c b/drivers/net/ethernet/3com/3c515.c index be5b80103bec..e7b1fa56b290 100644 --- a/drivers/net/ethernet/3com/3c515.c +++ b/drivers/net/ethernet/3com/3c515.c | |||
@@ -72,7 +72,7 @@ static int max_interrupt_work = 20; | |||
72 | #include <linux/ethtool.h> | 72 | #include <linux/ethtool.h> |
73 | #include <linux/bitops.h> | 73 | #include <linux/bitops.h> |
74 | 74 | ||
75 | #include <asm/uaccess.h> | 75 | #include <linux/uaccess.h> |
76 | #include <asm/io.h> | 76 | #include <asm/io.h> |
77 | #include <asm/dma.h> | 77 | #include <asm/dma.h> |
78 | 78 | ||
diff --git a/drivers/net/ethernet/3com/3c574_cs.c b/drivers/net/ethernet/3com/3c574_cs.c index 9359a37fedc0..47c844cc9d27 100644 --- a/drivers/net/ethernet/3com/3c574_cs.c +++ b/drivers/net/ethernet/3com/3c574_cs.c | |||
@@ -92,7 +92,7 @@ earlier 3Com products. | |||
92 | #include <pcmcia/ciscode.h> | 92 | #include <pcmcia/ciscode.h> |
93 | #include <pcmcia/ds.h> | 93 | #include <pcmcia/ds.h> |
94 | 94 | ||
95 | #include <asm/uaccess.h> | 95 | #include <linux/uaccess.h> |
96 | #include <asm/io.h> | 96 | #include <asm/io.h> |
97 | 97 | ||
98 | /*====================================================================*/ | 98 | /*====================================================================*/ |
diff --git a/drivers/net/ethernet/3com/3c59x.c b/drivers/net/ethernet/3com/3c59x.c index b3560a364e53..40196f41768a 100644 --- a/drivers/net/ethernet/3com/3c59x.c +++ b/drivers/net/ethernet/3com/3c59x.c | |||
@@ -92,7 +92,7 @@ static int vortex_debug = 1; | |||
92 | #include <linux/gfp.h> | 92 | #include <linux/gfp.h> |
93 | #include <asm/irq.h> /* For nr_irqs only. */ | 93 | #include <asm/irq.h> /* For nr_irqs only. */ |
94 | #include <asm/io.h> | 94 | #include <asm/io.h> |
95 | #include <asm/uaccess.h> | 95 | #include <linux/uaccess.h> |
96 | 96 | ||
97 | /* Kernel compatibility defines, some common to David Hinds' PCMCIA package. | 97 | /* Kernel compatibility defines, some common to David Hinds' PCMCIA package. |
98 | This is only in the support-all-kernels source code. */ | 98 | This is only in the support-all-kernels source code. */ |
diff --git a/drivers/net/ethernet/3com/typhoon.c b/drivers/net/ethernet/3com/typhoon.c index a0cacbe846ba..9fe3990319ec 100644 --- a/drivers/net/ethernet/3com/typhoon.c +++ b/drivers/net/ethernet/3com/typhoon.c | |||
@@ -119,7 +119,7 @@ static const int multicast_filter_limit = 32; | |||
119 | #include <linux/bitops.h> | 119 | #include <linux/bitops.h> |
120 | #include <asm/processor.h> | 120 | #include <asm/processor.h> |
121 | #include <asm/io.h> | 121 | #include <asm/io.h> |
122 | #include <asm/uaccess.h> | 122 | #include <linux/uaccess.h> |
123 | #include <linux/in6.h> | 123 | #include <linux/in6.h> |
124 | #include <linux/dma-mapping.h> | 124 | #include <linux/dma-mapping.h> |
125 | #include <linux/firmware.h> | 125 | #include <linux/firmware.h> |
diff --git a/drivers/net/ethernet/8390/axnet_cs.c b/drivers/net/ethernet/8390/axnet_cs.c index 1d84a0544ace..3da1fc539ef9 100644 --- a/drivers/net/ethernet/8390/axnet_cs.c +++ b/drivers/net/ethernet/8390/axnet_cs.c | |||
@@ -46,7 +46,7 @@ | |||
46 | 46 | ||
47 | #include <asm/io.h> | 47 | #include <asm/io.h> |
48 | #include <asm/byteorder.h> | 48 | #include <asm/byteorder.h> |
49 | #include <asm/uaccess.h> | 49 | #include <linux/uaccess.h> |
50 | 50 | ||
51 | #define AXNET_CMD 0x00 | 51 | #define AXNET_CMD 0x00 |
52 | #define AXNET_DATAPORT 0x10 /* NatSemi-defined port window offset. */ | 52 | #define AXNET_DATAPORT 0x10 /* NatSemi-defined port window offset. */ |
diff --git a/drivers/net/ethernet/8390/ne2k-pci.c b/drivers/net/ethernet/8390/ne2k-pci.c index 07355302443d..1bdea746926c 100644 --- a/drivers/net/ethernet/8390/ne2k-pci.c +++ b/drivers/net/ethernet/8390/ne2k-pci.c | |||
@@ -54,7 +54,7 @@ static int options[MAX_UNITS]; | |||
54 | 54 | ||
55 | #include <asm/io.h> | 55 | #include <asm/io.h> |
56 | #include <asm/irq.h> | 56 | #include <asm/irq.h> |
57 | #include <asm/uaccess.h> | 57 | #include <linux/uaccess.h> |
58 | 58 | ||
59 | #include "8390.h" | 59 | #include "8390.h" |
60 | 60 | ||
diff --git a/drivers/net/ethernet/8390/pcnet_cs.c b/drivers/net/ethernet/8390/pcnet_cs.c index 63079a6e20d9..bd0a2a14b649 100644 --- a/drivers/net/ethernet/8390/pcnet_cs.c +++ b/drivers/net/ethernet/8390/pcnet_cs.c | |||
@@ -49,7 +49,7 @@ | |||
49 | 49 | ||
50 | #include <asm/io.h> | 50 | #include <asm/io.h> |
51 | #include <asm/byteorder.h> | 51 | #include <asm/byteorder.h> |
52 | #include <asm/uaccess.h> | 52 | #include <linux/uaccess.h> |
53 | 53 | ||
54 | #define PCNET_CMD 0x00 | 54 | #define PCNET_CMD 0x00 |
55 | #define PCNET_DATAPORT 0x10 /* NatSemi-defined port window offset. */ | 55 | #define PCNET_DATAPORT 0x10 /* NatSemi-defined port window offset. */ |
diff --git a/drivers/net/ethernet/adaptec/starfire.c b/drivers/net/ethernet/adaptec/starfire.c index 3aaad33cdbc6..c12d2618eebf 100644 --- a/drivers/net/ethernet/adaptec/starfire.c +++ b/drivers/net/ethernet/adaptec/starfire.c | |||
@@ -45,7 +45,7 @@ | |||
45 | #include <linux/mm.h> | 45 | #include <linux/mm.h> |
46 | #include <linux/firmware.h> | 46 | #include <linux/firmware.h> |
47 | #include <asm/processor.h> /* Processor type for cache alignment. */ | 47 | #include <asm/processor.h> /* Processor type for cache alignment. */ |
48 | #include <asm/uaccess.h> | 48 | #include <linux/uaccess.h> |
49 | #include <asm/io.h> | 49 | #include <asm/io.h> |
50 | 50 | ||
51 | /* | 51 | /* |
diff --git a/drivers/net/ethernet/alteon/acenic.c b/drivers/net/ethernet/alteon/acenic.c index 16f0c70266bc..a1a52eb53b14 100644 --- a/drivers/net/ethernet/alteon/acenic.c +++ b/drivers/net/ethernet/alteon/acenic.c | |||
@@ -80,7 +80,7 @@ | |||
80 | #include <asm/io.h> | 80 | #include <asm/io.h> |
81 | #include <asm/irq.h> | 81 | #include <asm/irq.h> |
82 | #include <asm/byteorder.h> | 82 | #include <asm/byteorder.h> |
83 | #include <asm/uaccess.h> | 83 | #include <linux/uaccess.h> |
84 | 84 | ||
85 | 85 | ||
86 | #define DRV_NAME "acenic" | 86 | #define DRV_NAME "acenic" |
diff --git a/drivers/net/ethernet/amd/amd8111e.c b/drivers/net/ethernet/amd/amd8111e.c index 11cf1e3e0295..9595f1bc535b 100644 --- a/drivers/net/ethernet/amd/amd8111e.c +++ b/drivers/net/ethernet/amd/amd8111e.c | |||
@@ -87,7 +87,7 @@ Revision History: | |||
87 | 87 | ||
88 | #include <asm/io.h> | 88 | #include <asm/io.h> |
89 | #include <asm/byteorder.h> | 89 | #include <asm/byteorder.h> |
90 | #include <asm/uaccess.h> | 90 | #include <linux/uaccess.h> |
91 | 91 | ||
92 | #if IS_ENABLED(CONFIG_VLAN_8021Q) | 92 | #if IS_ENABLED(CONFIG_VLAN_8021Q) |
93 | #define AMD8111E_VLAN_TAG_USED 1 | 93 | #define AMD8111E_VLAN_TAG_USED 1 |
diff --git a/drivers/net/ethernet/amd/nmclan_cs.c b/drivers/net/ethernet/amd/nmclan_cs.c index 113a3b3cc50c..b556c926557a 100644 --- a/drivers/net/ethernet/amd/nmclan_cs.c +++ b/drivers/net/ethernet/amd/nmclan_cs.c | |||
@@ -151,7 +151,7 @@ Include Files | |||
151 | #include <pcmcia/cistpl.h> | 151 | #include <pcmcia/cistpl.h> |
152 | #include <pcmcia/ds.h> | 152 | #include <pcmcia/ds.h> |
153 | 153 | ||
154 | #include <asm/uaccess.h> | 154 | #include <linux/uaccess.h> |
155 | #include <asm/io.h> | 155 | #include <asm/io.h> |
156 | 156 | ||
157 | /* ---------------------------------------------------------------------------- | 157 | /* ---------------------------------------------------------------------------- |
diff --git a/drivers/net/ethernet/broadcom/b44.c b/drivers/net/ethernet/broadcom/b44.c index 1df3048a3cdb..48707ed76ffc 100644 --- a/drivers/net/ethernet/broadcom/b44.c +++ b/drivers/net/ethernet/broadcom/b44.c | |||
@@ -32,7 +32,7 @@ | |||
32 | #include <linux/slab.h> | 32 | #include <linux/slab.h> |
33 | #include <linux/phy.h> | 33 | #include <linux/phy.h> |
34 | 34 | ||
35 | #include <asm/uaccess.h> | 35 | #include <linux/uaccess.h> |
36 | #include <asm/io.h> | 36 | #include <asm/io.h> |
37 | #include <asm/irq.h> | 37 | #include <asm/irq.h> |
38 | 38 | ||
diff --git a/drivers/net/ethernet/chelsio/cxgb/cxgb2.c b/drivers/net/ethernet/chelsio/cxgb/cxgb2.c index 3a05f9098e75..d8aff7a4b3c7 100644 --- a/drivers/net/ethernet/chelsio/cxgb/cxgb2.c +++ b/drivers/net/ethernet/chelsio/cxgb/cxgb2.c | |||
@@ -44,7 +44,7 @@ | |||
44 | #include <linux/mii.h> | 44 | #include <linux/mii.h> |
45 | #include <linux/sockios.h> | 45 | #include <linux/sockios.h> |
46 | #include <linux/dma-mapping.h> | 46 | #include <linux/dma-mapping.h> |
47 | #include <asm/uaccess.h> | 47 | #include <linux/uaccess.h> |
48 | 48 | ||
49 | #include "cpl5_cmd.h" | 49 | #include "cpl5_cmd.h" |
50 | #include "regs.h" | 50 | #include "regs.h" |
diff --git a/drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c b/drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c index 7b2224ae72f2..d76491676b51 100644 --- a/drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c +++ b/drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c | |||
@@ -50,7 +50,7 @@ | |||
50 | #include <linux/stringify.h> | 50 | #include <linux/stringify.h> |
51 | #include <linux/sched.h> | 51 | #include <linux/sched.h> |
52 | #include <linux/slab.h> | 52 | #include <linux/slab.h> |
53 | #include <asm/uaccess.h> | 53 | #include <linux/uaccess.h> |
54 | 54 | ||
55 | #include "common.h" | 55 | #include "common.h" |
56 | #include "cxgb3_ioctl.h" | 56 | #include "cxgb3_ioctl.h" |
diff --git a/drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c b/drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c index 66c37fac59b2..6f951877430b 100644 --- a/drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c +++ b/drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | |||
@@ -63,7 +63,7 @@ | |||
63 | #include <net/addrconf.h> | 63 | #include <net/addrconf.h> |
64 | #include <net/bonding.h> | 64 | #include <net/bonding.h> |
65 | #include <net/addrconf.h> | 65 | #include <net/addrconf.h> |
66 | #include <asm/uaccess.h> | 66 | #include <linux/uaccess.h> |
67 | #include <linux/crash_dump.h> | 67 | #include <linux/crash_dump.h> |
68 | 68 | ||
69 | #include "cxgb4.h" | 69 | #include "cxgb4.h" |
diff --git a/drivers/net/ethernet/dec/tulip/de2104x.c b/drivers/net/ethernet/dec/tulip/de2104x.c index 90c573b8ccaf..57c17e797ae3 100644 --- a/drivers/net/ethernet/dec/tulip/de2104x.c +++ b/drivers/net/ethernet/dec/tulip/de2104x.c | |||
@@ -49,7 +49,7 @@ | |||
49 | 49 | ||
50 | #include <asm/io.h> | 50 | #include <asm/io.h> |
51 | #include <asm/irq.h> | 51 | #include <asm/irq.h> |
52 | #include <asm/uaccess.h> | 52 | #include <linux/uaccess.h> |
53 | #include <asm/unaligned.h> | 53 | #include <asm/unaligned.h> |
54 | 54 | ||
55 | /* These identify the driver base version and may not be removed. */ | 55 | /* These identify the driver base version and may not be removed. */ |
diff --git a/drivers/net/ethernet/dec/tulip/de4x5.c b/drivers/net/ethernet/dec/tulip/de4x5.c index 51fda3a6b13f..df4a871df633 100644 --- a/drivers/net/ethernet/dec/tulip/de4x5.c +++ b/drivers/net/ethernet/dec/tulip/de4x5.c | |||
@@ -472,7 +472,7 @@ | |||
472 | #include <asm/dma.h> | 472 | #include <asm/dma.h> |
473 | #include <asm/byteorder.h> | 473 | #include <asm/byteorder.h> |
474 | #include <asm/unaligned.h> | 474 | #include <asm/unaligned.h> |
475 | #include <asm/uaccess.h> | 475 | #include <linux/uaccess.h> |
476 | #ifdef CONFIG_PPC_PMAC | 476 | #ifdef CONFIG_PPC_PMAC |
477 | #include <asm/machdep.h> | 477 | #include <asm/machdep.h> |
478 | #endif /* CONFIG_PPC_PMAC */ | 478 | #endif /* CONFIG_PPC_PMAC */ |
diff --git a/drivers/net/ethernet/dec/tulip/dmfe.c b/drivers/net/ethernet/dec/tulip/dmfe.c index df4994919456..07e10a45beaa 100644 --- a/drivers/net/ethernet/dec/tulip/dmfe.c +++ b/drivers/net/ethernet/dec/tulip/dmfe.c | |||
@@ -90,7 +90,7 @@ | |||
90 | #include <asm/processor.h> | 90 | #include <asm/processor.h> |
91 | #include <asm/io.h> | 91 | #include <asm/io.h> |
92 | #include <asm/dma.h> | 92 | #include <asm/dma.h> |
93 | #include <asm/uaccess.h> | 93 | #include <linux/uaccess.h> |
94 | #include <asm/irq.h> | 94 | #include <asm/irq.h> |
95 | 95 | ||
96 | #ifdef CONFIG_TULIP_DM910X | 96 | #ifdef CONFIG_TULIP_DM910X |
diff --git a/drivers/net/ethernet/dec/tulip/tulip_core.c b/drivers/net/ethernet/dec/tulip/tulip_core.c index 5f1377449b8f..17e566a8b345 100644 --- a/drivers/net/ethernet/dec/tulip/tulip_core.c +++ b/drivers/net/ethernet/dec/tulip/tulip_core.c | |||
@@ -31,7 +31,7 @@ | |||
31 | #include <linux/mii.h> | 31 | #include <linux/mii.h> |
32 | #include <linux/crc32.h> | 32 | #include <linux/crc32.h> |
33 | #include <asm/unaligned.h> | 33 | #include <asm/unaligned.h> |
34 | #include <asm/uaccess.h> | 34 | #include <linux/uaccess.h> |
35 | 35 | ||
36 | #ifdef CONFIG_SPARC | 36 | #ifdef CONFIG_SPARC |
37 | #include <asm/prom.h> | 37 | #include <asm/prom.h> |
diff --git a/drivers/net/ethernet/dec/tulip/uli526x.c b/drivers/net/ethernet/dec/tulip/uli526x.c index e1c4133b8787..f82ebe5d89ee 100644 --- a/drivers/net/ethernet/dec/tulip/uli526x.c +++ b/drivers/net/ethernet/dec/tulip/uli526x.c | |||
@@ -40,7 +40,7 @@ | |||
40 | #include <asm/processor.h> | 40 | #include <asm/processor.h> |
41 | #include <asm/io.h> | 41 | #include <asm/io.h> |
42 | #include <asm/dma.h> | 42 | #include <asm/dma.h> |
43 | #include <asm/uaccess.h> | 43 | #include <linux/uaccess.h> |
44 | 44 | ||
45 | #define uw32(reg, val) iowrite32(val, ioaddr + (reg)) | 45 | #define uw32(reg, val) iowrite32(val, ioaddr + (reg)) |
46 | #define ur32(reg) ioread32(ioaddr + (reg)) | 46 | #define ur32(reg) ioread32(ioaddr + (reg)) |
diff --git a/drivers/net/ethernet/dec/tulip/winbond-840.c b/drivers/net/ethernet/dec/tulip/winbond-840.c index feda96d585e7..bc9bf88e5831 100644 --- a/drivers/net/ethernet/dec/tulip/winbond-840.c +++ b/drivers/net/ethernet/dec/tulip/winbond-840.c | |||
@@ -129,7 +129,7 @@ static int full_duplex[MAX_UNITS] = {-1, -1, -1, -1, -1, -1, -1, -1}; | |||
129 | #include <linux/rtnetlink.h> | 129 | #include <linux/rtnetlink.h> |
130 | #include <linux/crc32.h> | 130 | #include <linux/crc32.h> |
131 | #include <linux/bitops.h> | 131 | #include <linux/bitops.h> |
132 | #include <asm/uaccess.h> | 132 | #include <linux/uaccess.h> |
133 | #include <asm/processor.h> /* Processor type for cache alignment. */ | 133 | #include <asm/processor.h> /* Processor type for cache alignment. */ |
134 | #include <asm/io.h> | 134 | #include <asm/io.h> |
135 | #include <asm/irq.h> | 135 | #include <asm/irq.h> |
diff --git a/drivers/net/ethernet/dec/tulip/xircom_cb.c b/drivers/net/ethernet/dec/tulip/xircom_cb.c index 19e4ea15b504..a8de79355578 100644 --- a/drivers/net/ethernet/dec/tulip/xircom_cb.c +++ b/drivers/net/ethernet/dec/tulip/xircom_cb.c | |||
@@ -30,7 +30,7 @@ | |||
30 | #include <linux/delay.h> | 30 | #include <linux/delay.h> |
31 | #include <linux/bitops.h> | 31 | #include <linux/bitops.h> |
32 | 32 | ||
33 | #include <asm/uaccess.h> | 33 | #include <linux/uaccess.h> |
34 | #include <asm/io.h> | 34 | #include <asm/io.h> |
35 | #ifdef CONFIG_NET_POLL_CONTROLLER | 35 | #ifdef CONFIG_NET_POLL_CONTROLLER |
36 | #include <asm/irq.h> | 36 | #include <asm/irq.h> |
diff --git a/drivers/net/ethernet/dlink/dl2k.h b/drivers/net/ethernet/dlink/dl2k.h index 8f4f61262d5c..5d8ae5320242 100644 --- a/drivers/net/ethernet/dlink/dl2k.h +++ b/drivers/net/ethernet/dlink/dl2k.h | |||
@@ -31,7 +31,7 @@ | |||
31 | #include <linux/bitops.h> | 31 | #include <linux/bitops.h> |
32 | #include <asm/processor.h> /* Processor type for cache alignment. */ | 32 | #include <asm/processor.h> /* Processor type for cache alignment. */ |
33 | #include <asm/io.h> | 33 | #include <asm/io.h> |
34 | #include <asm/uaccess.h> | 34 | #include <linux/uaccess.h> |
35 | #include <linux/delay.h> | 35 | #include <linux/delay.h> |
36 | #include <linux/spinlock.h> | 36 | #include <linux/spinlock.h> |
37 | #include <linux/time.h> | 37 | #include <linux/time.h> |
diff --git a/drivers/net/ethernet/dlink/sundance.c b/drivers/net/ethernet/dlink/sundance.c index eab36acfc0d1..2e5b66762e15 100644 --- a/drivers/net/ethernet/dlink/sundance.c +++ b/drivers/net/ethernet/dlink/sundance.c | |||
@@ -91,7 +91,7 @@ static char *media[MAX_UNITS]; | |||
91 | #include <linux/skbuff.h> | 91 | #include <linux/skbuff.h> |
92 | #include <linux/init.h> | 92 | #include <linux/init.h> |
93 | #include <linux/bitops.h> | 93 | #include <linux/bitops.h> |
94 | #include <asm/uaccess.h> | 94 | #include <linux/uaccess.h> |
95 | #include <asm/processor.h> /* Processor type for cache alignment. */ | 95 | #include <asm/processor.h> /* Processor type for cache alignment. */ |
96 | #include <asm/io.h> | 96 | #include <asm/io.h> |
97 | #include <linux/delay.h> | 97 | #include <linux/delay.h> |
diff --git a/drivers/net/ethernet/fealnx.c b/drivers/net/ethernet/fealnx.c index 6967b287b6e7..9cb436cb3745 100644 --- a/drivers/net/ethernet/fealnx.c +++ b/drivers/net/ethernet/fealnx.c | |||
@@ -88,7 +88,7 @@ static int full_duplex[MAX_UNITS] = { -1, -1, -1, -1, -1, -1, -1, -1 }; | |||
88 | 88 | ||
89 | #include <asm/processor.h> /* Processor type for cache alignment. */ | 89 | #include <asm/processor.h> /* Processor type for cache alignment. */ |
90 | #include <asm/io.h> | 90 | #include <asm/io.h> |
91 | #include <asm/uaccess.h> | 91 | #include <linux/uaccess.h> |
92 | #include <asm/byteorder.h> | 92 | #include <asm/byteorder.h> |
93 | 93 | ||
94 | /* These identify the driver base version and may not be removed. */ | 94 | /* These identify the driver base version and may not be removed. */ |
diff --git a/drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c b/drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c index d9f3a480ca1b..1f98838f32b7 100644 --- a/drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c +++ b/drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c | |||
@@ -44,7 +44,7 @@ | |||
44 | #include <linux/vmalloc.h> | 44 | #include <linux/vmalloc.h> |
45 | #include <asm/pgtable.h> | 45 | #include <asm/pgtable.h> |
46 | #include <asm/irq.h> | 46 | #include <asm/irq.h> |
47 | #include <asm/uaccess.h> | 47 | #include <linux/uaccess.h> |
48 | 48 | ||
49 | #include "fs_enet.h" | 49 | #include "fs_enet.h" |
50 | 50 | ||
diff --git a/drivers/net/ethernet/freescale/fs_enet/mac-fcc.c b/drivers/net/ethernet/freescale/fs_enet/mac-fcc.c index 120c758f5d01..6e64989f8478 100644 --- a/drivers/net/ethernet/freescale/fs_enet/mac-fcc.c +++ b/drivers/net/ethernet/freescale/fs_enet/mac-fcc.c | |||
@@ -42,7 +42,7 @@ | |||
42 | 42 | ||
43 | #include <asm/pgtable.h> | 43 | #include <asm/pgtable.h> |
44 | #include <asm/irq.h> | 44 | #include <asm/irq.h> |
45 | #include <asm/uaccess.h> | 45 | #include <linux/uaccess.h> |
46 | 46 | ||
47 | #include "fs_enet.h" | 47 | #include "fs_enet.h" |
48 | 48 | ||
diff --git a/drivers/net/ethernet/freescale/fs_enet/mac-fec.c b/drivers/net/ethernet/freescale/fs_enet/mac-fec.c index 777beffa1e1e..db9c0bcf54cd 100644 --- a/drivers/net/ethernet/freescale/fs_enet/mac-fec.c +++ b/drivers/net/ethernet/freescale/fs_enet/mac-fec.c | |||
@@ -36,7 +36,7 @@ | |||
36 | #include <linux/gfp.h> | 36 | #include <linux/gfp.h> |
37 | 37 | ||
38 | #include <asm/irq.h> | 38 | #include <asm/irq.h> |
39 | #include <asm/uaccess.h> | 39 | #include <linux/uaccess.h> |
40 | 40 | ||
41 | #ifdef CONFIG_8xx | 41 | #ifdef CONFIG_8xx |
42 | #include <asm/8xx_immap.h> | 42 | #include <asm/8xx_immap.h> |
diff --git a/drivers/net/ethernet/freescale/fs_enet/mac-scc.c b/drivers/net/ethernet/freescale/fs_enet/mac-scc.c index 15abd37d70e3..96d44cf44fe0 100644 --- a/drivers/net/ethernet/freescale/fs_enet/mac-scc.c +++ b/drivers/net/ethernet/freescale/fs_enet/mac-scc.c | |||
@@ -35,7 +35,7 @@ | |||
35 | #include <linux/of_platform.h> | 35 | #include <linux/of_platform.h> |
36 | 36 | ||
37 | #include <asm/irq.h> | 37 | #include <asm/irq.h> |
38 | #include <asm/uaccess.h> | 38 | #include <linux/uaccess.h> |
39 | 39 | ||
40 | #ifdef CONFIG_8xx | 40 | #ifdef CONFIG_8xx |
41 | #include <asm/8xx_immap.h> | 41 | #include <asm/8xx_immap.h> |
diff --git a/drivers/net/ethernet/freescale/fs_enet/mii-fec.c b/drivers/net/ethernet/freescale/fs_enet/mii-fec.c index a89267b94352..1582d82483ec 100644 --- a/drivers/net/ethernet/freescale/fs_enet/mii-fec.c +++ b/drivers/net/ethernet/freescale/fs_enet/mii-fec.c | |||
@@ -35,7 +35,7 @@ | |||
35 | 35 | ||
36 | #include <asm/pgtable.h> | 36 | #include <asm/pgtable.h> |
37 | #include <asm/irq.h> | 37 | #include <asm/irq.h> |
38 | #include <asm/uaccess.h> | 38 | #include <linux/uaccess.h> |
39 | #include <asm/mpc5xxx.h> | 39 | #include <asm/mpc5xxx.h> |
40 | 40 | ||
41 | #include "fs_enet.h" | 41 | #include "fs_enet.h" |
diff --git a/drivers/net/ethernet/freescale/gianfar.c b/drivers/net/ethernet/freescale/gianfar.c index 756f7e763d5f..a6e7afa878be 100644 --- a/drivers/net/ethernet/freescale/gianfar.c +++ b/drivers/net/ethernet/freescale/gianfar.c | |||
@@ -93,7 +93,7 @@ | |||
93 | #include <asm/mpc85xx.h> | 93 | #include <asm/mpc85xx.h> |
94 | #endif | 94 | #endif |
95 | #include <asm/irq.h> | 95 | #include <asm/irq.h> |
96 | #include <asm/uaccess.h> | 96 | #include <linux/uaccess.h> |
97 | #include <linux/module.h> | 97 | #include <linux/module.h> |
98 | #include <linux/dma-mapping.h> | 98 | #include <linux/dma-mapping.h> |
99 | #include <linux/crc32.h> | 99 | #include <linux/crc32.h> |
diff --git a/drivers/net/ethernet/freescale/gianfar.h b/drivers/net/ethernet/freescale/gianfar.h index 6e8a9c8467b9..5aa814799d70 100644 --- a/drivers/net/ethernet/freescale/gianfar.h +++ b/drivers/net/ethernet/freescale/gianfar.h | |||
@@ -40,7 +40,7 @@ | |||
40 | 40 | ||
41 | #include <asm/io.h> | 41 | #include <asm/io.h> |
42 | #include <asm/irq.h> | 42 | #include <asm/irq.h> |
43 | #include <asm/uaccess.h> | 43 | #include <linux/uaccess.h> |
44 | #include <linux/module.h> | 44 | #include <linux/module.h> |
45 | #include <linux/crc32.h> | 45 | #include <linux/crc32.h> |
46 | #include <linux/workqueue.h> | 46 | #include <linux/workqueue.h> |
diff --git a/drivers/net/ethernet/freescale/gianfar_ethtool.c b/drivers/net/ethernet/freescale/gianfar_ethtool.c index 56588f2e1d91..a93e0199c369 100644 --- a/drivers/net/ethernet/freescale/gianfar_ethtool.c +++ b/drivers/net/ethernet/freescale/gianfar_ethtool.c | |||
@@ -32,7 +32,7 @@ | |||
32 | 32 | ||
33 | #include <asm/io.h> | 33 | #include <asm/io.h> |
34 | #include <asm/irq.h> | 34 | #include <asm/irq.h> |
35 | #include <asm/uaccess.h> | 35 | #include <linux/uaccess.h> |
36 | #include <linux/module.h> | 36 | #include <linux/module.h> |
37 | #include <linux/crc32.h> | 37 | #include <linux/crc32.h> |
38 | #include <asm/types.h> | 38 | #include <asm/types.h> |
diff --git a/drivers/net/ethernet/freescale/ucc_geth.c b/drivers/net/ethernet/freescale/ucc_geth.c index 53c5fcf1436c..9d660888510f 100644 --- a/drivers/net/ethernet/freescale/ucc_geth.c +++ b/drivers/net/ethernet/freescale/ucc_geth.c | |||
@@ -37,7 +37,7 @@ | |||
37 | #include <linux/of_net.h> | 37 | #include <linux/of_net.h> |
38 | #include <linux/of_platform.h> | 38 | #include <linux/of_platform.h> |
39 | 39 | ||
40 | #include <asm/uaccess.h> | 40 | #include <linux/uaccess.h> |
41 | #include <asm/irq.h> | 41 | #include <asm/irq.h> |
42 | #include <asm/io.h> | 42 | #include <asm/io.h> |
43 | #include <soc/fsl/qe/immap_qe.h> | 43 | #include <soc/fsl/qe/immap_qe.h> |
diff --git a/drivers/net/ethernet/freescale/ucc_geth_ethtool.c b/drivers/net/ethernet/freescale/ucc_geth_ethtool.c index 8ba636f61b50..b642990b549c 100644 --- a/drivers/net/ethernet/freescale/ucc_geth_ethtool.c +++ b/drivers/net/ethernet/freescale/ucc_geth_ethtool.c | |||
@@ -32,7 +32,7 @@ | |||
32 | 32 | ||
33 | #include <asm/io.h> | 33 | #include <asm/io.h> |
34 | #include <asm/irq.h> | 34 | #include <asm/irq.h> |
35 | #include <asm/uaccess.h> | 35 | #include <linux/uaccess.h> |
36 | #include <asm/types.h> | 36 | #include <asm/types.h> |
37 | 37 | ||
38 | #include "ucc_geth.h" | 38 | #include "ucc_geth.h" |
diff --git a/drivers/net/ethernet/fujitsu/fmvj18x_cs.c b/drivers/net/ethernet/fujitsu/fmvj18x_cs.c index 51c4abc51bf4..a69cd19a55ae 100644 --- a/drivers/net/ethernet/fujitsu/fmvj18x_cs.c +++ b/drivers/net/ethernet/fujitsu/fmvj18x_cs.c | |||
@@ -54,7 +54,7 @@ | |||
54 | #include <pcmcia/ciscode.h> | 54 | #include <pcmcia/ciscode.h> |
55 | #include <pcmcia/ds.h> | 55 | #include <pcmcia/ds.h> |
56 | 56 | ||
57 | #include <asm/uaccess.h> | 57 | #include <linux/uaccess.h> |
58 | #include <asm/io.h> | 58 | #include <asm/io.h> |
59 | 59 | ||
60 | /*====================================================================*/ | 60 | /*====================================================================*/ |
diff --git a/drivers/net/ethernet/ibm/emac/core.c b/drivers/net/ethernet/ibm/emac/core.c index 52a69c925965..5909615c27f7 100644 --- a/drivers/net/ethernet/ibm/emac/core.c +++ b/drivers/net/ethernet/ibm/emac/core.c | |||
@@ -47,7 +47,7 @@ | |||
47 | #include <asm/processor.h> | 47 | #include <asm/processor.h> |
48 | #include <asm/io.h> | 48 | #include <asm/io.h> |
49 | #include <asm/dma.h> | 49 | #include <asm/dma.h> |
50 | #include <asm/uaccess.h> | 50 | #include <linux/uaccess.h> |
51 | #include <asm/dcr.h> | 51 | #include <asm/dcr.h> |
52 | #include <asm/dcr-regs.h> | 52 | #include <asm/dcr-regs.h> |
53 | 53 | ||
diff --git a/drivers/net/ethernet/intel/ixgb/ixgb_ethtool.c b/drivers/net/ethernet/intel/ixgb/ixgb_ethtool.c index d2b29b490ae0..e5d72559cca9 100644 --- a/drivers/net/ethernet/intel/ixgb/ixgb_ethtool.c +++ b/drivers/net/ethernet/intel/ixgb/ixgb_ethtool.c | |||
@@ -30,7 +30,7 @@ | |||
30 | 30 | ||
31 | #include "ixgb.h" | 31 | #include "ixgb.h" |
32 | 32 | ||
33 | #include <asm/uaccess.h> | 33 | #include <linux/uaccess.h> |
34 | 34 | ||
35 | #define IXGB_ALL_RAR_ENTRIES 16 | 35 | #define IXGB_ALL_RAR_ENTRIES 16 |
36 | 36 | ||
diff --git a/drivers/net/ethernet/natsemi/natsemi.c b/drivers/net/ethernet/natsemi/natsemi.c index 22b0821c1da0..90eac63f9606 100644 --- a/drivers/net/ethernet/natsemi/natsemi.c +++ b/drivers/net/ethernet/natsemi/natsemi.c | |||
@@ -51,7 +51,7 @@ | |||
51 | #include <asm/processor.h> /* Processor type for cache alignment. */ | 51 | #include <asm/processor.h> /* Processor type for cache alignment. */ |
52 | #include <asm/io.h> | 52 | #include <asm/io.h> |
53 | #include <asm/irq.h> | 53 | #include <asm/irq.h> |
54 | #include <asm/uaccess.h> | 54 | #include <linux/uaccess.h> |
55 | 55 | ||
56 | #define DRV_NAME "natsemi" | 56 | #define DRV_NAME "natsemi" |
57 | #define DRV_VERSION "2.1" | 57 | #define DRV_VERSION "2.1" |
diff --git a/drivers/net/ethernet/natsemi/ns83820.c b/drivers/net/ethernet/natsemi/ns83820.c index 93c4bdc0cdca..f9d2eb9a920a 100644 --- a/drivers/net/ethernet/natsemi/ns83820.c +++ b/drivers/net/ethernet/natsemi/ns83820.c | |||
@@ -119,7 +119,7 @@ | |||
119 | #include <linux/slab.h> | 119 | #include <linux/slab.h> |
120 | 120 | ||
121 | #include <asm/io.h> | 121 | #include <asm/io.h> |
122 | #include <asm/uaccess.h> | 122 | #include <linux/uaccess.h> |
123 | 123 | ||
124 | #define DRV_NAME "ns83820" | 124 | #define DRV_NAME "ns83820" |
125 | 125 | ||
diff --git a/drivers/net/ethernet/packetengines/hamachi.c b/drivers/net/ethernet/packetengines/hamachi.c index 2d04679a923a..baff744b560e 100644 --- a/drivers/net/ethernet/packetengines/hamachi.c +++ b/drivers/net/ethernet/packetengines/hamachi.c | |||
@@ -160,7 +160,7 @@ static int tx_params[MAX_UNITS] = {-1, -1, -1, -1, -1, -1, -1, -1}; | |||
160 | #include <linux/delay.h> | 160 | #include <linux/delay.h> |
161 | #include <linux/bitops.h> | 161 | #include <linux/bitops.h> |
162 | 162 | ||
163 | #include <asm/uaccess.h> | 163 | #include <linux/uaccess.h> |
164 | #include <asm/processor.h> /* Processor type for cache alignment. */ | 164 | #include <asm/processor.h> /* Processor type for cache alignment. */ |
165 | #include <asm/io.h> | 165 | #include <asm/io.h> |
166 | #include <asm/unaligned.h> | 166 | #include <asm/unaligned.h> |
diff --git a/drivers/net/ethernet/packetengines/yellowfin.c b/drivers/net/ethernet/packetengines/yellowfin.c index 2a2ca5fa0c69..fa7770da6ef8 100644 --- a/drivers/net/ethernet/packetengines/yellowfin.c +++ b/drivers/net/ethernet/packetengines/yellowfin.c | |||
@@ -100,7 +100,7 @@ static int gx_fix; | |||
100 | #include <linux/ethtool.h> | 100 | #include <linux/ethtool.h> |
101 | #include <linux/crc32.h> | 101 | #include <linux/crc32.h> |
102 | #include <linux/bitops.h> | 102 | #include <linux/bitops.h> |
103 | #include <asm/uaccess.h> | 103 | #include <linux/uaccess.h> |
104 | #include <asm/processor.h> /* Processor type for cache alignment. */ | 104 | #include <asm/processor.h> /* Processor type for cache alignment. */ |
105 | #include <asm/unaligned.h> | 105 | #include <asm/unaligned.h> |
106 | #include <asm/io.h> | 106 | #include <asm/io.h> |
diff --git a/drivers/net/ethernet/realtek/8139cp.c b/drivers/net/ethernet/realtek/8139cp.c index b7c89ebcf4a2..0b3cd58093d5 100644 --- a/drivers/net/ethernet/realtek/8139cp.c +++ b/drivers/net/ethernet/realtek/8139cp.c | |||
@@ -76,7 +76,7 @@ | |||
76 | #include <linux/cache.h> | 76 | #include <linux/cache.h> |
77 | #include <asm/io.h> | 77 | #include <asm/io.h> |
78 | #include <asm/irq.h> | 78 | #include <asm/irq.h> |
79 | #include <asm/uaccess.h> | 79 | #include <linux/uaccess.h> |
80 | 80 | ||
81 | /* These identify the driver base version and may not be removed. */ | 81 | /* These identify the driver base version and may not be removed. */ |
82 | static char version[] = | 82 | static char version[] = |
diff --git a/drivers/net/ethernet/sgi/ioc3-eth.c b/drivers/net/ethernet/sgi/ioc3-eth.c index 42051ab98cf0..d390b9663dc3 100644 --- a/drivers/net/ethernet/sgi/ioc3-eth.c +++ b/drivers/net/ethernet/sgi/ioc3-eth.c | |||
@@ -60,7 +60,7 @@ | |||
60 | #include <asm/byteorder.h> | 60 | #include <asm/byteorder.h> |
61 | #include <asm/io.h> | 61 | #include <asm/io.h> |
62 | #include <asm/pgtable.h> | 62 | #include <asm/pgtable.h> |
63 | #include <asm/uaccess.h> | 63 | #include <linux/uaccess.h> |
64 | #include <asm/sn/types.h> | 64 | #include <asm/sn/types.h> |
65 | #include <asm/sn/ioc3.h> | 65 | #include <asm/sn/ioc3.h> |
66 | #include <asm/pci/bridge.h> | 66 | #include <asm/pci/bridge.h> |
diff --git a/drivers/net/ethernet/sis/sis900.c b/drivers/net/ethernet/sis/sis900.c index 39fca6c0b68d..19a458716f1a 100644 --- a/drivers/net/ethernet/sis/sis900.c +++ b/drivers/net/ethernet/sis/sis900.c | |||
@@ -74,7 +74,7 @@ | |||
74 | #include <asm/processor.h> /* Processor type for cache alignment. */ | 74 | #include <asm/processor.h> /* Processor type for cache alignment. */ |
75 | #include <asm/io.h> | 75 | #include <asm/io.h> |
76 | #include <asm/irq.h> | 76 | #include <asm/irq.h> |
77 | #include <asm/uaccess.h> /* User space memory access functions */ | 77 | #include <linux/uaccess.h> /* User space memory access functions */ |
78 | 78 | ||
79 | #include "sis900.h" | 79 | #include "sis900.h" |
80 | 80 | ||
diff --git a/drivers/net/ethernet/smsc/epic100.c b/drivers/net/ethernet/smsc/epic100.c index fe9760ffab51..55a95e1d69d6 100644 --- a/drivers/net/ethernet/smsc/epic100.c +++ b/drivers/net/ethernet/smsc/epic100.c | |||
@@ -86,7 +86,7 @@ static int rx_copybreak; | |||
86 | #include <linux/crc32.h> | 86 | #include <linux/crc32.h> |
87 | #include <linux/bitops.h> | 87 | #include <linux/bitops.h> |
88 | #include <asm/io.h> | 88 | #include <asm/io.h> |
89 | #include <asm/uaccess.h> | 89 | #include <linux/uaccess.h> |
90 | #include <asm/byteorder.h> | 90 | #include <asm/byteorder.h> |
91 | 91 | ||
92 | /* These identify the driver base version and may not be removed. */ | 92 | /* These identify the driver base version and may not be removed. */ |
diff --git a/drivers/net/ethernet/smsc/smc91c92_cs.c b/drivers/net/ethernet/smsc/smc91c92_cs.c index f1c75e291e55..67154621abcf 100644 --- a/drivers/net/ethernet/smsc/smc91c92_cs.c +++ b/drivers/net/ethernet/smsc/smc91c92_cs.c | |||
@@ -52,7 +52,7 @@ | |||
52 | #include <pcmcia/ss.h> | 52 | #include <pcmcia/ss.h> |
53 | 53 | ||
54 | #include <asm/io.h> | 54 | #include <asm/io.h> |
55 | #include <asm/uaccess.h> | 55 | #include <linux/uaccess.h> |
56 | 56 | ||
57 | /*====================================================================*/ | 57 | /*====================================================================*/ |
58 | 58 | ||
diff --git a/drivers/net/ethernet/sun/cassini.c b/drivers/net/ethernet/sun/cassini.c index e9e5ef241c6f..0e8e89f17dbb 100644 --- a/drivers/net/ethernet/sun/cassini.c +++ b/drivers/net/ethernet/sun/cassini.c | |||
@@ -99,7 +99,7 @@ | |||
99 | #include <linux/atomic.h> | 99 | #include <linux/atomic.h> |
100 | #include <asm/io.h> | 100 | #include <asm/io.h> |
101 | #include <asm/byteorder.h> | 101 | #include <asm/byteorder.h> |
102 | #include <asm/uaccess.h> | 102 | #include <linux/uaccess.h> |
103 | 103 | ||
104 | #define cas_page_map(x) kmap_atomic((x)) | 104 | #define cas_page_map(x) kmap_atomic((x)) |
105 | #define cas_page_unmap(x) kunmap_atomic((x)) | 105 | #define cas_page_unmap(x) kunmap_atomic((x)) |
diff --git a/drivers/net/ethernet/sun/sungem.c b/drivers/net/ethernet/sun/sungem.c index 66ecf0fcc330..d277e4107976 100644 --- a/drivers/net/ethernet/sun/sungem.c +++ b/drivers/net/ethernet/sun/sungem.c | |||
@@ -42,7 +42,7 @@ | |||
42 | 42 | ||
43 | #include <asm/io.h> | 43 | #include <asm/io.h> |
44 | #include <asm/byteorder.h> | 44 | #include <asm/byteorder.h> |
45 | #include <asm/uaccess.h> | 45 | #include <linux/uaccess.h> |
46 | #include <asm/irq.h> | 46 | #include <asm/irq.h> |
47 | 47 | ||
48 | #ifdef CONFIG_SPARC | 48 | #ifdef CONFIG_SPARC |
diff --git a/drivers/net/ethernet/sun/sunhme.c b/drivers/net/ethernet/sun/sunhme.c index ca96408058b0..72ff05cd3ed8 100644 --- a/drivers/net/ethernet/sun/sunhme.c +++ b/drivers/net/ethernet/sun/sunhme.c | |||
@@ -49,7 +49,7 @@ | |||
49 | #include <asm/prom.h> | 49 | #include <asm/prom.h> |
50 | #include <asm/auxio.h> | 50 | #include <asm/auxio.h> |
51 | #endif | 51 | #endif |
52 | #include <asm/uaccess.h> | 52 | #include <linux/uaccess.h> |
53 | 53 | ||
54 | #include <asm/pgtable.h> | 54 | #include <asm/pgtable.h> |
55 | #include <asm/irq.h> | 55 | #include <asm/irq.h> |
diff --git a/drivers/net/ethernet/via/via-rhine.c b/drivers/net/ethernet/via/via-rhine.c index ba5c54249055..0a6c4e804eed 100644 --- a/drivers/net/ethernet/via/via-rhine.c +++ b/drivers/net/ethernet/via/via-rhine.c | |||
@@ -114,7 +114,7 @@ static const int multicast_filter_limit = 32; | |||
114 | #include <asm/processor.h> /* Processor type for cache alignment. */ | 114 | #include <asm/processor.h> /* Processor type for cache alignment. */ |
115 | #include <asm/io.h> | 115 | #include <asm/io.h> |
116 | #include <asm/irq.h> | 116 | #include <asm/irq.h> |
117 | #include <asm/uaccess.h> | 117 | #include <linux/uaccess.h> |
118 | #include <linux/dmi.h> | 118 | #include <linux/dmi.h> |
119 | 119 | ||
120 | /* These identify the driver base version and may not be removed. */ | 120 | /* These identify the driver base version and may not be removed. */ |
diff --git a/drivers/net/ethernet/xircom/xirc2ps_cs.c b/drivers/net/ethernet/xircom/xirc2ps_cs.c index 3b08ec766076..f71883264cc0 100644 --- a/drivers/net/ethernet/xircom/xirc2ps_cs.c +++ b/drivers/net/ethernet/xircom/xirc2ps_cs.c | |||
@@ -88,7 +88,7 @@ | |||
88 | #include <pcmcia/ciscode.h> | 88 | #include <pcmcia/ciscode.h> |
89 | 89 | ||
90 | #include <asm/io.h> | 90 | #include <asm/io.h> |
91 | #include <asm/uaccess.h> | 91 | #include <linux/uaccess.h> |
92 | 92 | ||
93 | #ifndef MANFID_COMPAQ | 93 | #ifndef MANFID_COMPAQ |
94 | #define MANFID_COMPAQ 0x0138 | 94 | #define MANFID_COMPAQ 0x0138 |
diff --git a/drivers/net/fddi/skfp/skfddi.c b/drivers/net/fddi/skfp/skfddi.c index 3a639180e4a0..2414f1dc8ddd 100644 --- a/drivers/net/fddi/skfp/skfddi.c +++ b/drivers/net/fddi/skfp/skfddi.c | |||
@@ -88,7 +88,7 @@ static const char * const boot_msg = | |||
88 | 88 | ||
89 | #include <asm/byteorder.h> | 89 | #include <asm/byteorder.h> |
90 | #include <asm/io.h> | 90 | #include <asm/io.h> |
91 | #include <asm/uaccess.h> | 91 | #include <linux/uaccess.h> |
92 | 92 | ||
93 | #include "h/types.h" | 93 | #include "h/types.h" |
94 | #undef ADDR // undo Linux definition | 94 | #undef ADDR // undo Linux definition |
diff --git a/drivers/net/hamradio/6pack.c b/drivers/net/hamradio/6pack.c index 470b3dcd54e5..922bf440e9f1 100644 --- a/drivers/net/hamradio/6pack.c +++ b/drivers/net/hamradio/6pack.c | |||
@@ -13,7 +13,7 @@ | |||
13 | */ | 13 | */ |
14 | 14 | ||
15 | #include <linux/module.h> | 15 | #include <linux/module.h> |
16 | #include <asm/uaccess.h> | 16 | #include <linux/uaccess.h> |
17 | #include <linux/bitops.h> | 17 | #include <linux/bitops.h> |
18 | #include <linux/string.h> | 18 | #include <linux/string.h> |
19 | #include <linux/mm.h> | 19 | #include <linux/mm.h> |
diff --git a/drivers/net/hamradio/baycom_epp.c b/drivers/net/hamradio/baycom_epp.c index 78dbc44540f6..7d054697b199 100644 --- a/drivers/net/hamradio/baycom_epp.c +++ b/drivers/net/hamradio/baycom_epp.c | |||
@@ -55,7 +55,7 @@ | |||
55 | #include <linux/jiffies.h> | 55 | #include <linux/jiffies.h> |
56 | #include <linux/random.h> | 56 | #include <linux/random.h> |
57 | #include <net/ax25.h> | 57 | #include <net/ax25.h> |
58 | #include <asm/uaccess.h> | 58 | #include <linux/uaccess.h> |
59 | 59 | ||
60 | /* --------------------------------------------------------------------- */ | 60 | /* --------------------------------------------------------------------- */ |
61 | 61 | ||
diff --git a/drivers/net/hamradio/baycom_par.c b/drivers/net/hamradio/baycom_par.c index 072cddce9264..809dc25909d1 100644 --- a/drivers/net/hamradio/baycom_par.c +++ b/drivers/net/hamradio/baycom_par.c | |||
@@ -86,7 +86,7 @@ | |||
86 | #include <linux/bitops.h> | 86 | #include <linux/bitops.h> |
87 | #include <linux/jiffies.h> | 87 | #include <linux/jiffies.h> |
88 | 88 | ||
89 | #include <asm/uaccess.h> | 89 | #include <linux/uaccess.h> |
90 | 90 | ||
91 | /* --------------------------------------------------------------------- */ | 91 | /* --------------------------------------------------------------------- */ |
92 | 92 | ||
diff --git a/drivers/net/hamradio/baycom_ser_fdx.c b/drivers/net/hamradio/baycom_ser_fdx.c index 7b916d5b14b9..ebc06822fd4d 100644 --- a/drivers/net/hamradio/baycom_ser_fdx.c +++ b/drivers/net/hamradio/baycom_ser_fdx.c | |||
@@ -82,7 +82,7 @@ | |||
82 | #include <linux/jiffies.h> | 82 | #include <linux/jiffies.h> |
83 | #include <linux/time64.h> | 83 | #include <linux/time64.h> |
84 | 84 | ||
85 | #include <asm/uaccess.h> | 85 | #include <linux/uaccess.h> |
86 | #include <asm/io.h> | 86 | #include <asm/io.h> |
87 | #include <asm/irq.h> | 87 | #include <asm/irq.h> |
88 | 88 | ||
diff --git a/drivers/net/hamradio/baycom_ser_hdx.c b/drivers/net/hamradio/baycom_ser_hdx.c index f9a8976195ba..60fcf512c208 100644 --- a/drivers/net/hamradio/baycom_ser_hdx.c +++ b/drivers/net/hamradio/baycom_ser_hdx.c | |||
@@ -67,7 +67,7 @@ | |||
67 | #include <linux/string.h> | 67 | #include <linux/string.h> |
68 | #include <linux/init.h> | 68 | #include <linux/init.h> |
69 | #include <linux/interrupt.h> | 69 | #include <linux/interrupt.h> |
70 | #include <asm/uaccess.h> | 70 | #include <linux/uaccess.h> |
71 | #include <asm/io.h> | 71 | #include <asm/io.h> |
72 | #include <linux/hdlcdrv.h> | 72 | #include <linux/hdlcdrv.h> |
73 | #include <linux/baycom.h> | 73 | #include <linux/baycom.h> |
diff --git a/drivers/net/hamradio/bpqether.c b/drivers/net/hamradio/bpqether.c index 622ab3ab9e93..f62e7f325cf9 100644 --- a/drivers/net/hamradio/bpqether.c +++ b/drivers/net/hamradio/bpqether.c | |||
@@ -69,7 +69,7 @@ | |||
69 | #include <linux/if_arp.h> | 69 | #include <linux/if_arp.h> |
70 | #include <linux/skbuff.h> | 70 | #include <linux/skbuff.h> |
71 | #include <net/sock.h> | 71 | #include <net/sock.h> |
72 | #include <asm/uaccess.h> | 72 | #include <linux/uaccess.h> |
73 | #include <linux/mm.h> | 73 | #include <linux/mm.h> |
74 | #include <linux/interrupt.h> | 74 | #include <linux/interrupt.h> |
75 | #include <linux/notifier.h> | 75 | #include <linux/notifier.h> |
diff --git a/drivers/net/hamradio/dmascc.c b/drivers/net/hamradio/dmascc.c index e4137c1b3df9..2479072981a1 100644 --- a/drivers/net/hamradio/dmascc.c +++ b/drivers/net/hamradio/dmascc.c | |||
@@ -40,7 +40,7 @@ | |||
40 | #include <asm/dma.h> | 40 | #include <asm/dma.h> |
41 | #include <asm/io.h> | 41 | #include <asm/io.h> |
42 | #include <asm/irq.h> | 42 | #include <asm/irq.h> |
43 | #include <asm/uaccess.h> | 43 | #include <linux/uaccess.h> |
44 | #include <net/ax25.h> | 44 | #include <net/ax25.h> |
45 | #include "z8530.h" | 45 | #include "z8530.h" |
46 | 46 | ||
diff --git a/drivers/net/hamradio/hdlcdrv.c b/drivers/net/hamradio/hdlcdrv.c index 4bad0b894e9c..8c3633c1d078 100644 --- a/drivers/net/hamradio/hdlcdrv.c +++ b/drivers/net/hamradio/hdlcdrv.c | |||
@@ -58,7 +58,7 @@ | |||
58 | #include <linux/hdlcdrv.h> | 58 | #include <linux/hdlcdrv.h> |
59 | #include <linux/random.h> | 59 | #include <linux/random.h> |
60 | #include <net/ax25.h> | 60 | #include <net/ax25.h> |
61 | #include <asm/uaccess.h> | 61 | #include <linux/uaccess.h> |
62 | 62 | ||
63 | #include <linux/crc-ccitt.h> | 63 | #include <linux/crc-ccitt.h> |
64 | 64 | ||
diff --git a/drivers/net/hamradio/mkiss.c b/drivers/net/hamradio/mkiss.c index 1dfe2304daa7..ece59c54a653 100644 --- a/drivers/net/hamradio/mkiss.c +++ b/drivers/net/hamradio/mkiss.c | |||
@@ -17,7 +17,7 @@ | |||
17 | */ | 17 | */ |
18 | #include <linux/module.h> | 18 | #include <linux/module.h> |
19 | #include <linux/bitops.h> | 19 | #include <linux/bitops.h> |
20 | #include <asm/uaccess.h> | 20 | #include <linux/uaccess.h> |
21 | #include <linux/crc16.h> | 21 | #include <linux/crc16.h> |
22 | #include <linux/string.h> | 22 | #include <linux/string.h> |
23 | #include <linux/mm.h> | 23 | #include <linux/mm.h> |
diff --git a/drivers/net/hamradio/scc.c b/drivers/net/hamradio/scc.c index b8083161ef46..6754cd01c605 100644 --- a/drivers/net/hamradio/scc.c +++ b/drivers/net/hamradio/scc.c | |||
@@ -178,7 +178,7 @@ | |||
178 | 178 | ||
179 | #include <asm/irq.h> | 179 | #include <asm/irq.h> |
180 | #include <asm/io.h> | 180 | #include <asm/io.h> |
181 | #include <asm/uaccess.h> | 181 | #include <linux/uaccess.h> |
182 | 182 | ||
183 | #include "z8530.h" | 183 | #include "z8530.h" |
184 | 184 | ||
diff --git a/drivers/net/hamradio/yam.c b/drivers/net/hamradio/yam.c index aaff07c10058..b6891ada1d7b 100644 --- a/drivers/net/hamradio/yam.c +++ b/drivers/net/hamradio/yam.c | |||
@@ -68,7 +68,7 @@ | |||
68 | #include <linux/seq_file.h> | 68 | #include <linux/seq_file.h> |
69 | #include <net/net_namespace.h> | 69 | #include <net/net_namespace.h> |
70 | 70 | ||
71 | #include <asm/uaccess.h> | 71 | #include <linux/uaccess.h> |
72 | #include <linux/init.h> | 72 | #include <linux/init.h> |
73 | 73 | ||
74 | #include <linux/yam.h> | 74 | #include <linux/yam.h> |
diff --git a/drivers/net/hippi/rrunner.c b/drivers/net/hippi/rrunner.c index f5a9728b89f3..dd7fc6659ad4 100644 --- a/drivers/net/hippi/rrunner.c +++ b/drivers/net/hippi/rrunner.c | |||
@@ -46,7 +46,7 @@ | |||
46 | #include <asm/byteorder.h> | 46 | #include <asm/byteorder.h> |
47 | #include <asm/io.h> | 47 | #include <asm/io.h> |
48 | #include <asm/irq.h> | 48 | #include <asm/irq.h> |
49 | #include <asm/uaccess.h> | 49 | #include <linux/uaccess.h> |
50 | 50 | ||
51 | #define rr_if_busy(dev) netif_queue_stopped(dev) | 51 | #define rr_if_busy(dev) netif_queue_stopped(dev) |
52 | #define rr_if_running(dev) netif_running(dev) | 52 | #define rr_if_running(dev) netif_running(dev) |
diff --git a/drivers/net/irda/irtty-sir.c b/drivers/net/irda/irtty-sir.c index 7a3f990c1935..7a20a9a4663a 100644 --- a/drivers/net/irda/irtty-sir.c +++ b/drivers/net/irda/irtty-sir.c | |||
@@ -31,7 +31,7 @@ | |||
31 | #include <linux/slab.h> | 31 | #include <linux/slab.h> |
32 | #include <linux/tty.h> | 32 | #include <linux/tty.h> |
33 | #include <linux/init.h> | 33 | #include <linux/init.h> |
34 | #include <asm/uaccess.h> | 34 | #include <linux/uaccess.h> |
35 | #include <linux/delay.h> | 35 | #include <linux/delay.h> |
36 | #include <linux/mutex.h> | 36 | #include <linux/mutex.h> |
37 | 37 | ||
diff --git a/drivers/net/irda/kingsun-sir.c b/drivers/net/irda/kingsun-sir.c index fb5d162ec7d2..24c0f169a7b1 100644 --- a/drivers/net/irda/kingsun-sir.c +++ b/drivers/net/irda/kingsun-sir.c | |||
@@ -71,7 +71,7 @@ | |||
71 | 71 | ||
72 | #include <asm/unaligned.h> | 72 | #include <asm/unaligned.h> |
73 | #include <asm/byteorder.h> | 73 | #include <asm/byteorder.h> |
74 | #include <asm/uaccess.h> | 74 | #include <linux/uaccess.h> |
75 | 75 | ||
76 | #include <net/irda/irda.h> | 76 | #include <net/irda/irda.h> |
77 | #include <net/irda/wrapper.h> | 77 | #include <net/irda/wrapper.h> |
diff --git a/drivers/net/irda/ks959-sir.c b/drivers/net/irda/ks959-sir.c index 8e6e0edf2440..3affded3e30d 100644 --- a/drivers/net/irda/ks959-sir.c +++ b/drivers/net/irda/ks959-sir.c | |||
@@ -123,7 +123,7 @@ | |||
123 | 123 | ||
124 | #include <asm/unaligned.h> | 124 | #include <asm/unaligned.h> |
125 | #include <asm/byteorder.h> | 125 | #include <asm/byteorder.h> |
126 | #include <asm/uaccess.h> | 126 | #include <linux/uaccess.h> |
127 | 127 | ||
128 | #include <net/irda/irda.h> | 128 | #include <net/irda/irda.h> |
129 | #include <net/irda/wrapper.h> | 129 | #include <net/irda/wrapper.h> |
diff --git a/drivers/net/irda/ksdazzle-sir.c b/drivers/net/irda/ksdazzle-sir.c index 37f23a189b35..741452c7ce35 100644 --- a/drivers/net/irda/ksdazzle-sir.c +++ b/drivers/net/irda/ksdazzle-sir.c | |||
@@ -87,7 +87,7 @@ | |||
87 | 87 | ||
88 | #include <asm/unaligned.h> | 88 | #include <asm/unaligned.h> |
89 | #include <asm/byteorder.h> | 89 | #include <asm/byteorder.h> |
90 | #include <asm/uaccess.h> | 90 | #include <linux/uaccess.h> |
91 | 91 | ||
92 | #include <net/irda/irda.h> | 92 | #include <net/irda/irda.h> |
93 | #include <net/irda/wrapper.h> | 93 | #include <net/irda/wrapper.h> |
diff --git a/drivers/net/irda/mcs7780.c b/drivers/net/irda/mcs7780.c index bca6a1e72d1d..6f6ed75b63c9 100644 --- a/drivers/net/irda/mcs7780.c +++ b/drivers/net/irda/mcs7780.c | |||
@@ -55,7 +55,7 @@ | |||
55 | 55 | ||
56 | #include <asm/unaligned.h> | 56 | #include <asm/unaligned.h> |
57 | #include <asm/byteorder.h> | 57 | #include <asm/byteorder.h> |
58 | #include <asm/uaccess.h> | 58 | #include <linux/uaccess.h> |
59 | 59 | ||
60 | #include <net/irda/irda.h> | 60 | #include <net/irda/irda.h> |
61 | #include <net/irda/wrapper.h> | 61 | #include <net/irda/wrapper.h> |
diff --git a/drivers/net/irda/vlsi_ir.c b/drivers/net/irda/vlsi_ir.c index a0849f49bbec..ffedad2a360a 100644 --- a/drivers/net/irda/vlsi_ir.c +++ b/drivers/net/irda/vlsi_ir.c | |||
@@ -45,7 +45,7 @@ MODULE_LICENSE("GPL"); | |||
45 | #include <linux/seq_file.h> | 45 | #include <linux/seq_file.h> |
46 | #include <linux/math64.h> | 46 | #include <linux/math64.h> |
47 | #include <linux/mutex.h> | 47 | #include <linux/mutex.h> |
48 | #include <asm/uaccess.h> | 48 | #include <linux/uaccess.h> |
49 | #include <asm/byteorder.h> | 49 | #include <asm/byteorder.h> |
50 | 50 | ||
51 | #include <net/irda/irda.h> | 51 | #include <net/irda/irda.h> |
diff --git a/drivers/net/loopback.c b/drivers/net/loopback.c index 6255973e3dda..1e05b7c2d157 100644 --- a/drivers/net/loopback.c +++ b/drivers/net/loopback.c | |||
@@ -40,7 +40,7 @@ | |||
40 | #include <linux/fcntl.h> | 40 | #include <linux/fcntl.h> |
41 | #include <linux/in.h> | 41 | #include <linux/in.h> |
42 | 42 | ||
43 | #include <asm/uaccess.h> | 43 | #include <linux/uaccess.h> |
44 | #include <asm/io.h> | 44 | #include <asm/io.h> |
45 | 45 | ||
46 | #include <linux/inet.h> | 46 | #include <linux/inet.h> |
diff --git a/drivers/net/phy/davicom.c b/drivers/net/phy/davicom.c index 36e3e2033eca..e28913d9ea7e 100644 --- a/drivers/net/phy/davicom.c +++ b/drivers/net/phy/davicom.c | |||
@@ -32,7 +32,7 @@ | |||
32 | 32 | ||
33 | #include <asm/io.h> | 33 | #include <asm/io.h> |
34 | #include <asm/irq.h> | 34 | #include <asm/irq.h> |
35 | #include <asm/uaccess.h> | 35 | #include <linux/uaccess.h> |
36 | 36 | ||
37 | #define MII_DM9161_SCR 0x10 | 37 | #define MII_DM9161_SCR 0x10 |
38 | #define MII_DM9161_SCR_INIT 0x0610 | 38 | #define MII_DM9161_SCR_INIT 0x0610 |
diff --git a/drivers/net/phy/icplus.c b/drivers/net/phy/icplus.c index 22b51f01a94a..567280a72241 100644 --- a/drivers/net/phy/icplus.c +++ b/drivers/net/phy/icplus.c | |||
@@ -28,7 +28,7 @@ | |||
28 | 28 | ||
29 | #include <asm/io.h> | 29 | #include <asm/io.h> |
30 | #include <asm/irq.h> | 30 | #include <asm/irq.h> |
31 | #include <asm/uaccess.h> | 31 | #include <linux/uaccess.h> |
32 | 32 | ||
33 | MODULE_DESCRIPTION("ICPlus IP175C/IP101A/IP101G/IC1001 PHY drivers"); | 33 | MODULE_DESCRIPTION("ICPlus IP175C/IP101A/IP101G/IC1001 PHY drivers"); |
34 | MODULE_AUTHOR("Michael Barkowski"); | 34 | MODULE_AUTHOR("Michael Barkowski"); |
diff --git a/drivers/net/phy/lxt.c b/drivers/net/phy/lxt.c index b9fde1bcf0f0..8d198a1f0031 100644 --- a/drivers/net/phy/lxt.c +++ b/drivers/net/phy/lxt.c | |||
@@ -32,7 +32,7 @@ | |||
32 | 32 | ||
33 | #include <asm/io.h> | 33 | #include <asm/io.h> |
34 | #include <asm/irq.h> | 34 | #include <asm/irq.h> |
35 | #include <asm/uaccess.h> | 35 | #include <linux/uaccess.h> |
36 | 36 | ||
37 | /* The Level one LXT970 is used by many boards */ | 37 | /* The Level one LXT970 is used by many boards */ |
38 | 38 | ||
diff --git a/drivers/net/phy/qsemi.c b/drivers/net/phy/qsemi.c index d470db89e8dd..dbef8002bc28 100644 --- a/drivers/net/phy/qsemi.c +++ b/drivers/net/phy/qsemi.c | |||
@@ -32,7 +32,7 @@ | |||
32 | 32 | ||
33 | #include <asm/io.h> | 33 | #include <asm/io.h> |
34 | #include <asm/irq.h> | 34 | #include <asm/irq.h> |
35 | #include <asm/uaccess.h> | 35 | #include <linux/uaccess.h> |
36 | 36 | ||
37 | /* ------------------------------------------------------------------------- */ | 37 | /* ------------------------------------------------------------------------- */ |
38 | /* The Quality Semiconductor QS6612 is used on the RPX CLLF */ | 38 | /* The Quality Semiconductor QS6612 is used on the RPX CLLF */ |
diff --git a/drivers/net/ppp/ppp_async.c b/drivers/net/ppp/ppp_async.c index 9c889e0303dd..feb9569e3345 100644 --- a/drivers/net/ppp/ppp_async.c +++ b/drivers/net/ppp/ppp_async.c | |||
@@ -34,7 +34,7 @@ | |||
34 | #include <linux/jiffies.h> | 34 | #include <linux/jiffies.h> |
35 | #include <linux/slab.h> | 35 | #include <linux/slab.h> |
36 | #include <asm/unaligned.h> | 36 | #include <asm/unaligned.h> |
37 | #include <asm/uaccess.h> | 37 | #include <linux/uaccess.h> |
38 | #include <asm/string.h> | 38 | #include <asm/string.h> |
39 | 39 | ||
40 | #define PPP_VERSION "2.4.2" | 40 | #define PPP_VERSION "2.4.2" |
diff --git a/drivers/net/ppp/ppp_synctty.c b/drivers/net/ppp/ppp_synctty.c index 925d3e295bac..9ae53986cb4a 100644 --- a/drivers/net/ppp/ppp_synctty.c +++ b/drivers/net/ppp/ppp_synctty.c | |||
@@ -47,7 +47,7 @@ | |||
47 | #include <linux/interrupt.h> | 47 | #include <linux/interrupt.h> |
48 | #include <linux/slab.h> | 48 | #include <linux/slab.h> |
49 | #include <asm/unaligned.h> | 49 | #include <asm/unaligned.h> |
50 | #include <asm/uaccess.h> | 50 | #include <linux/uaccess.h> |
51 | 51 | ||
52 | #define PPP_VERSION "2.4.2" | 52 | #define PPP_VERSION "2.4.2" |
53 | 53 | ||
diff --git a/drivers/net/ppp/pppoe.c b/drivers/net/ppp/pppoe.c index f017c72bb7fd..d7e405268983 100644 --- a/drivers/net/ppp/pppoe.c +++ b/drivers/net/ppp/pppoe.c | |||
@@ -83,7 +83,7 @@ | |||
83 | #include <net/netns/generic.h> | 83 | #include <net/netns/generic.h> |
84 | #include <net/sock.h> | 84 | #include <net/sock.h> |
85 | 85 | ||
86 | #include <asm/uaccess.h> | 86 | #include <linux/uaccess.h> |
87 | 87 | ||
88 | #define PPPOE_HASH_BITS 4 | 88 | #define PPPOE_HASH_BITS 4 |
89 | #define PPPOE_HASH_SIZE (1 << PPPOE_HASH_BITS) | 89 | #define PPPOE_HASH_SIZE (1 << PPPOE_HASH_BITS) |
diff --git a/drivers/net/ppp/pppox.c b/drivers/net/ppp/pppox.c index b9c8be6283d3..c0599b3b23c0 100644 --- a/drivers/net/ppp/pppox.c +++ b/drivers/net/ppp/pppox.c | |||
@@ -34,7 +34,7 @@ | |||
34 | 34 | ||
35 | #include <net/sock.h> | 35 | #include <net/sock.h> |
36 | 36 | ||
37 | #include <asm/uaccess.h> | 37 | #include <linux/uaccess.h> |
38 | 38 | ||
39 | static const struct pppox_proto *pppox_protos[PX_MAX_PROTO + 1]; | 39 | static const struct pppox_proto *pppox_protos[PX_MAX_PROTO + 1]; |
40 | 40 | ||
diff --git a/drivers/net/sb1000.c b/drivers/net/sb1000.c index 8b8b53259783..7820fced33f6 100644 --- a/drivers/net/sb1000.c +++ b/drivers/net/sb1000.c | |||
@@ -55,7 +55,7 @@ static char version[] = "sb1000.c:v1.1.2 6/01/98 (fventuri@mediaone.net)\n"; | |||
55 | 55 | ||
56 | #include <asm/io.h> | 56 | #include <asm/io.h> |
57 | #include <asm/processor.h> | 57 | #include <asm/processor.h> |
58 | #include <asm/uaccess.h> | 58 | #include <linux/uaccess.h> |
59 | 59 | ||
60 | #ifdef SB1000_DEBUG | 60 | #ifdef SB1000_DEBUG |
61 | static int sb1000_debug = SB1000_DEBUG; | 61 | static int sb1000_debug = SB1000_DEBUG; |
diff --git a/drivers/net/slip/slhc.c b/drivers/net/slip/slhc.c index 27ed25252aac..5782733959f0 100644 --- a/drivers/net/slip/slhc.c +++ b/drivers/net/slip/slhc.c | |||
@@ -75,7 +75,7 @@ | |||
75 | #include <linux/skbuff.h> | 75 | #include <linux/skbuff.h> |
76 | #include <net/sock.h> | 76 | #include <net/sock.h> |
77 | #include <linux/timer.h> | 77 | #include <linux/timer.h> |
78 | #include <asm/uaccess.h> | 78 | #include <linux/uaccess.h> |
79 | #include <net/checksum.h> | 79 | #include <net/checksum.h> |
80 | #include <asm/unaligned.h> | 80 | #include <asm/unaligned.h> |
81 | 81 | ||
diff --git a/drivers/net/slip/slip.c b/drivers/net/slip/slip.c index 7e933d8ff811..9841f3dc0682 100644 --- a/drivers/net/slip/slip.c +++ b/drivers/net/slip/slip.c | |||
@@ -64,7 +64,7 @@ | |||
64 | #include <linux/module.h> | 64 | #include <linux/module.h> |
65 | #include <linux/moduleparam.h> | 65 | #include <linux/moduleparam.h> |
66 | 66 | ||
67 | #include <asm/uaccess.h> | 67 | #include <linux/uaccess.h> |
68 | #include <linux/bitops.h> | 68 | #include <linux/bitops.h> |
69 | #include <linux/sched.h> | 69 | #include <linux/sched.h> |
70 | #include <linux/string.h> | 70 | #include <linux/string.h> |
diff --git a/drivers/net/tun.c b/drivers/net/tun.c index 57e88b814700..cd8e02c94be0 100644 --- a/drivers/net/tun.c +++ b/drivers/net/tun.c | |||
@@ -73,7 +73,7 @@ | |||
73 | #include <linux/uio.h> | 73 | #include <linux/uio.h> |
74 | #include <linux/skb_array.h> | 74 | #include <linux/skb_array.h> |
75 | 75 | ||
76 | #include <asm/uaccess.h> | 76 | #include <linux/uaccess.h> |
77 | 77 | ||
78 | /* Uncomment to enable debugging */ | 78 | /* Uncomment to enable debugging */ |
79 | /* #define TUN_DEBUG 1 */ | 79 | /* #define TUN_DEBUG 1 */ |
diff --git a/drivers/net/usb/catc.c b/drivers/net/usb/catc.c index a1f2f6f1e614..3daa41bdd4ea 100644 --- a/drivers/net/usb/catc.c +++ b/drivers/net/usb/catc.c | |||
@@ -42,7 +42,7 @@ | |||
42 | #include <linux/crc32.h> | 42 | #include <linux/crc32.h> |
43 | #include <linux/bitops.h> | 43 | #include <linux/bitops.h> |
44 | #include <linux/gfp.h> | 44 | #include <linux/gfp.h> |
45 | #include <asm/uaccess.h> | 45 | #include <linux/uaccess.h> |
46 | 46 | ||
47 | #undef DEBUG | 47 | #undef DEBUG |
48 | 48 | ||
diff --git a/drivers/net/usb/kaweth.c b/drivers/net/usb/kaweth.c index 338aed5da14d..876f02f4945e 100644 --- a/drivers/net/usb/kaweth.c +++ b/drivers/net/usb/kaweth.c | |||
@@ -54,7 +54,7 @@ | |||
54 | #include <linux/dma-mapping.h> | 54 | #include <linux/dma-mapping.h> |
55 | #include <linux/wait.h> | 55 | #include <linux/wait.h> |
56 | #include <linux/firmware.h> | 56 | #include <linux/firmware.h> |
57 | #include <asm/uaccess.h> | 57 | #include <linux/uaccess.h> |
58 | #include <asm/byteorder.h> | 58 | #include <asm/byteorder.h> |
59 | 59 | ||
60 | #undef DEBUG | 60 | #undef DEBUG |
diff --git a/drivers/net/usb/pegasus.c b/drivers/net/usb/pegasus.c index 399f7ee57aea..24e803fe9a53 100644 --- a/drivers/net/usb/pegasus.c +++ b/drivers/net/usb/pegasus.c | |||
@@ -42,7 +42,7 @@ | |||
42 | #include <linux/usb.h> | 42 | #include <linux/usb.h> |
43 | #include <linux/module.h> | 43 | #include <linux/module.h> |
44 | #include <asm/byteorder.h> | 44 | #include <asm/byteorder.h> |
45 | #include <asm/uaccess.h> | 45 | #include <linux/uaccess.h> |
46 | #include "pegasus.h" | 46 | #include "pegasus.h" |
47 | 47 | ||
48 | /* | 48 | /* |
diff --git a/drivers/net/usb/rtl8150.c b/drivers/net/usb/rtl8150.c index 93a1bda1c1e5..95b7bd0d7abc 100644 --- a/drivers/net/usb/rtl8150.c +++ b/drivers/net/usb/rtl8150.c | |||
@@ -14,7 +14,7 @@ | |||
14 | #include <linux/mii.h> | 14 | #include <linux/mii.h> |
15 | #include <linux/ethtool.h> | 15 | #include <linux/ethtool.h> |
16 | #include <linux/usb.h> | 16 | #include <linux/usb.h> |
17 | #include <asm/uaccess.h> | 17 | #include <linux/uaccess.h> |
18 | 18 | ||
19 | /* Version Information */ | 19 | /* Version Information */ |
20 | #define DRIVER_VERSION "v0.6.2 (2004/08/27)" | 20 | #define DRIVER_VERSION "v0.6.2 (2004/08/27)" |
diff --git a/drivers/net/wan/dlci.c b/drivers/net/wan/dlci.c index ae6ecf401189..65ee2a6f248c 100644 --- a/drivers/net/wan/dlci.c +++ b/drivers/net/wan/dlci.c | |||
@@ -52,7 +52,7 @@ | |||
52 | 52 | ||
53 | #include <asm/io.h> | 53 | #include <asm/io.h> |
54 | #include <asm/dma.h> | 54 | #include <asm/dma.h> |
55 | #include <asm/uaccess.h> | 55 | #include <linux/uaccess.h> |
56 | 56 | ||
57 | static const char version[] = "DLCI driver v0.35, 4 Jan 1997, mike.mclagan@linux.org"; | 57 | static const char version[] = "DLCI driver v0.35, 4 Jan 1997, mike.mclagan@linux.org"; |
58 | 58 | ||
diff --git a/drivers/net/wan/dscc4.c b/drivers/net/wan/dscc4.c index 7351e5440ed7..799830ffcae2 100644 --- a/drivers/net/wan/dscc4.c +++ b/drivers/net/wan/dscc4.c | |||
@@ -95,7 +95,7 @@ | |||
95 | 95 | ||
96 | #include <asm/cache.h> | 96 | #include <asm/cache.h> |
97 | #include <asm/byteorder.h> | 97 | #include <asm/byteorder.h> |
98 | #include <asm/uaccess.h> | 98 | #include <linux/uaccess.h> |
99 | #include <asm/io.h> | 99 | #include <asm/io.h> |
100 | #include <asm/irq.h> | 100 | #include <asm/irq.h> |
101 | 101 | ||
diff --git a/drivers/net/wan/farsync.c b/drivers/net/wan/farsync.c index 03696d35ee9c..33265eb50420 100644 --- a/drivers/net/wan/farsync.c +++ b/drivers/net/wan/farsync.c | |||
@@ -30,7 +30,7 @@ | |||
30 | #include <linux/if.h> | 30 | #include <linux/if.h> |
31 | #include <linux/hdlc.h> | 31 | #include <linux/hdlc.h> |
32 | #include <asm/io.h> | 32 | #include <asm/io.h> |
33 | #include <asm/uaccess.h> | 33 | #include <linux/uaccess.h> |
34 | 34 | ||
35 | #include "farsync.h" | 35 | #include "farsync.h" |
36 | 36 | ||
diff --git a/drivers/net/wan/hd64570.c b/drivers/net/wan/hd64570.c index dc334c85d966..166696d2c496 100644 --- a/drivers/net/wan/hd64570.c +++ b/drivers/net/wan/hd64570.c | |||
@@ -39,7 +39,7 @@ | |||
39 | #include <linux/string.h> | 39 | #include <linux/string.h> |
40 | #include <linux/types.h> | 40 | #include <linux/types.h> |
41 | #include <asm/io.h> | 41 | #include <asm/io.h> |
42 | #include <asm/uaccess.h> | 42 | #include <linux/uaccess.h> |
43 | #include "hd64570.h" | 43 | #include "hd64570.h" |
44 | 44 | ||
45 | #define get_msci(port) (phy_node(port) ? MSCI1_OFFSET : MSCI0_OFFSET) | 45 | #define get_msci(port) (phy_node(port) ? MSCI1_OFFSET : MSCI0_OFFSET) |
diff --git a/drivers/net/wan/hd64572.c b/drivers/net/wan/hd64572.c index e92ecf1d3314..7ef49dab6855 100644 --- a/drivers/net/wan/hd64572.c +++ b/drivers/net/wan/hd64572.c | |||
@@ -39,7 +39,7 @@ | |||
39 | #include <linux/string.h> | 39 | #include <linux/string.h> |
40 | #include <linux/types.h> | 40 | #include <linux/types.h> |
41 | #include <asm/io.h> | 41 | #include <asm/io.h> |
42 | #include <asm/uaccess.h> | 42 | #include <linux/uaccess.h> |
43 | #include "hd64572.h" | 43 | #include "hd64572.h" |
44 | 44 | ||
45 | #define NAPI_WEIGHT 16 | 45 | #define NAPI_WEIGHT 16 |
diff --git a/drivers/net/wan/lapbether.c b/drivers/net/wan/lapbether.c index 6676607164d6..9df9ed62beff 100644 --- a/drivers/net/wan/lapbether.c +++ b/drivers/net/wan/lapbether.c | |||
@@ -35,7 +35,7 @@ | |||
35 | #include <linux/if_arp.h> | 35 | #include <linux/if_arp.h> |
36 | #include <linux/skbuff.h> | 36 | #include <linux/skbuff.h> |
37 | #include <net/sock.h> | 37 | #include <net/sock.h> |
38 | #include <asm/uaccess.h> | 38 | #include <linux/uaccess.h> |
39 | #include <linux/mm.h> | 39 | #include <linux/mm.h> |
40 | #include <linux/interrupt.h> | 40 | #include <linux/interrupt.h> |
41 | #include <linux/notifier.h> | 41 | #include <linux/notifier.h> |
diff --git a/drivers/net/wan/lmc/lmc_main.c b/drivers/net/wan/lmc/lmc_main.c index 001b7796740d..4698450c77d1 100644 --- a/drivers/net/wan/lmc/lmc_main.c +++ b/drivers/net/wan/lmc/lmc_main.c | |||
@@ -59,7 +59,7 @@ | |||
59 | #include <asm/processor.h> /* Processor type for cache alignment. */ | 59 | #include <asm/processor.h> /* Processor type for cache alignment. */ |
60 | #include <asm/io.h> | 60 | #include <asm/io.h> |
61 | #include <asm/dma.h> | 61 | #include <asm/dma.h> |
62 | #include <asm/uaccess.h> | 62 | #include <linux/uaccess.h> |
63 | //#include <asm/spinlock.h> | 63 | //#include <asm/spinlock.h> |
64 | 64 | ||
65 | #define DRIVER_MAJOR_VERSION 1 | 65 | #define DRIVER_MAJOR_VERSION 1 |
diff --git a/drivers/net/wan/lmc/lmc_media.c b/drivers/net/wan/lmc/lmc_media.c index ff2e4a5654c7..cffe23bd16e1 100644 --- a/drivers/net/wan/lmc/lmc_media.c +++ b/drivers/net/wan/lmc/lmc_media.c | |||
@@ -19,7 +19,7 @@ | |||
19 | #include <asm/io.h> | 19 | #include <asm/io.h> |
20 | #include <asm/dma.h> | 20 | #include <asm/dma.h> |
21 | 21 | ||
22 | #include <asm/uaccess.h> | 22 | #include <linux/uaccess.h> |
23 | 23 | ||
24 | #include "lmc.h" | 24 | #include "lmc.h" |
25 | #include "lmc_var.h" | 25 | #include "lmc_var.h" |
diff --git a/drivers/net/wan/sbni.c b/drivers/net/wan/sbni.c index 3f83be98d469..3ca3419c54a0 100644 --- a/drivers/net/wan/sbni.c +++ b/drivers/net/wan/sbni.c | |||
@@ -63,7 +63,7 @@ | |||
63 | #include <asm/types.h> | 63 | #include <asm/types.h> |
64 | #include <asm/byteorder.h> | 64 | #include <asm/byteorder.h> |
65 | #include <asm/irq.h> | 65 | #include <asm/irq.h> |
66 | #include <asm/uaccess.h> | 66 | #include <linux/uaccess.h> |
67 | 67 | ||
68 | #include "sbni.h" | 68 | #include "sbni.h" |
69 | 69 | ||
diff --git a/drivers/net/wan/sdla.c b/drivers/net/wan/sdla.c index 421ac5f85699..236c62538036 100644 --- a/drivers/net/wan/sdla.c +++ b/drivers/net/wan/sdla.c | |||
@@ -56,7 +56,7 @@ | |||
56 | 56 | ||
57 | #include <asm/io.h> | 57 | #include <asm/io.h> |
58 | #include <asm/dma.h> | 58 | #include <asm/dma.h> |
59 | #include <asm/uaccess.h> | 59 | #include <linux/uaccess.h> |
60 | 60 | ||
61 | static const char* version = "SDLA driver v0.30, 12 Sep 1996, mike.mclagan@linux.org"; | 61 | static const char* version = "SDLA driver v0.30, 12 Sep 1996, mike.mclagan@linux.org"; |
62 | 62 | ||
diff --git a/drivers/net/wireless/atmel/atmel.c b/drivers/net/wireless/atmel/atmel.c index eb92d5ab7a27..e12f62356fd1 100644 --- a/drivers/net/wireless/atmel/atmel.c +++ b/drivers/net/wireless/atmel/atmel.c | |||
@@ -48,7 +48,7 @@ | |||
48 | #include <linux/timer.h> | 48 | #include <linux/timer.h> |
49 | #include <asm/byteorder.h> | 49 | #include <asm/byteorder.h> |
50 | #include <asm/io.h> | 50 | #include <asm/io.h> |
51 | #include <asm/uaccess.h> | 51 | #include <linux/uaccess.h> |
52 | #include <linux/module.h> | 52 | #include <linux/module.h> |
53 | #include <linux/netdevice.h> | 53 | #include <linux/netdevice.h> |
54 | #include <linux/etherdevice.h> | 54 | #include <linux/etherdevice.h> |
diff --git a/drivers/net/wireless/intel/ipw2x00/ipw2100.c b/drivers/net/wireless/intel/ipw2x00/ipw2100.c index 64176090b196..356aba9d3d53 100644 --- a/drivers/net/wireless/intel/ipw2x00/ipw2100.c +++ b/drivers/net/wireless/intel/ipw2x00/ipw2100.c | |||
@@ -148,7 +148,7 @@ that only one external action is invoked at a time. | |||
148 | #include <linux/dma-mapping.h> | 148 | #include <linux/dma-mapping.h> |
149 | #include <linux/proc_fs.h> | 149 | #include <linux/proc_fs.h> |
150 | #include <linux/skbuff.h> | 150 | #include <linux/skbuff.h> |
151 | #include <asm/uaccess.h> | 151 | #include <linux/uaccess.h> |
152 | #include <asm/io.h> | 152 | #include <asm/io.h> |
153 | #include <linux/fs.h> | 153 | #include <linux/fs.h> |
154 | #include <linux/mm.h> | 154 | #include <linux/mm.h> |
diff --git a/drivers/net/wireless/intel/ipw2x00/libipw_geo.c b/drivers/net/wireless/intel/ipw2x00/libipw_geo.c index 218f2a32de21..ce7eda20a68f 100644 --- a/drivers/net/wireless/intel/ipw2x00/libipw_geo.c +++ b/drivers/net/wireless/intel/ipw2x00/libipw_geo.c | |||
@@ -38,7 +38,7 @@ | |||
38 | #include <linux/types.h> | 38 | #include <linux/types.h> |
39 | #include <linux/wireless.h> | 39 | #include <linux/wireless.h> |
40 | #include <linux/etherdevice.h> | 40 | #include <linux/etherdevice.h> |
41 | #include <asm/uaccess.h> | 41 | #include <linux/uaccess.h> |
42 | 42 | ||
43 | #include "libipw.h" | 43 | #include "libipw.h" |
44 | 44 | ||
diff --git a/drivers/net/wireless/intel/ipw2x00/libipw_module.c b/drivers/net/wireless/intel/ipw2x00/libipw_module.c index 2332075565f2..c58c5b2dcce5 100644 --- a/drivers/net/wireless/intel/ipw2x00/libipw_module.c +++ b/drivers/net/wireless/intel/ipw2x00/libipw_module.c | |||
@@ -46,7 +46,7 @@ | |||
46 | #include <linux/types.h> | 46 | #include <linux/types.h> |
47 | #include <linux/wireless.h> | 47 | #include <linux/wireless.h> |
48 | #include <linux/etherdevice.h> | 48 | #include <linux/etherdevice.h> |
49 | #include <asm/uaccess.h> | 49 | #include <linux/uaccess.h> |
50 | #include <net/net_namespace.h> | 50 | #include <net/net_namespace.h> |
51 | #include <net/arp.h> | 51 | #include <net/arp.h> |
52 | 52 | ||
diff --git a/drivers/net/wireless/intel/ipw2x00/libipw_rx.c b/drivers/net/wireless/intel/ipw2x00/libipw_rx.c index 1c1ec7bb9302..6df19f03355a 100644 --- a/drivers/net/wireless/intel/ipw2x00/libipw_rx.c +++ b/drivers/net/wireless/intel/ipw2x00/libipw_rx.c | |||
@@ -29,7 +29,7 @@ | |||
29 | #include <linux/types.h> | 29 | #include <linux/types.h> |
30 | #include <linux/wireless.h> | 30 | #include <linux/wireless.h> |
31 | #include <linux/etherdevice.h> | 31 | #include <linux/etherdevice.h> |
32 | #include <asm/uaccess.h> | 32 | #include <linux/uaccess.h> |
33 | #include <linux/ctype.h> | 33 | #include <linux/ctype.h> |
34 | 34 | ||
35 | #include <net/lib80211.h> | 35 | #include <net/lib80211.h> |
diff --git a/drivers/net/wireless/intel/ipw2x00/libipw_tx.c b/drivers/net/wireless/intel/ipw2x00/libipw_tx.c index e8c039879b05..048f1e3ada11 100644 --- a/drivers/net/wireless/intel/ipw2x00/libipw_tx.c +++ b/drivers/net/wireless/intel/ipw2x00/libipw_tx.c | |||
@@ -39,7 +39,7 @@ | |||
39 | #include <linux/types.h> | 39 | #include <linux/types.h> |
40 | #include <linux/wireless.h> | 40 | #include <linux/wireless.h> |
41 | #include <linux/etherdevice.h> | 41 | #include <linux/etherdevice.h> |
42 | #include <asm/uaccess.h> | 42 | #include <linux/uaccess.h> |
43 | 43 | ||
44 | #include "libipw.h" | 44 | #include "libipw.h" |
45 | 45 | ||
diff --git a/drivers/net/wireless/intersil/hostap/hostap_hw.c b/drivers/net/wireless/intersil/hostap/hostap_hw.c index a8a9bd8e176a..544ef7adde7d 100644 --- a/drivers/net/wireless/intersil/hostap/hostap_hw.c +++ b/drivers/net/wireless/intersil/hostap/hostap_hw.c | |||
@@ -32,7 +32,7 @@ | |||
32 | 32 | ||
33 | 33 | ||
34 | #include <asm/delay.h> | 34 | #include <asm/delay.h> |
35 | #include <asm/uaccess.h> | 35 | #include <linux/uaccess.h> |
36 | 36 | ||
37 | #include <linux/slab.h> | 37 | #include <linux/slab.h> |
38 | #include <linux/netdevice.h> | 38 | #include <linux/netdevice.h> |
diff --git a/drivers/net/wireless/intersil/hostap/hostap_main.c b/drivers/net/wireless/intersil/hostap/hostap_main.c index 1a16b8cb366e..544fc09dcb62 100644 --- a/drivers/net/wireless/intersil/hostap/hostap_main.c +++ b/drivers/net/wireless/intersil/hostap/hostap_main.c | |||
@@ -27,7 +27,7 @@ | |||
27 | #include <net/net_namespace.h> | 27 | #include <net/net_namespace.h> |
28 | #include <net/iw_handler.h> | 28 | #include <net/iw_handler.h> |
29 | #include <net/lib80211.h> | 29 | #include <net/lib80211.h> |
30 | #include <asm/uaccess.h> | 30 | #include <linux/uaccess.h> |
31 | 31 | ||
32 | #include "hostap_wlan.h" | 32 | #include "hostap_wlan.h" |
33 | #include "hostap_80211.h" | 33 | #include "hostap_80211.h" |
diff --git a/drivers/net/wireless/intersil/prism54/isl_38xx.c b/drivers/net/wireless/intersil/prism54/isl_38xx.c index 6700387ef9ab..ce9d4db0d9ca 100644 --- a/drivers/net/wireless/intersil/prism54/isl_38xx.c +++ b/drivers/net/wireless/intersil/prism54/isl_38xx.c | |||
@@ -21,7 +21,7 @@ | |||
21 | #include <linux/delay.h> | 21 | #include <linux/delay.h> |
22 | #include <linux/ktime.h> | 22 | #include <linux/ktime.h> |
23 | 23 | ||
24 | #include <asm/uaccess.h> | 24 | #include <linux/uaccess.h> |
25 | #include <asm/io.h> | 25 | #include <asm/io.h> |
26 | 26 | ||
27 | #include "prismcompat.h" | 27 | #include "prismcompat.h" |
diff --git a/drivers/net/wireless/intersil/prism54/isl_ioctl.c b/drivers/net/wireless/intersil/prism54/isl_ioctl.c index 48e8a978a832..334717b0a2be 100644 --- a/drivers/net/wireless/intersil/prism54/isl_ioctl.c +++ b/drivers/net/wireless/intersil/prism54/isl_ioctl.c | |||
@@ -26,7 +26,7 @@ | |||
26 | #include <linux/pci.h> | 26 | #include <linux/pci.h> |
27 | #include <linux/etherdevice.h> | 27 | #include <linux/etherdevice.h> |
28 | 28 | ||
29 | #include <asm/uaccess.h> | 29 | #include <linux/uaccess.h> |
30 | 30 | ||
31 | #include "prismcompat.h" | 31 | #include "prismcompat.h" |
32 | #include "isl_ioctl.h" | 32 | #include "isl_ioctl.h" |
diff --git a/drivers/net/wireless/ray_cs.c b/drivers/net/wireless/ray_cs.c index 4fdc7223c894..b94479441b0c 100644 --- a/drivers/net/wireless/ray_cs.c +++ b/drivers/net/wireless/ray_cs.c | |||
@@ -53,7 +53,7 @@ | |||
53 | 53 | ||
54 | #include <asm/io.h> | 54 | #include <asm/io.h> |
55 | #include <asm/byteorder.h> | 55 | #include <asm/byteorder.h> |
56 | #include <asm/uaccess.h> | 56 | #include <linux/uaccess.h> |
57 | 57 | ||
58 | /* Warning : these stuff will slow down the driver... */ | 58 | /* Warning : these stuff will slow down the driver... */ |
59 | #define WIRELESS_SPY /* Enable spying addresses */ | 59 | #define WIRELESS_SPY /* Enable spying addresses */ |
diff --git a/drivers/net/wireless/wl3501_cs.c b/drivers/net/wireless/wl3501_cs.c index d9d29ab88184..acec0d9ec422 100644 --- a/drivers/net/wireless/wl3501_cs.c +++ b/drivers/net/wireless/wl3501_cs.c | |||
@@ -51,7 +51,7 @@ | |||
51 | #include <pcmcia/ds.h> | 51 | #include <pcmcia/ds.h> |
52 | 52 | ||
53 | #include <asm/io.h> | 53 | #include <asm/io.h> |
54 | #include <asm/uaccess.h> | 54 | #include <linux/uaccess.h> |
55 | 55 | ||
56 | #include "wl3501.h" | 56 | #include "wl3501.h" |
57 | 57 | ||
diff --git a/drivers/nubus/proc.c b/drivers/nubus/proc.c index 5371b374f1fe..e8f68f5732f1 100644 --- a/drivers/nubus/proc.c +++ b/drivers/nubus/proc.c | |||
@@ -25,7 +25,7 @@ | |||
25 | #include <linux/init.h> | 25 | #include <linux/init.h> |
26 | #include <linux/module.h> | 26 | #include <linux/module.h> |
27 | 27 | ||
28 | #include <asm/uaccess.h> | 28 | #include <linux/uaccess.h> |
29 | #include <asm/byteorder.h> | 29 | #include <asm/byteorder.h> |
30 | 30 | ||
31 | static int | 31 | static int |
diff --git a/drivers/oprofile/event_buffer.c b/drivers/oprofile/event_buffer.c index c0cc4e7ff023..67935fbbbcab 100644 --- a/drivers/oprofile/event_buffer.c +++ b/drivers/oprofile/event_buffer.c | |||
@@ -18,7 +18,7 @@ | |||
18 | #include <linux/capability.h> | 18 | #include <linux/capability.h> |
19 | #include <linux/dcookies.h> | 19 | #include <linux/dcookies.h> |
20 | #include <linux/fs.h> | 20 | #include <linux/fs.h> |
21 | #include <asm/uaccess.h> | 21 | #include <linux/uaccess.h> |
22 | 22 | ||
23 | #include "oprof.h" | 23 | #include "oprof.h" |
24 | #include "event_buffer.h" | 24 | #include "event_buffer.h" |
diff --git a/drivers/oprofile/oprofilefs.c b/drivers/oprofile/oprofilefs.c index 134398e0231b..d77ebbfc67c9 100644 --- a/drivers/oprofile/oprofilefs.c +++ b/drivers/oprofile/oprofilefs.c | |||
@@ -15,7 +15,7 @@ | |||
15 | #include <linux/oprofile.h> | 15 | #include <linux/oprofile.h> |
16 | #include <linux/fs.h> | 16 | #include <linux/fs.h> |
17 | #include <linux/pagemap.h> | 17 | #include <linux/pagemap.h> |
18 | #include <asm/uaccess.h> | 18 | #include <linux/uaccess.h> |
19 | 19 | ||
20 | #include "oprof.h" | 20 | #include "oprof.h" |
21 | 21 | ||
diff --git a/drivers/parisc/ccio-dma.c b/drivers/parisc/ccio-dma.c index 3ed6238f8f6e..553ef8a5d588 100644 --- a/drivers/parisc/ccio-dma.c +++ b/drivers/parisc/ccio-dma.c | |||
@@ -48,7 +48,7 @@ | |||
48 | 48 | ||
49 | #include <asm/byteorder.h> | 49 | #include <asm/byteorder.h> |
50 | #include <asm/cache.h> /* for L1_CACHE_BYTES */ | 50 | #include <asm/cache.h> /* for L1_CACHE_BYTES */ |
51 | #include <asm/uaccess.h> | 51 | #include <linux/uaccess.h> |
52 | #include <asm/page.h> | 52 | #include <asm/page.h> |
53 | #include <asm/dma.h> | 53 | #include <asm/dma.h> |
54 | #include <asm/io.h> | 54 | #include <asm/io.h> |
diff --git a/drivers/parisc/ccio-rm-dma.c b/drivers/parisc/ccio-rm-dma.c index f78f6f1aef47..1bf988010855 100644 --- a/drivers/parisc/ccio-rm-dma.c +++ b/drivers/parisc/ccio-rm-dma.c | |||
@@ -40,7 +40,7 @@ | |||
40 | #include <linux/pci.h> | 40 | #include <linux/pci.h> |
41 | #include <linux/gfp.h> | 41 | #include <linux/gfp.h> |
42 | 42 | ||
43 | #include <asm/uaccess.h> | 43 | #include <linux/uaccess.h> |
44 | 44 | ||
45 | #include <asm/io.h> | 45 | #include <asm/io.h> |
46 | #include <asm/hardware.h> | 46 | #include <asm/hardware.h> |
diff --git a/drivers/parisc/eisa_eeprom.c b/drivers/parisc/eisa_eeprom.c index 783906fe659a..4dd9b1308128 100644 --- a/drivers/parisc/eisa_eeprom.c +++ b/drivers/parisc/eisa_eeprom.c | |||
@@ -26,7 +26,7 @@ | |||
26 | #include <linux/slab.h> | 26 | #include <linux/slab.h> |
27 | #include <linux/fs.h> | 27 | #include <linux/fs.h> |
28 | #include <asm/io.h> | 28 | #include <asm/io.h> |
29 | #include <asm/uaccess.h> | 29 | #include <linux/uaccess.h> |
30 | #include <asm/eisa_eeprom.h> | 30 | #include <asm/eisa_eeprom.h> |
31 | 31 | ||
32 | #define EISA_EEPROM_MINOR 241 | 32 | #define EISA_EEPROM_MINOR 241 |
diff --git a/drivers/parisc/eisa_enumerator.c b/drivers/parisc/eisa_enumerator.c index 21905fef2cbf..d9bffe8d29b9 100644 --- a/drivers/parisc/eisa_enumerator.c +++ b/drivers/parisc/eisa_enumerator.c | |||
@@ -15,7 +15,7 @@ | |||
15 | #include <linux/kernel.h> | 15 | #include <linux/kernel.h> |
16 | #include <linux/slab.h> | 16 | #include <linux/slab.h> |
17 | #include <asm/io.h> | 17 | #include <asm/io.h> |
18 | #include <asm/uaccess.h> | 18 | #include <linux/uaccess.h> |
19 | #include <asm/byteorder.h> | 19 | #include <asm/byteorder.h> |
20 | 20 | ||
21 | #include <asm/eisa_bus.h> | 21 | #include <asm/eisa_bus.h> |
diff --git a/drivers/parisc/led.c b/drivers/parisc/led.c index b48243131993..ff1a332d76e4 100644 --- a/drivers/parisc/led.c +++ b/drivers/parisc/led.c | |||
@@ -49,7 +49,7 @@ | |||
49 | #include <asm/param.h> /* HZ */ | 49 | #include <asm/param.h> /* HZ */ |
50 | #include <asm/led.h> | 50 | #include <asm/led.h> |
51 | #include <asm/pdc.h> | 51 | #include <asm/pdc.h> |
52 | #include <asm/uaccess.h> | 52 | #include <linux/uaccess.h> |
53 | 53 | ||
54 | /* The control of the LEDs and LCDs on PARISC-machines have to be done | 54 | /* The control of the LEDs and LCDs on PARISC-machines have to be done |
55 | completely in software. The necessary calculations are done in a work queue | 55 | completely in software. The necessary calculations are done in a work queue |
diff --git a/drivers/parisc/pdc_stable.c b/drivers/parisc/pdc_stable.c index 3651c3871d5b..055f83fddc18 100644 --- a/drivers/parisc/pdc_stable.c +++ b/drivers/parisc/pdc_stable.c | |||
@@ -68,7 +68,7 @@ | |||
68 | 68 | ||
69 | #include <asm/pdc.h> | 69 | #include <asm/pdc.h> |
70 | #include <asm/page.h> | 70 | #include <asm/page.h> |
71 | #include <asm/uaccess.h> | 71 | #include <linux/uaccess.h> |
72 | #include <asm/hardware.h> | 72 | #include <asm/hardware.h> |
73 | 73 | ||
74 | #define PDCS_VERSION "0.30" | 74 | #define PDCS_VERSION "0.30" |
diff --git a/drivers/parport/daisy.c b/drivers/parport/daisy.c index 5bed17f68ef4..d998d0ed2bec 100644 --- a/drivers/parport/daisy.c +++ b/drivers/parport/daisy.c | |||
@@ -26,7 +26,7 @@ | |||
26 | #include <linux/sched.h> | 26 | #include <linux/sched.h> |
27 | 27 | ||
28 | #include <asm/current.h> | 28 | #include <asm/current.h> |
29 | #include <asm/uaccess.h> | 29 | #include <linux/uaccess.h> |
30 | 30 | ||
31 | #undef DEBUG | 31 | #undef DEBUG |
32 | 32 | ||
diff --git a/drivers/parport/ieee1284_ops.c b/drivers/parport/ieee1284_ops.c index 2e21af43d91e..c0e7d21c88c2 100644 --- a/drivers/parport/ieee1284_ops.c +++ b/drivers/parport/ieee1284_ops.c | |||
@@ -18,7 +18,7 @@ | |||
18 | #include <linux/parport.h> | 18 | #include <linux/parport.h> |
19 | #include <linux/delay.h> | 19 | #include <linux/delay.h> |
20 | #include <linux/sched.h> | 20 | #include <linux/sched.h> |
21 | #include <asm/uaccess.h> | 21 | #include <linux/uaccess.h> |
22 | 22 | ||
23 | #undef DEBUG /* undef me for production */ | 23 | #undef DEBUG /* undef me for production */ |
24 | 24 | ||
diff --git a/drivers/parport/parport_gsc.c b/drivers/parport/parport_gsc.c index 6e3a60c78873..dd6d4ccb41e4 100644 --- a/drivers/parport/parport_gsc.c +++ b/drivers/parport/parport_gsc.c | |||
@@ -34,7 +34,7 @@ | |||
34 | 34 | ||
35 | #include <asm/io.h> | 35 | #include <asm/io.h> |
36 | #include <asm/dma.h> | 36 | #include <asm/dma.h> |
37 | #include <asm/uaccess.h> | 37 | #include <linux/uaccess.h> |
38 | #include <asm/superio.h> | 38 | #include <asm/superio.h> |
39 | 39 | ||
40 | #include <linux/parport.h> | 40 | #include <linux/parport.h> |
diff --git a/drivers/parport/probe.c b/drivers/parport/probe.c index d763bc9e44c1..4d1d6eaf333d 100644 --- a/drivers/parport/probe.c +++ b/drivers/parport/probe.c | |||
@@ -10,7 +10,7 @@ | |||
10 | #include <linux/ctype.h> | 10 | #include <linux/ctype.h> |
11 | #include <linux/string.h> | 11 | #include <linux/string.h> |
12 | #include <linux/slab.h> | 12 | #include <linux/slab.h> |
13 | #include <asm/uaccess.h> | 13 | #include <linux/uaccess.h> |
14 | 14 | ||
15 | static const struct { | 15 | static const struct { |
16 | const char *token; | 16 | const char *token; |
diff --git a/drivers/parport/procfs.c b/drivers/parport/procfs.c index 74ed3e459a3e..8ee44a104ac4 100644 --- a/drivers/parport/procfs.c +++ b/drivers/parport/procfs.c | |||
@@ -23,7 +23,7 @@ | |||
23 | #include <linux/sysctl.h> | 23 | #include <linux/sysctl.h> |
24 | #include <linux/device.h> | 24 | #include <linux/device.h> |
25 | 25 | ||
26 | #include <asm/uaccess.h> | 26 | #include <linux/uaccess.h> |
27 | 27 | ||
28 | #if defined(CONFIG_SYSCTL) && defined(CONFIG_PROC_FS) | 28 | #if defined(CONFIG_SYSCTL) && defined(CONFIG_PROC_FS) |
29 | 29 | ||
diff --git a/drivers/pci/hotplug/acpiphp_ibm.c b/drivers/pci/hotplug/acpiphp_ibm.c index f6221d739f59..68d105aaf4e2 100644 --- a/drivers/pci/hotplug/acpiphp_ibm.c +++ b/drivers/pci/hotplug/acpiphp_ibm.c | |||
@@ -35,7 +35,7 @@ | |||
35 | #include <linux/kobject.h> | 35 | #include <linux/kobject.h> |
36 | #include <linux/moduleparam.h> | 36 | #include <linux/moduleparam.h> |
37 | #include <linux/pci.h> | 37 | #include <linux/pci.h> |
38 | #include <asm/uaccess.h> | 38 | #include <linux/uaccess.h> |
39 | 39 | ||
40 | #include "acpiphp.h" | 40 | #include "acpiphp.h" |
41 | #include "../pci.h" | 41 | #include "../pci.h" |
diff --git a/drivers/pci/hotplug/cpqphp_core.c b/drivers/pci/hotplug/cpqphp_core.c index ec009a7dba20..33d300d12411 100644 --- a/drivers/pci/hotplug/cpqphp_core.c +++ b/drivers/pci/hotplug/cpqphp_core.c | |||
@@ -40,7 +40,7 @@ | |||
40 | #include <linux/init.h> | 40 | #include <linux/init.h> |
41 | #include <linux/interrupt.h> | 41 | #include <linux/interrupt.h> |
42 | 42 | ||
43 | #include <asm/uaccess.h> | 43 | #include <linux/uaccess.h> |
44 | 44 | ||
45 | #include "cpqphp.h" | 45 | #include "cpqphp.h" |
46 | #include "cpqphp_nvram.h" | 46 | #include "cpqphp_nvram.h" |
diff --git a/drivers/pci/hotplug/cpqphp_nvram.c b/drivers/pci/hotplug/cpqphp_nvram.c index c25fc9061059..daae8071a156 100644 --- a/drivers/pci/hotplug/cpqphp_nvram.c +++ b/drivers/pci/hotplug/cpqphp_nvram.c | |||
@@ -34,7 +34,7 @@ | |||
34 | #include <linux/workqueue.h> | 34 | #include <linux/workqueue.h> |
35 | #include <linux/pci.h> | 35 | #include <linux/pci.h> |
36 | #include <linux/pci_hotplug.h> | 36 | #include <linux/pci_hotplug.h> |
37 | #include <asm/uaccess.h> | 37 | #include <linux/uaccess.h> |
38 | #include "cpqphp.h" | 38 | #include "cpqphp.h" |
39 | #include "cpqphp_nvram.h" | 39 | #include "cpqphp_nvram.h" |
40 | 40 | ||
diff --git a/drivers/pci/hotplug/pci_hotplug_core.c b/drivers/pci/hotplug/pci_hotplug_core.c index 56013d0daf7f..7b0e97be9063 100644 --- a/drivers/pci/hotplug/pci_hotplug_core.c +++ b/drivers/pci/hotplug/pci_hotplug_core.c | |||
@@ -42,7 +42,7 @@ | |||
42 | #include <linux/mutex.h> | 42 | #include <linux/mutex.h> |
43 | #include <linux/pci.h> | 43 | #include <linux/pci.h> |
44 | #include <linux/pci_hotplug.h> | 44 | #include <linux/pci_hotplug.h> |
45 | #include <asm/uaccess.h> | 45 | #include <linux/uaccess.h> |
46 | #include "../pci.h" | 46 | #include "../pci.h" |
47 | #include "cpci_hotplug.h" | 47 | #include "cpci_hotplug.h" |
48 | 48 | ||
diff --git a/drivers/pci/proc.c b/drivers/pci/proc.c index 2408abe4ee8c..f82710a8694d 100644 --- a/drivers/pci/proc.c +++ b/drivers/pci/proc.c | |||
@@ -11,7 +11,7 @@ | |||
11 | #include <linux/proc_fs.h> | 11 | #include <linux/proc_fs.h> |
12 | #include <linux/seq_file.h> | 12 | #include <linux/seq_file.h> |
13 | #include <linux/capability.h> | 13 | #include <linux/capability.h> |
14 | #include <asm/uaccess.h> | 14 | #include <linux/uaccess.h> |
15 | #include <asm/byteorder.h> | 15 | #include <asm/byteorder.h> |
16 | #include "pci.h" | 16 | #include "pci.h" |
17 | 17 | ||
diff --git a/drivers/pci/syscall.c b/drivers/pci/syscall.c index b91c4da68365..9bf993e1f71e 100644 --- a/drivers/pci/syscall.c +++ b/drivers/pci/syscall.c | |||
@@ -10,7 +10,7 @@ | |||
10 | #include <linux/errno.h> | 10 | #include <linux/errno.h> |
11 | #include <linux/pci.h> | 11 | #include <linux/pci.h> |
12 | #include <linux/syscalls.h> | 12 | #include <linux/syscalls.h> |
13 | #include <asm/uaccess.h> | 13 | #include <linux/uaccess.h> |
14 | #include "pci.h" | 14 | #include "pci.h" |
15 | 15 | ||
16 | SYSCALL_DEFINE5(pciconfig_read, unsigned long, bus, unsigned long, dfn, | 16 | SYSCALL_DEFINE5(pciconfig_read, unsigned long, bus, unsigned long, dfn, |
diff --git a/drivers/platform/x86/sony-laptop.c b/drivers/platform/x86/sony-laptop.c index c890a49587e4..aa2ee51d3547 100644 --- a/drivers/platform/x86/sony-laptop.c +++ b/drivers/platform/x86/sony-laptop.c | |||
@@ -68,7 +68,7 @@ | |||
68 | #include <linux/poll.h> | 68 | #include <linux/poll.h> |
69 | #include <linux/miscdevice.h> | 69 | #include <linux/miscdevice.h> |
70 | #endif | 70 | #endif |
71 | #include <asm/uaccess.h> | 71 | #include <linux/uaccess.h> |
72 | #include <acpi/video.h> | 72 | #include <acpi/video.h> |
73 | 73 | ||
74 | #define dprintk(fmt, ...) \ | 74 | #define dprintk(fmt, ...) \ |
diff --git a/drivers/platform/x86/thinkpad_acpi.c b/drivers/platform/x86/thinkpad_acpi.c index aa65a857a6b1..cacb43fb1df7 100644 --- a/drivers/platform/x86/thinkpad_acpi.c +++ b/drivers/platform/x86/thinkpad_acpi.c | |||
@@ -82,7 +82,7 @@ | |||
82 | #include <sound/core.h> | 82 | #include <sound/core.h> |
83 | #include <sound/control.h> | 83 | #include <sound/control.h> |
84 | #include <sound/initval.h> | 84 | #include <sound/initval.h> |
85 | #include <asm/uaccess.h> | 85 | #include <linux/uaccess.h> |
86 | #include <acpi/video.h> | 86 | #include <acpi/video.h> |
87 | 87 | ||
88 | /* ThinkPad CMOS commands */ | 88 | /* ThinkPad CMOS commands */ |
diff --git a/drivers/pnp/interface.c b/drivers/pnp/interface.c index 4b6808ff0e5d..5c5b3d47b5f6 100644 --- a/drivers/pnp/interface.c +++ b/drivers/pnp/interface.c | |||
@@ -17,7 +17,7 @@ | |||
17 | #include <linux/slab.h> | 17 | #include <linux/slab.h> |
18 | #include <linux/mutex.h> | 18 | #include <linux/mutex.h> |
19 | 19 | ||
20 | #include <asm/uaccess.h> | 20 | #include <linux/uaccess.h> |
21 | 21 | ||
22 | #include "base.h" | 22 | #include "base.h" |
23 | 23 | ||
diff --git a/drivers/pnp/pnpbios/proc.c b/drivers/pnp/pnpbios/proc.c index c212db0fc65d..5ee6b2a5f8d5 100644 --- a/drivers/pnp/pnpbios/proc.c +++ b/drivers/pnp/pnpbios/proc.c | |||
@@ -26,7 +26,7 @@ | |||
26 | #include <linux/seq_file.h> | 26 | #include <linux/seq_file.h> |
27 | #include <linux/init.h> | 27 | #include <linux/init.h> |
28 | 28 | ||
29 | #include <asm/uaccess.h> | 29 | #include <linux/uaccess.h> |
30 | 30 | ||
31 | #include "pnpbios.h" | 31 | #include "pnpbios.h" |
32 | 32 | ||
diff --git a/drivers/s390/block/dasd_devmap.c b/drivers/s390/block/dasd_devmap.c index 84ca314c87e3..dd46e96a3034 100644 --- a/drivers/s390/block/dasd_devmap.c +++ b/drivers/s390/block/dasd_devmap.c | |||
@@ -20,7 +20,7 @@ | |||
20 | #include <linux/slab.h> | 20 | #include <linux/slab.h> |
21 | 21 | ||
22 | #include <asm/debug.h> | 22 | #include <asm/debug.h> |
23 | #include <asm/uaccess.h> | 23 | #include <linux/uaccess.h> |
24 | #include <asm/ipl.h> | 24 | #include <asm/ipl.h> |
25 | 25 | ||
26 | /* This is ugly... */ | 26 | /* This is ugly... */ |
diff --git a/drivers/s390/block/dasd_eckd.c b/drivers/s390/block/dasd_eckd.c index 67bf50c9946f..ade04216c970 100644 --- a/drivers/s390/block/dasd_eckd.c +++ b/drivers/s390/block/dasd_eckd.c | |||
@@ -26,7 +26,7 @@ | |||
26 | #include <asm/idals.h> | 26 | #include <asm/idals.h> |
27 | #include <asm/ebcdic.h> | 27 | #include <asm/ebcdic.h> |
28 | #include <asm/io.h> | 28 | #include <asm/io.h> |
29 | #include <asm/uaccess.h> | 29 | #include <linux/uaccess.h> |
30 | #include <asm/cio.h> | 30 | #include <asm/cio.h> |
31 | #include <asm/ccwdev.h> | 31 | #include <asm/ccwdev.h> |
32 | #include <asm/itcw.h> | 32 | #include <asm/itcw.h> |
diff --git a/drivers/s390/block/dasd_eer.c b/drivers/s390/block/dasd_eer.c index 6c5d671304b4..8713fefd794b 100644 --- a/drivers/s390/block/dasd_eer.c +++ b/drivers/s390/block/dasd_eer.c | |||
@@ -20,7 +20,7 @@ | |||
20 | #include <linux/err.h> | 20 | #include <linux/err.h> |
21 | #include <linux/slab.h> | 21 | #include <linux/slab.h> |
22 | 22 | ||
23 | #include <asm/uaccess.h> | 23 | #include <linux/uaccess.h> |
24 | #include <linux/atomic.h> | 24 | #include <linux/atomic.h> |
25 | #include <asm/ebcdic.h> | 25 | #include <asm/ebcdic.h> |
26 | 26 | ||
diff --git a/drivers/s390/block/dasd_erp.c b/drivers/s390/block/dasd_erp.c index 113c1c1fa1af..9e3419124264 100644 --- a/drivers/s390/block/dasd_erp.c +++ b/drivers/s390/block/dasd_erp.c | |||
@@ -15,7 +15,7 @@ | |||
15 | 15 | ||
16 | #include <asm/debug.h> | 16 | #include <asm/debug.h> |
17 | #include <asm/ebcdic.h> | 17 | #include <asm/ebcdic.h> |
18 | #include <asm/uaccess.h> | 18 | #include <linux/uaccess.h> |
19 | 19 | ||
20 | /* This is ugly... */ | 20 | /* This is ugly... */ |
21 | #define PRINTK_HEADER "dasd_erp:" | 21 | #define PRINTK_HEADER "dasd_erp:" |
diff --git a/drivers/s390/block/dasd_genhd.c b/drivers/s390/block/dasd_genhd.c index e2fa759bf2ad..8b1341fb2e0d 100644 --- a/drivers/s390/block/dasd_genhd.c +++ b/drivers/s390/block/dasd_genhd.c | |||
@@ -16,7 +16,7 @@ | |||
16 | #include <linux/fs.h> | 16 | #include <linux/fs.h> |
17 | #include <linux/blkpg.h> | 17 | #include <linux/blkpg.h> |
18 | 18 | ||
19 | #include <asm/uaccess.h> | 19 | #include <linux/uaccess.h> |
20 | 20 | ||
21 | /* This is ugly... */ | 21 | /* This is ugly... */ |
22 | #define PRINTK_HEADER "dasd_gendisk:" | 22 | #define PRINTK_HEADER "dasd_gendisk:" |
diff --git a/drivers/s390/block/dasd_ioctl.c b/drivers/s390/block/dasd_ioctl.c index 9dfbd972f844..ec65c1e51c2a 100644 --- a/drivers/s390/block/dasd_ioctl.c +++ b/drivers/s390/block/dasd_ioctl.c | |||
@@ -21,7 +21,7 @@ | |||
21 | #include <asm/ccwdev.h> | 21 | #include <asm/ccwdev.h> |
22 | #include <asm/schid.h> | 22 | #include <asm/schid.h> |
23 | #include <asm/cmb.h> | 23 | #include <asm/cmb.h> |
24 | #include <asm/uaccess.h> | 24 | #include <linux/uaccess.h> |
25 | 25 | ||
26 | /* This is ugly... */ | 26 | /* This is ugly... */ |
27 | #define PRINTK_HEADER "dasd_ioctl:" | 27 | #define PRINTK_HEADER "dasd_ioctl:" |
diff --git a/drivers/s390/block/dasd_proc.c b/drivers/s390/block/dasd_proc.c index bad7a196bf84..70dc2c4cd3f7 100644 --- a/drivers/s390/block/dasd_proc.c +++ b/drivers/s390/block/dasd_proc.c | |||
@@ -20,7 +20,7 @@ | |||
20 | #include <linux/proc_fs.h> | 20 | #include <linux/proc_fs.h> |
21 | 21 | ||
22 | #include <asm/debug.h> | 22 | #include <asm/debug.h> |
23 | #include <asm/uaccess.h> | 23 | #include <linux/uaccess.h> |
24 | 24 | ||
25 | /* This is ugly... */ | 25 | /* This is ugly... */ |
26 | #define PRINTK_HEADER "dasd_proc:" | 26 | #define PRINTK_HEADER "dasd_proc:" |
diff --git a/drivers/s390/block/xpram.c b/drivers/s390/block/xpram.c index 288f59a4147b..b9d7e755c8a3 100644 --- a/drivers/s390/block/xpram.c +++ b/drivers/s390/block/xpram.c | |||
@@ -41,7 +41,7 @@ | |||
41 | #include <linux/suspend.h> | 41 | #include <linux/suspend.h> |
42 | #include <linux/platform_device.h> | 42 | #include <linux/platform_device.h> |
43 | #include <linux/gfp.h> | 43 | #include <linux/gfp.h> |
44 | #include <asm/uaccess.h> | 44 | #include <linux/uaccess.h> |
45 | 45 | ||
46 | #define XPRAM_NAME "xpram" | 46 | #define XPRAM_NAME "xpram" |
47 | #define XPRAM_DEVS 1 /* one partition */ | 47 | #define XPRAM_DEVS 1 /* one partition */ |
diff --git a/drivers/s390/char/con3215.c b/drivers/s390/char/con3215.c index 1b8d825623bd..9ec4ae056158 100644 --- a/drivers/s390/char/con3215.c +++ b/drivers/s390/char/con3215.c | |||
@@ -25,7 +25,7 @@ | |||
25 | #include <asm/cio.h> | 25 | #include <asm/cio.h> |
26 | #include <asm/io.h> | 26 | #include <asm/io.h> |
27 | #include <asm/ebcdic.h> | 27 | #include <asm/ebcdic.h> |
28 | #include <asm/uaccess.h> | 28 | #include <linux/uaccess.h> |
29 | #include <asm/delay.h> | 29 | #include <asm/delay.h> |
30 | #include <asm/cpcmd.h> | 30 | #include <asm/cpcmd.h> |
31 | #include <asm/setup.h> | 31 | #include <asm/setup.h> |
diff --git a/drivers/s390/char/keyboard.c b/drivers/s390/char/keyboard.c index 7b9c50aa4cc9..82c913318b73 100644 --- a/drivers/s390/char/keyboard.c +++ b/drivers/s390/char/keyboard.c | |||
@@ -14,7 +14,7 @@ | |||
14 | #include <linux/consolemap.h> | 14 | #include <linux/consolemap.h> |
15 | #include <linux/kbd_kern.h> | 15 | #include <linux/kbd_kern.h> |
16 | #include <linux/kbd_diacr.h> | 16 | #include <linux/kbd_diacr.h> |
17 | #include <asm/uaccess.h> | 17 | #include <linux/uaccess.h> |
18 | 18 | ||
19 | #include "keyboard.h" | 19 | #include "keyboard.h" |
20 | 20 | ||
diff --git a/drivers/s390/char/monreader.c b/drivers/s390/char/monreader.c index ebdeaa53182d..027ac6ae5eea 100644 --- a/drivers/s390/char/monreader.c +++ b/drivers/s390/char/monreader.c | |||
@@ -23,7 +23,7 @@ | |||
23 | #include <linux/device.h> | 23 | #include <linux/device.h> |
24 | #include <linux/slab.h> | 24 | #include <linux/slab.h> |
25 | #include <net/iucv/iucv.h> | 25 | #include <net/iucv/iucv.h> |
26 | #include <asm/uaccess.h> | 26 | #include <linux/uaccess.h> |
27 | #include <asm/ebcdic.h> | 27 | #include <asm/ebcdic.h> |
28 | #include <asm/extmem.h> | 28 | #include <asm/extmem.h> |
29 | 29 | ||
diff --git a/drivers/s390/char/monwriter.c b/drivers/s390/char/monwriter.c index 9b5d1138b2e2..571a7e352755 100644 --- a/drivers/s390/char/monwriter.c +++ b/drivers/s390/char/monwriter.c | |||
@@ -21,7 +21,7 @@ | |||
21 | #include <linux/mutex.h> | 21 | #include <linux/mutex.h> |
22 | #include <linux/platform_device.h> | 22 | #include <linux/platform_device.h> |
23 | #include <linux/slab.h> | 23 | #include <linux/slab.h> |
24 | #include <asm/uaccess.h> | 24 | #include <linux/uaccess.h> |
25 | #include <asm/ebcdic.h> | 25 | #include <asm/ebcdic.h> |
26 | #include <asm/io.h> | 26 | #include <asm/io.h> |
27 | #include <asm/appldata.h> | 27 | #include <asm/appldata.h> |
diff --git a/drivers/s390/char/sclp_rw.c b/drivers/s390/char/sclp_rw.c index 6010cd347a08..91b26df5227d 100644 --- a/drivers/s390/char/sclp_rw.c +++ b/drivers/s390/char/sclp_rw.c | |||
@@ -13,7 +13,7 @@ | |||
13 | #include <linux/string.h> | 13 | #include <linux/string.h> |
14 | #include <linux/spinlock.h> | 14 | #include <linux/spinlock.h> |
15 | #include <linux/ctype.h> | 15 | #include <linux/ctype.h> |
16 | #include <asm/uaccess.h> | 16 | #include <linux/uaccess.h> |
17 | 17 | ||
18 | #include "sclp.h" | 18 | #include "sclp.h" |
19 | #include "sclp_rw.h" | 19 | #include "sclp_rw.h" |
diff --git a/drivers/s390/char/sclp_tty.c b/drivers/s390/char/sclp_tty.c index 9259017a1295..236b736ae136 100644 --- a/drivers/s390/char/sclp_tty.c +++ b/drivers/s390/char/sclp_tty.c | |||
@@ -15,7 +15,7 @@ | |||
15 | #include <linux/init.h> | 15 | #include <linux/init.h> |
16 | #include <linux/interrupt.h> | 16 | #include <linux/interrupt.h> |
17 | #include <linux/gfp.h> | 17 | #include <linux/gfp.h> |
18 | #include <asm/uaccess.h> | 18 | #include <linux/uaccess.h> |
19 | 19 | ||
20 | #include "ctrlchar.h" | 20 | #include "ctrlchar.h" |
21 | #include "sclp.h" | 21 | #include "sclp.h" |
diff --git a/drivers/s390/char/sclp_vt220.c b/drivers/s390/char/sclp_vt220.c index 68d6ee7ae504..095481d32236 100644 --- a/drivers/s390/char/sclp_vt220.c +++ b/drivers/s390/char/sclp_vt220.c | |||
@@ -26,7 +26,7 @@ | |||
26 | #include <linux/reboot.h> | 26 | #include <linux/reboot.h> |
27 | #include <linux/slab.h> | 27 | #include <linux/slab.h> |
28 | 28 | ||
29 | #include <asm/uaccess.h> | 29 | #include <linux/uaccess.h> |
30 | #include "sclp.h" | 30 | #include "sclp.h" |
31 | #include "ctrlchar.h" | 31 | #include "ctrlchar.h" |
32 | 32 | ||
diff --git a/drivers/s390/char/tape_char.c b/drivers/s390/char/tape_char.c index 77f9b9c2f701..46ac1164f242 100644 --- a/drivers/s390/char/tape_char.c +++ b/drivers/s390/char/tape_char.c | |||
@@ -18,7 +18,7 @@ | |||
18 | #include <linux/mtio.h> | 18 | #include <linux/mtio.h> |
19 | #include <linux/compat.h> | 19 | #include <linux/compat.h> |
20 | 20 | ||
21 | #include <asm/uaccess.h> | 21 | #include <linux/uaccess.h> |
22 | 22 | ||
23 | #define TAPE_DBF_AREA tape_core_dbf | 23 | #define TAPE_DBF_AREA tape_core_dbf |
24 | 24 | ||
diff --git a/drivers/s390/char/tty3270.c b/drivers/s390/char/tty3270.c index 272cb6cd1b2a..e5ebe2fbee23 100644 --- a/drivers/s390/char/tty3270.c +++ b/drivers/s390/char/tty3270.c | |||
@@ -24,7 +24,7 @@ | |||
24 | #include <asm/ccwdev.h> | 24 | #include <asm/ccwdev.h> |
25 | #include <asm/cio.h> | 25 | #include <asm/cio.h> |
26 | #include <asm/ebcdic.h> | 26 | #include <asm/ebcdic.h> |
27 | #include <asm/uaccess.h> | 27 | #include <linux/uaccess.h> |
28 | 28 | ||
29 | #include "raw3270.h" | 29 | #include "raw3270.h" |
30 | #include "tty3270.h" | 30 | #include "tty3270.h" |
diff --git a/drivers/s390/char/vmcp.c b/drivers/s390/char/vmcp.c index 2a67b496a9e2..65f5a794f26d 100644 --- a/drivers/s390/char/vmcp.c +++ b/drivers/s390/char/vmcp.c | |||
@@ -21,7 +21,7 @@ | |||
21 | #include <asm/compat.h> | 21 | #include <asm/compat.h> |
22 | #include <asm/cpcmd.h> | 22 | #include <asm/cpcmd.h> |
23 | #include <asm/debug.h> | 23 | #include <asm/debug.h> |
24 | #include <asm/uaccess.h> | 24 | #include <linux/uaccess.h> |
25 | #include "vmcp.h" | 25 | #include "vmcp.h" |
26 | 26 | ||
27 | static debug_info_t *vmcp_debug; | 27 | static debug_info_t *vmcp_debug; |
diff --git a/drivers/s390/char/vmlogrdr.c b/drivers/s390/char/vmlogrdr.c index 3167e8581994..57974a1e0e03 100644 --- a/drivers/s390/char/vmlogrdr.c +++ b/drivers/s390/char/vmlogrdr.c | |||
@@ -21,7 +21,7 @@ | |||
21 | #include <linux/interrupt.h> | 21 | #include <linux/interrupt.h> |
22 | #include <linux/spinlock.h> | 22 | #include <linux/spinlock.h> |
23 | #include <linux/atomic.h> | 23 | #include <linux/atomic.h> |
24 | #include <asm/uaccess.h> | 24 | #include <linux/uaccess.h> |
25 | #include <asm/cpcmd.h> | 25 | #include <asm/cpcmd.h> |
26 | #include <asm/debug.h> | 26 | #include <asm/debug.h> |
27 | #include <asm/ebcdic.h> | 27 | #include <asm/ebcdic.h> |
diff --git a/drivers/s390/char/vmur.c b/drivers/s390/char/vmur.c index ff18f373af9a..04aceb694d51 100644 --- a/drivers/s390/char/vmur.c +++ b/drivers/s390/char/vmur.c | |||
@@ -15,7 +15,7 @@ | |||
15 | #include <linux/slab.h> | 15 | #include <linux/slab.h> |
16 | #include <linux/module.h> | 16 | #include <linux/module.h> |
17 | 17 | ||
18 | #include <asm/uaccess.h> | 18 | #include <linux/uaccess.h> |
19 | #include <asm/cio.h> | 19 | #include <asm/cio.h> |
20 | #include <asm/ccwdev.h> | 20 | #include <asm/ccwdev.h> |
21 | #include <asm/debug.h> | 21 | #include <asm/debug.h> |
diff --git a/drivers/s390/char/zcore.c b/drivers/s390/char/zcore.c index f771e5e9e26b..d3b51edb056e 100644 --- a/drivers/s390/char/zcore.c +++ b/drivers/s390/char/zcore.c | |||
@@ -23,7 +23,7 @@ | |||
23 | #include <asm/ipl.h> | 23 | #include <asm/ipl.h> |
24 | #include <asm/sclp.h> | 24 | #include <asm/sclp.h> |
25 | #include <asm/setup.h> | 25 | #include <asm/setup.h> |
26 | #include <asm/uaccess.h> | 26 | #include <linux/uaccess.h> |
27 | #include <asm/debug.h> | 27 | #include <asm/debug.h> |
28 | #include <asm/processor.h> | 28 | #include <asm/processor.h> |
29 | #include <asm/irqflags.h> | 29 | #include <asm/irqflags.h> |
diff --git a/drivers/s390/cio/blacklist.c b/drivers/s390/cio/blacklist.c index 9082476b51db..bf7f5d4c50e1 100644 --- a/drivers/s390/cio/blacklist.c +++ b/drivers/s390/cio/blacklist.c | |||
@@ -17,7 +17,7 @@ | |||
17 | #include <linux/ctype.h> | 17 | #include <linux/ctype.h> |
18 | #include <linux/device.h> | 18 | #include <linux/device.h> |
19 | 19 | ||
20 | #include <asm/uaccess.h> | 20 | #include <linux/uaccess.h> |
21 | #include <asm/cio.h> | 21 | #include <asm/cio.h> |
22 | #include <asm/ipl.h> | 22 | #include <asm/ipl.h> |
23 | 23 | ||
diff --git a/drivers/s390/crypto/zcrypt_api.c b/drivers/s390/crypto/zcrypt_api.c index 854a6e58dfea..51eece9af577 100644 --- a/drivers/s390/crypto/zcrypt_api.c +++ b/drivers/s390/crypto/zcrypt_api.c | |||
@@ -36,7 +36,7 @@ | |||
36 | #include <linux/compat.h> | 36 | #include <linux/compat.h> |
37 | #include <linux/slab.h> | 37 | #include <linux/slab.h> |
38 | #include <linux/atomic.h> | 38 | #include <linux/atomic.h> |
39 | #include <asm/uaccess.h> | 39 | #include <linux/uaccess.h> |
40 | #include <linux/hw_random.h> | 40 | #include <linux/hw_random.h> |
41 | #include <linux/debugfs.h> | 41 | #include <linux/debugfs.h> |
42 | #include <asm/debug.h> | 42 | #include <asm/debug.h> |
diff --git a/drivers/s390/crypto/zcrypt_cex2a.c b/drivers/s390/crypto/zcrypt_cex2a.c index c7d48a18199e..b97c5d5ee5a4 100644 --- a/drivers/s390/crypto/zcrypt_cex2a.c +++ b/drivers/s390/crypto/zcrypt_cex2a.c | |||
@@ -30,7 +30,7 @@ | |||
30 | #include <linux/init.h> | 30 | #include <linux/init.h> |
31 | #include <linux/err.h> | 31 | #include <linux/err.h> |
32 | #include <linux/atomic.h> | 32 | #include <linux/atomic.h> |
33 | #include <asm/uaccess.h> | 33 | #include <linux/uaccess.h> |
34 | #include <linux/mod_devicetable.h> | 34 | #include <linux/mod_devicetable.h> |
35 | 35 | ||
36 | #include "ap_bus.h" | 36 | #include "ap_bus.h" |
diff --git a/drivers/s390/crypto/zcrypt_pcixcc.c b/drivers/s390/crypto/zcrypt_pcixcc.c index 26ceaa696765..600604782b65 100644 --- a/drivers/s390/crypto/zcrypt_pcixcc.c +++ b/drivers/s390/crypto/zcrypt_pcixcc.c | |||
@@ -31,7 +31,7 @@ | |||
31 | #include <linux/delay.h> | 31 | #include <linux/delay.h> |
32 | #include <linux/slab.h> | 32 | #include <linux/slab.h> |
33 | #include <linux/atomic.h> | 33 | #include <linux/atomic.h> |
34 | #include <asm/uaccess.h> | 34 | #include <linux/uaccess.h> |
35 | #include <linux/mod_devicetable.h> | 35 | #include <linux/mod_devicetable.h> |
36 | 36 | ||
37 | #include "ap_bus.h" | 37 | #include "ap_bus.h" |
diff --git a/drivers/s390/net/netiucv.c b/drivers/s390/net/netiucv.c index 2981024a2438..3f85b97ab8d2 100644 --- a/drivers/s390/net/netiucv.c +++ b/drivers/s390/net/netiucv.c | |||
@@ -62,7 +62,7 @@ | |||
62 | #include <net/dst.h> | 62 | #include <net/dst.h> |
63 | 63 | ||
64 | #include <asm/io.h> | 64 | #include <asm/io.h> |
65 | #include <asm/uaccess.h> | 65 | #include <linux/uaccess.h> |
66 | #include <asm/ebcdic.h> | 66 | #include <asm/ebcdic.h> |
67 | 67 | ||
68 | #include <net/iucv/iucv.h> | 68 | #include <net/iucv/iucv.h> |
diff --git a/drivers/sbus/char/display7seg.c b/drivers/sbus/char/display7seg.c index 33fbe8249fd5..04efed171c88 100644 --- a/drivers/sbus/char/display7seg.c +++ b/drivers/sbus/char/display7seg.c | |||
@@ -17,7 +17,7 @@ | |||
17 | #include <linux/of.h> | 17 | #include <linux/of.h> |
18 | #include <linux/of_device.h> | 18 | #include <linux/of_device.h> |
19 | #include <linux/atomic.h> | 19 | #include <linux/atomic.h> |
20 | #include <asm/uaccess.h> /* put_/get_user */ | 20 | #include <linux/uaccess.h> /* put_/get_user */ |
21 | #include <asm/io.h> | 21 | #include <asm/io.h> |
22 | 22 | ||
23 | #include <asm/display7seg.h> | 23 | #include <asm/display7seg.h> |
diff --git a/drivers/sbus/char/envctrl.c b/drivers/sbus/char/envctrl.c index 5609b602c54d..56e962a01493 100644 --- a/drivers/sbus/char/envctrl.c +++ b/drivers/sbus/char/envctrl.c | |||
@@ -29,7 +29,7 @@ | |||
29 | #include <linux/of.h> | 29 | #include <linux/of.h> |
30 | #include <linux/of_device.h> | 30 | #include <linux/of_device.h> |
31 | 31 | ||
32 | #include <asm/uaccess.h> | 32 | #include <linux/uaccess.h> |
33 | #include <asm/envctrl.h> | 33 | #include <asm/envctrl.h> |
34 | #include <asm/io.h> | 34 | #include <asm/io.h> |
35 | 35 | ||
diff --git a/drivers/sbus/char/flash.c b/drivers/sbus/char/flash.c index 206ef4232adf..216f923161d1 100644 --- a/drivers/sbus/char/flash.c +++ b/drivers/sbus/char/flash.c | |||
@@ -15,7 +15,7 @@ | |||
15 | #include <linux/of.h> | 15 | #include <linux/of.h> |
16 | #include <linux/of_device.h> | 16 | #include <linux/of_device.h> |
17 | 17 | ||
18 | #include <asm/uaccess.h> | 18 | #include <linux/uaccess.h> |
19 | #include <asm/pgtable.h> | 19 | #include <asm/pgtable.h> |
20 | #include <asm/io.h> | 20 | #include <asm/io.h> |
21 | #include <asm/upa.h> | 21 | #include <asm/upa.h> |
diff --git a/drivers/sbus/char/jsflash.c b/drivers/sbus/char/jsflash.c index a40ee1e37486..6ff61dad5e21 100644 --- a/drivers/sbus/char/jsflash.c +++ b/drivers/sbus/char/jsflash.c | |||
@@ -37,7 +37,7 @@ | |||
37 | #include <linux/string.h> | 37 | #include <linux/string.h> |
38 | #include <linux/genhd.h> | 38 | #include <linux/genhd.h> |
39 | #include <linux/blkdev.h> | 39 | #include <linux/blkdev.h> |
40 | #include <asm/uaccess.h> | 40 | #include <linux/uaccess.h> |
41 | #include <asm/pgtable.h> | 41 | #include <asm/pgtable.h> |
42 | #include <asm/io.h> | 42 | #include <asm/io.h> |
43 | #include <asm/pcic.h> | 43 | #include <asm/pcic.h> |
diff --git a/drivers/sbus/char/openprom.c b/drivers/sbus/char/openprom.c index 4612691c6619..2c2e6a3b4c7e 100644 --- a/drivers/sbus/char/openprom.c +++ b/drivers/sbus/char/openprom.c | |||
@@ -40,7 +40,7 @@ | |||
40 | #include <linux/fs.h> | 40 | #include <linux/fs.h> |
41 | #include <asm/oplib.h> | 41 | #include <asm/oplib.h> |
42 | #include <asm/prom.h> | 42 | #include <asm/prom.h> |
43 | #include <asm/uaccess.h> | 43 | #include <linux/uaccess.h> |
44 | #include <asm/openpromio.h> | 44 | #include <asm/openpromio.h> |
45 | #ifdef CONFIG_PCI | 45 | #ifdef CONFIG_PCI |
46 | #include <linux/pci.h> | 46 | #include <linux/pci.h> |
diff --git a/drivers/scsi/3w-9xxx.c b/drivers/scsi/3w-9xxx.c index 316f87fe3299..00e7968a1d70 100644 --- a/drivers/scsi/3w-9xxx.c +++ b/drivers/scsi/3w-9xxx.c | |||
@@ -92,7 +92,7 @@ | |||
92 | #include <linux/slab.h> | 92 | #include <linux/slab.h> |
93 | #include <asm/io.h> | 93 | #include <asm/io.h> |
94 | #include <asm/irq.h> | 94 | #include <asm/irq.h> |
95 | #include <asm/uaccess.h> | 95 | #include <linux/uaccess.h> |
96 | #include <scsi/scsi.h> | 96 | #include <scsi/scsi.h> |
97 | #include <scsi/scsi_host.h> | 97 | #include <scsi/scsi_host.h> |
98 | #include <scsi/scsi_tcq.h> | 98 | #include <scsi/scsi_tcq.h> |
diff --git a/drivers/scsi/3w-sas.c b/drivers/scsi/3w-sas.c index 970d8fa6bd53..b150e131b2e7 100644 --- a/drivers/scsi/3w-sas.c +++ b/drivers/scsi/3w-sas.c | |||
@@ -64,7 +64,7 @@ | |||
64 | #include <linux/slab.h> | 64 | #include <linux/slab.h> |
65 | #include <asm/io.h> | 65 | #include <asm/io.h> |
66 | #include <asm/irq.h> | 66 | #include <asm/irq.h> |
67 | #include <asm/uaccess.h> | 67 | #include <linux/uaccess.h> |
68 | #include <scsi/scsi.h> | 68 | #include <scsi/scsi.h> |
69 | #include <scsi/scsi_host.h> | 69 | #include <scsi/scsi_host.h> |
70 | #include <scsi/scsi_tcq.h> | 70 | #include <scsi/scsi_tcq.h> |
diff --git a/drivers/scsi/3w-xxxx.c b/drivers/scsi/3w-xxxx.c index aa412ab02765..33261b690774 100644 --- a/drivers/scsi/3w-xxxx.c +++ b/drivers/scsi/3w-xxxx.c | |||
@@ -210,7 +210,7 @@ | |||
210 | #include <linux/mutex.h> | 210 | #include <linux/mutex.h> |
211 | #include <asm/io.h> | 211 | #include <asm/io.h> |
212 | #include <asm/irq.h> | 212 | #include <asm/irq.h> |
213 | #include <asm/uaccess.h> | 213 | #include <linux/uaccess.h> |
214 | #include <scsi/scsi.h> | 214 | #include <scsi/scsi.h> |
215 | #include <scsi/scsi_host.h> | 215 | #include <scsi/scsi_host.h> |
216 | #include <scsi/scsi_tcq.h> | 216 | #include <scsi/scsi_tcq.h> |
diff --git a/drivers/scsi/aacraid/aachba.c b/drivers/scsi/aacraid/aachba.c index 6678d1fd897b..1ee7c654f7b8 100644 --- a/drivers/scsi/aacraid/aachba.c +++ b/drivers/scsi/aacraid/aachba.c | |||
@@ -32,7 +32,7 @@ | |||
32 | #include <linux/slab.h> | 32 | #include <linux/slab.h> |
33 | #include <linux/completion.h> | 33 | #include <linux/completion.h> |
34 | #include <linux/blkdev.h> | 34 | #include <linux/blkdev.h> |
35 | #include <asm/uaccess.h> | 35 | #include <linux/uaccess.h> |
36 | #include <linux/highmem.h> /* For flush_kernel_dcache_page */ | 36 | #include <linux/highmem.h> /* For flush_kernel_dcache_page */ |
37 | #include <linux/module.h> | 37 | #include <linux/module.h> |
38 | 38 | ||
diff --git a/drivers/scsi/aacraid/commctrl.c b/drivers/scsi/aacraid/commctrl.c index 5648b715fed9..e1daff230c7d 100644 --- a/drivers/scsi/aacraid/commctrl.c +++ b/drivers/scsi/aacraid/commctrl.c | |||
@@ -41,7 +41,7 @@ | |||
41 | #include <linux/delay.h> /* ssleep prototype */ | 41 | #include <linux/delay.h> /* ssleep prototype */ |
42 | #include <linux/kthread.h> | 42 | #include <linux/kthread.h> |
43 | #include <linux/semaphore.h> | 43 | #include <linux/semaphore.h> |
44 | #include <asm/uaccess.h> | 44 | #include <linux/uaccess.h> |
45 | #include <scsi/scsi_host.h> | 45 | #include <scsi/scsi_host.h> |
46 | 46 | ||
47 | #include "aacraid.h" | 47 | #include "aacraid.h" |
diff --git a/drivers/scsi/arcmsr/arcmsr_hba.c b/drivers/scsi/arcmsr/arcmsr_hba.c index 9e45749d55ed..af032c46ec0e 100644 --- a/drivers/scsi/arcmsr/arcmsr_hba.c +++ b/drivers/scsi/arcmsr/arcmsr_hba.c | |||
@@ -61,7 +61,7 @@ | |||
61 | #include <linux/circ_buf.h> | 61 | #include <linux/circ_buf.h> |
62 | #include <asm/dma.h> | 62 | #include <asm/dma.h> |
63 | #include <asm/io.h> | 63 | #include <asm/io.h> |
64 | #include <asm/uaccess.h> | 64 | #include <linux/uaccess.h> |
65 | #include <scsi/scsi_host.h> | 65 | #include <scsi/scsi_host.h> |
66 | #include <scsi/scsi.h> | 66 | #include <scsi/scsi.h> |
67 | #include <scsi/scsi_cmnd.h> | 67 | #include <scsi/scsi_cmnd.h> |
diff --git a/drivers/scsi/bfa/bfad.c b/drivers/scsi/bfa/bfad.c index 9d253cb83ee7..d9e15210b110 100644 --- a/drivers/scsi/bfa/bfad.c +++ b/drivers/scsi/bfa/bfad.c | |||
@@ -27,7 +27,7 @@ | |||
27 | #include <linux/fs.h> | 27 | #include <linux/fs.h> |
28 | #include <linux/pci.h> | 28 | #include <linux/pci.h> |
29 | #include <linux/firmware.h> | 29 | #include <linux/firmware.h> |
30 | #include <asm/uaccess.h> | 30 | #include <linux/uaccess.h> |
31 | #include <asm/fcntl.h> | 31 | #include <asm/fcntl.h> |
32 | 32 | ||
33 | #include "bfad_drv.h" | 33 | #include "bfad_drv.h" |
diff --git a/drivers/scsi/dpt_i2o.c b/drivers/scsi/dpt_i2o.c index 27c0dce22e72..5f75e638ec95 100644 --- a/drivers/scsi/dpt_i2o.c +++ b/drivers/scsi/dpt_i2o.c | |||
@@ -37,7 +37,7 @@ MODULE_DESCRIPTION("Adaptec I2O RAID Driver"); | |||
37 | //////////////////////////////////////////////////////////////// | 37 | //////////////////////////////////////////////////////////////// |
38 | 38 | ||
39 | #include <linux/ioctl.h> /* For SCSI-Passthrough */ | 39 | #include <linux/ioctl.h> /* For SCSI-Passthrough */ |
40 | #include <asm/uaccess.h> | 40 | #include <linux/uaccess.h> |
41 | 41 | ||
42 | #include <linux/stat.h> | 42 | #include <linux/stat.h> |
43 | #include <linux/slab.h> /* for kmalloc() */ | 43 | #include <linux/slab.h> /* for kmalloc() */ |
diff --git a/drivers/scsi/gdth.c b/drivers/scsi/gdth.c index 0a767740bf02..d020a13646ae 100644 --- a/drivers/scsi/gdth.c +++ b/drivers/scsi/gdth.c | |||
@@ -130,7 +130,7 @@ | |||
130 | 130 | ||
131 | #include <asm/dma.h> | 131 | #include <asm/dma.h> |
132 | #include <asm/io.h> | 132 | #include <asm/io.h> |
133 | #include <asm/uaccess.h> | 133 | #include <linux/uaccess.h> |
134 | #include <linux/spinlock.h> | 134 | #include <linux/spinlock.h> |
135 | #include <linux/blkdev.h> | 135 | #include <linux/blkdev.h> |
136 | #include <linux/scatterlist.h> | 136 | #include <linux/scatterlist.h> |
diff --git a/drivers/scsi/hptiop.c b/drivers/scsi/hptiop.c index a83f705ed8a5..db17ad15b0c1 100644 --- a/drivers/scsi/hptiop.c +++ b/drivers/scsi/hptiop.c | |||
@@ -26,7 +26,7 @@ | |||
26 | #include <linux/timer.h> | 26 | #include <linux/timer.h> |
27 | #include <linux/spinlock.h> | 27 | #include <linux/spinlock.h> |
28 | #include <linux/gfp.h> | 28 | #include <linux/gfp.h> |
29 | #include <asm/uaccess.h> | 29 | #include <linux/uaccess.h> |
30 | #include <asm/io.h> | 30 | #include <asm/io.h> |
31 | #include <asm/div64.h> | 31 | #include <asm/div64.h> |
32 | #include <scsi/scsi_cmnd.h> | 32 | #include <scsi/scsi_cmnd.h> |
diff --git a/drivers/scsi/ips.h b/drivers/scsi/ips.h index 45b9566b928e..b782bb60baf0 100644 --- a/drivers/scsi/ips.h +++ b/drivers/scsi/ips.h | |||
@@ -51,7 +51,7 @@ | |||
51 | #define _IPS_H_ | 51 | #define _IPS_H_ |
52 | 52 | ||
53 | #include <linux/nmi.h> | 53 | #include <linux/nmi.h> |
54 | #include <asm/uaccess.h> | 54 | #include <linux/uaccess.h> |
55 | #include <asm/io.h> | 55 | #include <asm/io.h> |
56 | 56 | ||
57 | /* | 57 | /* |
diff --git a/drivers/scsi/megaraid.c b/drivers/scsi/megaraid.c index 9d05302a3bcd..3c63c292cb92 100644 --- a/drivers/scsi/megaraid.c +++ b/drivers/scsi/megaraid.c | |||
@@ -34,7 +34,7 @@ | |||
34 | #include <linux/mm.h> | 34 | #include <linux/mm.h> |
35 | #include <linux/fs.h> | 35 | #include <linux/fs.h> |
36 | #include <linux/blkdev.h> | 36 | #include <linux/blkdev.h> |
37 | #include <asm/uaccess.h> | 37 | #include <linux/uaccess.h> |
38 | #include <asm/io.h> | 38 | #include <asm/io.h> |
39 | #include <linux/completion.h> | 39 | #include <linux/completion.h> |
40 | #include <linux/delay.h> | 40 | #include <linux/delay.h> |
diff --git a/drivers/scsi/megaraid/megaraid_mm.h b/drivers/scsi/megaraid/megaraid_mm.h index 55b425c0a654..a30e725f2d5c 100644 --- a/drivers/scsi/megaraid/megaraid_mm.h +++ b/drivers/scsi/megaraid/megaraid_mm.h | |||
@@ -17,7 +17,7 @@ | |||
17 | 17 | ||
18 | #include <linux/spinlock.h> | 18 | #include <linux/spinlock.h> |
19 | #include <linux/fs.h> | 19 | #include <linux/fs.h> |
20 | #include <asm/uaccess.h> | 20 | #include <linux/uaccess.h> |
21 | #include <linux/module.h> | 21 | #include <linux/module.h> |
22 | #include <linux/moduleparam.h> | 22 | #include <linux/moduleparam.h> |
23 | #include <linux/pci.h> | 23 | #include <linux/pci.h> |
diff --git a/drivers/scsi/megaraid/megaraid_sas_base.c b/drivers/scsi/megaraid/megaraid_sas_base.c index 6484c382f670..d5cf15eb8c5e 100644 --- a/drivers/scsi/megaraid/megaraid_sas_base.c +++ b/drivers/scsi/megaraid/megaraid_sas_base.c | |||
@@ -42,7 +42,7 @@ | |||
42 | #include <linux/delay.h> | 42 | #include <linux/delay.h> |
43 | #include <linux/uio.h> | 43 | #include <linux/uio.h> |
44 | #include <linux/slab.h> | 44 | #include <linux/slab.h> |
45 | #include <asm/uaccess.h> | 45 | #include <linux/uaccess.h> |
46 | #include <linux/fs.h> | 46 | #include <linux/fs.h> |
47 | #include <linux/compat.h> | 47 | #include <linux/compat.h> |
48 | #include <linux/blkdev.h> | 48 | #include <linux/blkdev.h> |
diff --git a/drivers/scsi/osst.c b/drivers/scsi/osst.c index a2960f5d98ec..e8196c55b633 100644 --- a/drivers/scsi/osst.c +++ b/drivers/scsi/osst.c | |||
@@ -52,7 +52,7 @@ static const char * osst_version = "0.99.4"; | |||
52 | #include <linux/delay.h> | 52 | #include <linux/delay.h> |
53 | #include <linux/jiffies.h> | 53 | #include <linux/jiffies.h> |
54 | #include <linux/mutex.h> | 54 | #include <linux/mutex.h> |
55 | #include <asm/uaccess.h> | 55 | #include <linux/uaccess.h> |
56 | #include <asm/dma.h> | 56 | #include <asm/dma.h> |
57 | 57 | ||
58 | /* The driver prints some debugging information on the console if DEBUG | 58 | /* The driver prints some debugging information on the console if DEBUG |
diff --git a/drivers/scsi/qla2xxx/qla_sup.c b/drivers/scsi/qla2xxx/qla_sup.c index 9f6012b78e56..b4336e0cd85f 100644 --- a/drivers/scsi/qla2xxx/qla_sup.c +++ b/drivers/scsi/qla2xxx/qla_sup.c | |||
@@ -9,7 +9,7 @@ | |||
9 | #include <linux/delay.h> | 9 | #include <linux/delay.h> |
10 | #include <linux/slab.h> | 10 | #include <linux/slab.h> |
11 | #include <linux/vmalloc.h> | 11 | #include <linux/vmalloc.h> |
12 | #include <asm/uaccess.h> | 12 | #include <linux/uaccess.h> |
13 | 13 | ||
14 | /* | 14 | /* |
15 | * NVRAM support routines | 15 | * NVRAM support routines |
diff --git a/drivers/scsi/scsi_ioctl.c b/drivers/scsi/scsi_ioctl.c index c4f7b56fa6f6..8b8c814df5c7 100644 --- a/drivers/scsi/scsi_ioctl.c +++ b/drivers/scsi/scsi_ioctl.c | |||
@@ -12,7 +12,7 @@ | |||
12 | #include <linux/sched.h> | 12 | #include <linux/sched.h> |
13 | #include <linux/mm.h> | 13 | #include <linux/mm.h> |
14 | #include <linux/string.h> | 14 | #include <linux/string.h> |
15 | #include <asm/uaccess.h> | 15 | #include <linux/uaccess.h> |
16 | 16 | ||
17 | #include <scsi/scsi.h> | 17 | #include <scsi/scsi.h> |
18 | #include <scsi/scsi_cmnd.h> | 18 | #include <scsi/scsi_cmnd.h> |
diff --git a/drivers/scsi/scsi_proc.c b/drivers/scsi/scsi_proc.c index 7a74b82e8973..480a597b3877 100644 --- a/drivers/scsi/scsi_proc.c +++ b/drivers/scsi/scsi_proc.c | |||
@@ -26,7 +26,7 @@ | |||
26 | #include <linux/seq_file.h> | 26 | #include <linux/seq_file.h> |
27 | #include <linux/mutex.h> | 27 | #include <linux/mutex.h> |
28 | #include <linux/gfp.h> | 28 | #include <linux/gfp.h> |
29 | #include <asm/uaccess.h> | 29 | #include <linux/uaccess.h> |
30 | 30 | ||
31 | #include <scsi/scsi.h> | 31 | #include <scsi/scsi.h> |
32 | #include <scsi/scsi_device.h> | 32 | #include <scsi/scsi_device.h> |
diff --git a/drivers/scsi/sd.c b/drivers/scsi/sd.c index 1622e23138e0..b1933041da39 100644 --- a/drivers/scsi/sd.c +++ b/drivers/scsi/sd.c | |||
@@ -53,7 +53,7 @@ | |||
53 | #include <linux/pm_runtime.h> | 53 | #include <linux/pm_runtime.h> |
54 | #include <linux/pr.h> | 54 | #include <linux/pr.h> |
55 | #include <linux/t10-pi.h> | 55 | #include <linux/t10-pi.h> |
56 | #include <asm/uaccess.h> | 56 | #include <linux/uaccess.h> |
57 | #include <asm/unaligned.h> | 57 | #include <asm/unaligned.h> |
58 | 58 | ||
59 | #include <scsi/scsi.h> | 59 | #include <scsi/scsi.h> |
diff --git a/drivers/scsi/sr.c b/drivers/scsi/sr.c index bed2bbd6b923..94352e4df831 100644 --- a/drivers/scsi/sr.c +++ b/drivers/scsi/sr.c | |||
@@ -46,7 +46,7 @@ | |||
46 | #include <linux/mutex.h> | 46 | #include <linux/mutex.h> |
47 | #include <linux/slab.h> | 47 | #include <linux/slab.h> |
48 | #include <linux/pm_runtime.h> | 48 | #include <linux/pm_runtime.h> |
49 | #include <asm/uaccess.h> | 49 | #include <linux/uaccess.h> |
50 | 50 | ||
51 | #include <scsi/scsi.h> | 51 | #include <scsi/scsi.h> |
52 | #include <scsi/scsi_dbg.h> | 52 | #include <scsi/scsi_dbg.h> |
diff --git a/drivers/scsi/sr_ioctl.c b/drivers/scsi/sr_ioctl.c index 03054c0e7689..dfffdf63e44c 100644 --- a/drivers/scsi/sr_ioctl.c +++ b/drivers/scsi/sr_ioctl.c | |||
@@ -10,7 +10,7 @@ | |||
10 | #include <linux/delay.h> | 10 | #include <linux/delay.h> |
11 | #include <linux/slab.h> | 11 | #include <linux/slab.h> |
12 | #include <asm/io.h> | 12 | #include <asm/io.h> |
13 | #include <asm/uaccess.h> | 13 | #include <linux/uaccess.h> |
14 | 14 | ||
15 | #include <scsi/scsi.h> | 15 | #include <scsi/scsi.h> |
16 | #include <scsi/scsi_dbg.h> | 16 | #include <scsi/scsi_dbg.h> |
diff --git a/drivers/scsi/st.c b/drivers/scsi/st.c index 605887d5ee57..5f35b863e1a7 100644 --- a/drivers/scsi/st.c +++ b/drivers/scsi/st.c | |||
@@ -41,7 +41,7 @@ static const char *verstr = "20160209"; | |||
41 | #include <linux/delay.h> | 41 | #include <linux/delay.h> |
42 | #include <linux/mutex.h> | 42 | #include <linux/mutex.h> |
43 | 43 | ||
44 | #include <asm/uaccess.h> | 44 | #include <linux/uaccess.h> |
45 | #include <asm/dma.h> | 45 | #include <asm/dma.h> |
46 | 46 | ||
47 | #include <scsi/scsi.h> | 47 | #include <scsi/scsi.h> |
diff --git a/drivers/tty/amiserial.c b/drivers/tty/amiserial.c index dfbb974927f2..dea16bb8c46a 100644 --- a/drivers/tty/amiserial.c +++ b/drivers/tty/amiserial.c | |||
@@ -127,7 +127,7 @@ static struct serial_state rs_table[1]; | |||
127 | 127 | ||
128 | #define NR_PORTS ARRAY_SIZE(rs_table) | 128 | #define NR_PORTS ARRAY_SIZE(rs_table) |
129 | 129 | ||
130 | #include <asm/uaccess.h> | 130 | #include <linux/uaccess.h> |
131 | 131 | ||
132 | #define serial_isroot() (capable(CAP_SYS_ADMIN)) | 132 | #define serial_isroot() (capable(CAP_SYS_ADMIN)) |
133 | 133 | ||
diff --git a/drivers/tty/hvc/hvc_console.c b/drivers/tty/hvc/hvc_console.c index ce864875330e..9b5c0fb216b5 100644 --- a/drivers/tty/hvc/hvc_console.c +++ b/drivers/tty/hvc/hvc_console.c | |||
@@ -42,7 +42,7 @@ | |||
42 | #include <linux/slab.h> | 42 | #include <linux/slab.h> |
43 | #include <linux/serial_core.h> | 43 | #include <linux/serial_core.h> |
44 | 44 | ||
45 | #include <asm/uaccess.h> | 45 | #include <linux/uaccess.h> |
46 | 46 | ||
47 | #include "hvc_console.h" | 47 | #include "hvc_console.h" |
48 | 48 | ||
diff --git a/drivers/tty/hvc/hvcs.c b/drivers/tty/hvc/hvcs.c index 3c4d7c2b4ade..7823d6d998cf 100644 --- a/drivers/tty/hvc/hvcs.c +++ b/drivers/tty/hvc/hvcs.c | |||
@@ -81,7 +81,7 @@ | |||
81 | #include <linux/tty_flip.h> | 81 | #include <linux/tty_flip.h> |
82 | #include <asm/hvconsole.h> | 82 | #include <asm/hvconsole.h> |
83 | #include <asm/hvcserver.h> | 83 | #include <asm/hvcserver.h> |
84 | #include <asm/uaccess.h> | 84 | #include <linux/uaccess.h> |
85 | #include <asm/vio.h> | 85 | #include <asm/vio.h> |
86 | 86 | ||
87 | /* | 87 | /* |
diff --git a/drivers/tty/hvc/hvsi.c b/drivers/tty/hvc/hvsi.c index 96ce6bd1cc6f..2e578d6433af 100644 --- a/drivers/tty/hvc/hvsi.c +++ b/drivers/tty/hvc/hvsi.c | |||
@@ -46,7 +46,7 @@ | |||
46 | #include <asm/hvcall.h> | 46 | #include <asm/hvcall.h> |
47 | #include <asm/hvconsole.h> | 47 | #include <asm/hvconsole.h> |
48 | #include <asm/prom.h> | 48 | #include <asm/prom.h> |
49 | #include <asm/uaccess.h> | 49 | #include <linux/uaccess.h> |
50 | #include <asm/vio.h> | 50 | #include <asm/vio.h> |
51 | #include <asm/param.h> | 51 | #include <asm/param.h> |
52 | #include <asm/hvsi.h> | 52 | #include <asm/hvsi.h> |
diff --git a/drivers/tty/moxa.c b/drivers/tty/moxa.c index 60d37b225589..4caf0c3b1f99 100644 --- a/drivers/tty/moxa.c +++ b/drivers/tty/moxa.c | |||
@@ -47,7 +47,7 @@ | |||
47 | #include <linux/ratelimit.h> | 47 | #include <linux/ratelimit.h> |
48 | 48 | ||
49 | #include <asm/io.h> | 49 | #include <asm/io.h> |
50 | #include <asm/uaccess.h> | 50 | #include <linux/uaccess.h> |
51 | 51 | ||
52 | #include "moxa.h" | 52 | #include "moxa.h" |
53 | 53 | ||
diff --git a/drivers/tty/mxser.c b/drivers/tty/mxser.c index 69294ae154be..7b8f383fb090 100644 --- a/drivers/tty/mxser.c +++ b/drivers/tty/mxser.c | |||
@@ -43,7 +43,7 @@ | |||
43 | 43 | ||
44 | #include <asm/io.h> | 44 | #include <asm/io.h> |
45 | #include <asm/irq.h> | 45 | #include <asm/irq.h> |
46 | #include <asm/uaccess.h> | 46 | #include <linux/uaccess.h> |
47 | 47 | ||
48 | #include "mxser.h" | 48 | #include "mxser.h" |
49 | 49 | ||
diff --git a/drivers/tty/n_hdlc.c b/drivers/tty/n_hdlc.c index a7fa016f31eb..eb278832f5ce 100644 --- a/drivers/tty/n_hdlc.c +++ b/drivers/tty/n_hdlc.c | |||
@@ -103,7 +103,7 @@ | |||
103 | #include <linux/bitops.h> | 103 | #include <linux/bitops.h> |
104 | 104 | ||
105 | #include <asm/termios.h> | 105 | #include <asm/termios.h> |
106 | #include <asm/uaccess.h> | 106 | #include <linux/uaccess.h> |
107 | 107 | ||
108 | /* | 108 | /* |
109 | * Buffers for individual HDLC frames | 109 | * Buffers for individual HDLC frames |
diff --git a/drivers/tty/n_r3964.c b/drivers/tty/n_r3964.c index 345111467b85..305b6490d405 100644 --- a/drivers/tty/n_r3964.c +++ b/drivers/tty/n_r3964.c | |||
@@ -65,7 +65,7 @@ | |||
65 | #include <linux/n_r3964.h> | 65 | #include <linux/n_r3964.h> |
66 | #include <linux/poll.h> | 66 | #include <linux/poll.h> |
67 | #include <linux/init.h> | 67 | #include <linux/init.h> |
68 | #include <asm/uaccess.h> | 68 | #include <linux/uaccess.h> |
69 | 69 | ||
70 | /*#define DEBUG_QUEUE*/ | 70 | /*#define DEBUG_QUEUE*/ |
71 | 71 | ||
diff --git a/drivers/tty/serial/icom.c b/drivers/tty/serial/icom.c index c60a8d5e4020..d83783cfbade 100644 --- a/drivers/tty/serial/icom.c +++ b/drivers/tty/serial/icom.c | |||
@@ -53,7 +53,7 @@ | |||
53 | 53 | ||
54 | #include <asm/io.h> | 54 | #include <asm/io.h> |
55 | #include <asm/irq.h> | 55 | #include <asm/irq.h> |
56 | #include <asm/uaccess.h> | 56 | #include <linux/uaccess.h> |
57 | 57 | ||
58 | #include "icom.h" | 58 | #include "icom.h" |
59 | 59 | ||
diff --git a/drivers/tty/serial/serial_core.c b/drivers/tty/serial/serial_core.c index d0847375ea64..9939c3d9912b 100644 --- a/drivers/tty/serial/serial_core.c +++ b/drivers/tty/serial/serial_core.c | |||
@@ -36,7 +36,7 @@ | |||
36 | #include <linux/mutex.h> | 36 | #include <linux/mutex.h> |
37 | 37 | ||
38 | #include <asm/irq.h> | 38 | #include <asm/irq.h> |
39 | #include <asm/uaccess.h> | 39 | #include <linux/uaccess.h> |
40 | 40 | ||
41 | /* | 41 | /* |
42 | * This is used to lock changes in serial line configuration. | 42 | * This is used to lock changes in serial line configuration. |
diff --git a/drivers/tty/synclink.c b/drivers/tty/synclink.c index 415885c56435..657eed82eeb3 100644 --- a/drivers/tty/synclink.c +++ b/drivers/tty/synclink.c | |||
@@ -107,7 +107,7 @@ | |||
107 | #define PUT_USER(error,value,addr) error = put_user(value,addr) | 107 | #define PUT_USER(error,value,addr) error = put_user(value,addr) |
108 | #define COPY_TO_USER(error,dest,src,size) error = copy_to_user(dest,src,size) ? -EFAULT : 0 | 108 | #define COPY_TO_USER(error,dest,src,size) error = copy_to_user(dest,src,size) ? -EFAULT : 0 |
109 | 109 | ||
110 | #include <asm/uaccess.h> | 110 | #include <linux/uaccess.h> |
111 | 111 | ||
112 | #define RCLRVALUE 0xffff | 112 | #define RCLRVALUE 0xffff |
113 | 113 | ||
diff --git a/drivers/tty/synclink_gt.c b/drivers/tty/synclink_gt.c index 8267bcf2405e..31885f20fc15 100644 --- a/drivers/tty/synclink_gt.c +++ b/drivers/tty/synclink_gt.c | |||
@@ -77,7 +77,7 @@ | |||
77 | #include <asm/irq.h> | 77 | #include <asm/irq.h> |
78 | #include <asm/dma.h> | 78 | #include <asm/dma.h> |
79 | #include <asm/types.h> | 79 | #include <asm/types.h> |
80 | #include <asm/uaccess.h> | 80 | #include <linux/uaccess.h> |
81 | 81 | ||
82 | #if defined(CONFIG_HDLC) || (defined(CONFIG_HDLC_MODULE) && defined(CONFIG_SYNCLINK_GT_MODULE)) | 82 | #if defined(CONFIG_HDLC) || (defined(CONFIG_HDLC_MODULE) && defined(CONFIG_SYNCLINK_GT_MODULE)) |
83 | #define SYNCLINK_GENERIC_HDLC 1 | 83 | #define SYNCLINK_GENERIC_HDLC 1 |
diff --git a/drivers/tty/synclinkmp.c b/drivers/tty/synclinkmp.c index d66620f7eaa3..51e8846cd68f 100644 --- a/drivers/tty/synclinkmp.c +++ b/drivers/tty/synclinkmp.c | |||
@@ -79,7 +79,7 @@ | |||
79 | #define PUT_USER(error,value,addr) error = put_user(value,addr) | 79 | #define PUT_USER(error,value,addr) error = put_user(value,addr) |
80 | #define COPY_TO_USER(error,dest,src,size) error = copy_to_user(dest,src,size) ? -EFAULT : 0 | 80 | #define COPY_TO_USER(error,dest,src,size) error = copy_to_user(dest,src,size) ? -EFAULT : 0 |
81 | 81 | ||
82 | #include <asm/uaccess.h> | 82 | #include <linux/uaccess.h> |
83 | 83 | ||
84 | static MGSL_PARAMS default_params = { | 84 | static MGSL_PARAMS default_params = { |
85 | MGSL_MODE_HDLC, /* unsigned long mode */ | 85 | MGSL_MODE_HDLC, /* unsigned long mode */ |
diff --git a/drivers/tty/tty_ioctl.c b/drivers/tty/tty_ioctl.c index bf36ac9aee41..f27fc0f14c11 100644 --- a/drivers/tty/tty_ioctl.c +++ b/drivers/tty/tty_ioctl.c | |||
@@ -22,7 +22,7 @@ | |||
22 | #include <linux/compat.h> | 22 | #include <linux/compat.h> |
23 | 23 | ||
24 | #include <asm/io.h> | 24 | #include <asm/io.h> |
25 | #include <asm/uaccess.h> | 25 | #include <linux/uaccess.h> |
26 | 26 | ||
27 | #undef TTY_DEBUG_WAIT_UNTIL_SENT | 27 | #undef TTY_DEBUG_WAIT_UNTIL_SENT |
28 | 28 | ||
diff --git a/drivers/tty/vt/consolemap.c b/drivers/tty/vt/consolemap.c index 71e81406ef71..1f6e17fc3fb0 100644 --- a/drivers/tty/vt/consolemap.c +++ b/drivers/tty/vt/consolemap.c | |||
@@ -29,7 +29,7 @@ | |||
29 | #include <linux/slab.h> | 29 | #include <linux/slab.h> |
30 | #include <linux/init.h> | 30 | #include <linux/init.h> |
31 | #include <linux/tty.h> | 31 | #include <linux/tty.h> |
32 | #include <asm/uaccess.h> | 32 | #include <linux/uaccess.h> |
33 | #include <linux/console.h> | 33 | #include <linux/console.h> |
34 | #include <linux/consolemap.h> | 34 | #include <linux/consolemap.h> |
35 | #include <linux/vt_kern.h> | 35 | #include <linux/vt_kern.h> |
diff --git a/drivers/tty/vt/selection.c b/drivers/tty/vt/selection.c index 368ce1803e8f..36e1b8c7680f 100644 --- a/drivers/tty/vt/selection.c +++ b/drivers/tty/vt/selection.c | |||
@@ -16,7 +16,7 @@ | |||
16 | #include <linux/slab.h> | 16 | #include <linux/slab.h> |
17 | #include <linux/types.h> | 17 | #include <linux/types.h> |
18 | 18 | ||
19 | #include <asm/uaccess.h> | 19 | #include <linux/uaccess.h> |
20 | 20 | ||
21 | #include <linux/kbd_kern.h> | 21 | #include <linux/kbd_kern.h> |
22 | #include <linux/vt_kern.h> | 22 | #include <linux/vt_kern.h> |
diff --git a/drivers/tty/vt/vc_screen.c b/drivers/tty/vt/vc_screen.c index 14a2b5f11bca..56dcff6059d3 100644 --- a/drivers/tty/vt/vc_screen.c +++ b/drivers/tty/vt/vc_screen.c | |||
@@ -39,7 +39,7 @@ | |||
39 | #include <linux/slab.h> | 39 | #include <linux/slab.h> |
40 | #include <linux/notifier.h> | 40 | #include <linux/notifier.h> |
41 | 41 | ||
42 | #include <asm/uaccess.h> | 42 | #include <linux/uaccess.h> |
43 | #include <asm/byteorder.h> | 43 | #include <asm/byteorder.h> |
44 | #include <asm/unaligned.h> | 44 | #include <asm/unaligned.h> |
45 | 45 | ||
diff --git a/drivers/tty/vt/vt_ioctl.c b/drivers/tty/vt/vt_ioctl.c index f62c598810ff..a56edf2d58eb 100644 --- a/drivers/tty/vt/vt_ioctl.c +++ b/drivers/tty/vt/vt_ioctl.c | |||
@@ -29,7 +29,7 @@ | |||
29 | #include <linux/timex.h> | 29 | #include <linux/timex.h> |
30 | 30 | ||
31 | #include <asm/io.h> | 31 | #include <asm/io.h> |
32 | #include <asm/uaccess.h> | 32 | #include <linux/uaccess.h> |
33 | 33 | ||
34 | #include <linux/kbd_kern.h> | 34 | #include <linux/kbd_kern.h> |
35 | #include <linux/vt_kern.h> | 35 | #include <linux/vt_kern.h> |
diff --git a/drivers/usb/atm/usbatm.c b/drivers/usb/atm/usbatm.c index 4dec9df8764b..5a59da0dc98a 100644 --- a/drivers/usb/atm/usbatm.c +++ b/drivers/usb/atm/usbatm.c | |||
@@ -64,7 +64,7 @@ | |||
64 | 64 | ||
65 | #include "usbatm.h" | 65 | #include "usbatm.h" |
66 | 66 | ||
67 | #include <asm/uaccess.h> | 67 | #include <linux/uaccess.h> |
68 | #include <linux/crc32.h> | 68 | #include <linux/crc32.h> |
69 | #include <linux/errno.h> | 69 | #include <linux/errno.h> |
70 | #include <linux/init.h> | 70 | #include <linux/init.h> |
diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c index 143454ea385b..1fa5c0f29c64 100644 --- a/drivers/usb/core/hub.c +++ b/drivers/usb/core/hub.c | |||
@@ -29,7 +29,7 @@ | |||
29 | #include <linux/random.h> | 29 | #include <linux/random.h> |
30 | #include <linux/pm_qos.h> | 30 | #include <linux/pm_qos.h> |
31 | 31 | ||
32 | #include <asm/uaccess.h> | 32 | #include <linux/uaccess.h> |
33 | #include <asm/byteorder.h> | 33 | #include <asm/byteorder.h> |
34 | 34 | ||
35 | #include "hub.h" | 35 | #include "hub.h" |
diff --git a/drivers/usb/gadget/legacy/inode.c b/drivers/usb/gadget/legacy/inode.c index 10b2576f8b6a..e8f4102d19df 100644 --- a/drivers/usb/gadget/legacy/inode.c +++ b/drivers/usb/gadget/legacy/inode.c | |||
@@ -20,7 +20,7 @@ | |||
20 | #include <linux/uts.h> | 20 | #include <linux/uts.h> |
21 | #include <linux/wait.h> | 21 | #include <linux/wait.h> |
22 | #include <linux/compiler.h> | 22 | #include <linux/compiler.h> |
23 | #include <asm/uaccess.h> | 23 | #include <linux/uaccess.h> |
24 | #include <linux/sched.h> | 24 | #include <linux/sched.h> |
25 | #include <linux/slab.h> | 25 | #include <linux/slab.h> |
26 | #include <linux/poll.h> | 26 | #include <linux/poll.h> |
diff --git a/drivers/usb/host/uhci-hcd.c b/drivers/usb/host/uhci-hcd.c index 5d3d914ab4fb..683098afa93e 100644 --- a/drivers/usb/host/uhci-hcd.c +++ b/drivers/usb/host/uhci-hcd.c | |||
@@ -42,7 +42,7 @@ | |||
42 | #include <linux/bitops.h> | 42 | #include <linux/bitops.h> |
43 | #include <linux/dmi.h> | 43 | #include <linux/dmi.h> |
44 | 44 | ||
45 | #include <asm/uaccess.h> | 45 | #include <linux/uaccess.h> |
46 | #include <asm/io.h> | 46 | #include <asm/io.h> |
47 | #include <asm/irq.h> | 47 | #include <asm/irq.h> |
48 | 48 | ||
diff --git a/drivers/usb/misc/ftdi-elan.c b/drivers/usb/misc/ftdi-elan.c index 9a82f8308ad7..01a9373b7e18 100644 --- a/drivers/usb/misc/ftdi-elan.c +++ b/drivers/usb/misc/ftdi-elan.c | |||
@@ -48,7 +48,7 @@ | |||
48 | #include <linux/module.h> | 48 | #include <linux/module.h> |
49 | #include <linux/kref.h> | 49 | #include <linux/kref.h> |
50 | #include <linux/mutex.h> | 50 | #include <linux/mutex.h> |
51 | #include <asm/uaccess.h> | 51 | #include <linux/uaccess.h> |
52 | #include <linux/usb.h> | 52 | #include <linux/usb.h> |
53 | #include <linux/workqueue.h> | 53 | #include <linux/workqueue.h> |
54 | #include <linux/platform_device.h> | 54 | #include <linux/platform_device.h> |
diff --git a/drivers/usb/misc/idmouse.c b/drivers/usb/misc/idmouse.c index 2975e80b7a56..debc1fd74b0d 100644 --- a/drivers/usb/misc/idmouse.c +++ b/drivers/usb/misc/idmouse.c | |||
@@ -23,7 +23,7 @@ | |||
23 | #include <linux/module.h> | 23 | #include <linux/module.h> |
24 | #include <linux/completion.h> | 24 | #include <linux/completion.h> |
25 | #include <linux/mutex.h> | 25 | #include <linux/mutex.h> |
26 | #include <asm/uaccess.h> | 26 | #include <linux/uaccess.h> |
27 | #include <linux/usb.h> | 27 | #include <linux/usb.h> |
28 | 28 | ||
29 | /* image constants */ | 29 | /* image constants */ |
diff --git a/drivers/usb/misc/ldusb.c b/drivers/usb/misc/ldusb.c index 9ca595632f17..3bc5356832db 100644 --- a/drivers/usb/misc/ldusb.c +++ b/drivers/usb/misc/ldusb.c | |||
@@ -28,7 +28,7 @@ | |||
28 | #include <linux/module.h> | 28 | #include <linux/module.h> |
29 | #include <linux/mutex.h> | 29 | #include <linux/mutex.h> |
30 | 30 | ||
31 | #include <asm/uaccess.h> | 31 | #include <linux/uaccess.h> |
32 | #include <linux/input.h> | 32 | #include <linux/input.h> |
33 | #include <linux/usb.h> | 33 | #include <linux/usb.h> |
34 | #include <linux/poll.h> | 34 | #include <linux/poll.h> |
diff --git a/drivers/usb/misc/legousbtower.c b/drivers/usb/misc/legousbtower.c index c8fbe7b739a0..b10e26c74a90 100644 --- a/drivers/usb/misc/legousbtower.c +++ b/drivers/usb/misc/legousbtower.c | |||
@@ -83,7 +83,7 @@ | |||
83 | #include <linux/module.h> | 83 | #include <linux/module.h> |
84 | #include <linux/completion.h> | 84 | #include <linux/completion.h> |
85 | #include <linux/mutex.h> | 85 | #include <linux/mutex.h> |
86 | #include <asm/uaccess.h> | 86 | #include <linux/uaccess.h> |
87 | #include <linux/usb.h> | 87 | #include <linux/usb.h> |
88 | #include <linux/poll.h> | 88 | #include <linux/poll.h> |
89 | 89 | ||
diff --git a/drivers/usb/mon/mon_bin.c b/drivers/usb/mon/mon_bin.c index 1a874a1f3890..91c22276c03b 100644 --- a/drivers/usb/mon/mon_bin.c +++ b/drivers/usb/mon/mon_bin.c | |||
@@ -20,7 +20,7 @@ | |||
20 | #include <linux/slab.h> | 20 | #include <linux/slab.h> |
21 | #include <linux/time64.h> | 21 | #include <linux/time64.h> |
22 | 22 | ||
23 | #include <asm/uaccess.h> | 23 | #include <linux/uaccess.h> |
24 | 24 | ||
25 | #include "usb_mon.h" | 25 | #include "usb_mon.h" |
26 | 26 | ||
diff --git a/drivers/usb/mon/mon_stat.c b/drivers/usb/mon/mon_stat.c index 5388a339cfb8..5bdf73a57498 100644 --- a/drivers/usb/mon/mon_stat.c +++ b/drivers/usb/mon/mon_stat.c | |||
@@ -12,7 +12,7 @@ | |||
12 | #include <linux/export.h> | 12 | #include <linux/export.h> |
13 | #include <linux/usb.h> | 13 | #include <linux/usb.h> |
14 | #include <linux/fs.h> | 14 | #include <linux/fs.h> |
15 | #include <asm/uaccess.h> | 15 | #include <linux/uaccess.h> |
16 | 16 | ||
17 | #include "usb_mon.h" | 17 | #include "usb_mon.h" |
18 | 18 | ||
diff --git a/drivers/usb/mon/mon_text.c b/drivers/usb/mon/mon_text.c index e59334b09c41..db1a4abf2806 100644 --- a/drivers/usb/mon/mon_text.c +++ b/drivers/usb/mon/mon_text.c | |||
@@ -14,7 +14,7 @@ | |||
14 | #include <linux/mutex.h> | 14 | #include <linux/mutex.h> |
15 | #include <linux/debugfs.h> | 15 | #include <linux/debugfs.h> |
16 | #include <linux/scatterlist.h> | 16 | #include <linux/scatterlist.h> |
17 | #include <asm/uaccess.h> | 17 | #include <linux/uaccess.h> |
18 | 18 | ||
19 | #include "usb_mon.h" | 19 | #include "usb_mon.h" |
20 | 20 | ||
diff --git a/drivers/usb/musb/musb_debugfs.c b/drivers/usb/musb/musb_debugfs.c index 9b22d946c089..4fef50e5c8c1 100644 --- a/drivers/usb/musb/musb_debugfs.c +++ b/drivers/usb/musb/musb_debugfs.c | |||
@@ -37,7 +37,7 @@ | |||
37 | #include <linux/debugfs.h> | 37 | #include <linux/debugfs.h> |
38 | #include <linux/seq_file.h> | 38 | #include <linux/seq_file.h> |
39 | 39 | ||
40 | #include <asm/uaccess.h> | 40 | #include <linux/uaccess.h> |
41 | 41 | ||
42 | #include "musb_core.h" | 42 | #include "musb_core.h" |
43 | #include "musb_debug.h" | 43 | #include "musb_debug.h" |
diff --git a/drivers/video/console/newport_con.c b/drivers/video/console/newport_con.c index 1e11614322fe..42d02a206059 100644 --- a/drivers/video/console/newport_con.c +++ b/drivers/video/console/newport_con.c | |||
@@ -21,7 +21,7 @@ | |||
21 | #include <linux/slab.h> | 21 | #include <linux/slab.h> |
22 | 22 | ||
23 | #include <asm/io.h> | 23 | #include <asm/io.h> |
24 | #include <asm/uaccess.h> | 24 | #include <linux/uaccess.h> |
25 | #include <asm/page.h> | 25 | #include <asm/page.h> |
26 | #include <asm/pgtable.h> | 26 | #include <asm/pgtable.h> |
27 | #include <asm/gio_device.h> | 27 | #include <asm/gio_device.h> |
diff --git a/drivers/video/fbdev/68328fb.c b/drivers/video/fbdev/68328fb.c index 17f21cedff9b..c0c6b88d3839 100644 --- a/drivers/video/fbdev/68328fb.c +++ b/drivers/video/fbdev/68328fb.c | |||
@@ -35,7 +35,7 @@ | |||
35 | #include <linux/vmalloc.h> | 35 | #include <linux/vmalloc.h> |
36 | #include <linux/delay.h> | 36 | #include <linux/delay.h> |
37 | #include <linux/interrupt.h> | 37 | #include <linux/interrupt.h> |
38 | #include <asm/uaccess.h> | 38 | #include <linux/uaccess.h> |
39 | #include <linux/fb.h> | 39 | #include <linux/fb.h> |
40 | #include <linux/init.h> | 40 | #include <linux/init.h> |
41 | 41 | ||
diff --git a/drivers/video/fbdev/hitfb.c b/drivers/video/fbdev/hitfb.c index 9d68dc9ee7bf..abe3e54d4506 100644 --- a/drivers/video/fbdev/hitfb.c +++ b/drivers/video/fbdev/hitfb.c | |||
@@ -22,7 +22,7 @@ | |||
22 | #include <linux/fb.h> | 22 | #include <linux/fb.h> |
23 | 23 | ||
24 | #include <asm/machvec.h> | 24 | #include <asm/machvec.h> |
25 | #include <asm/uaccess.h> | 25 | #include <linux/uaccess.h> |
26 | #include <asm/pgtable.h> | 26 | #include <asm/pgtable.h> |
27 | #include <asm/io.h> | 27 | #include <asm/io.h> |
28 | #include <asm/hd64461.h> | 28 | #include <asm/hd64461.h> |
diff --git a/drivers/video/fbdev/hpfb.c b/drivers/video/fbdev/hpfb.c index 9476d196f510..16f16f5e1a4b 100644 --- a/drivers/video/fbdev/hpfb.c +++ b/drivers/video/fbdev/hpfb.c | |||
@@ -16,7 +16,7 @@ | |||
16 | #include <linux/dio.h> | 16 | #include <linux/dio.h> |
17 | 17 | ||
18 | #include <asm/io.h> | 18 | #include <asm/io.h> |
19 | #include <asm/uaccess.h> | 19 | #include <linux/uaccess.h> |
20 | 20 | ||
21 | static struct fb_info fb_info = { | 21 | static struct fb_info fb_info = { |
22 | .fix = { | 22 | .fix = { |
diff --git a/drivers/video/fbdev/mx3fb.c b/drivers/video/fbdev/mx3fb.c index 8778e01cebac..1c3c7ab26a95 100644 --- a/drivers/video/fbdev/mx3fb.c +++ b/drivers/video/fbdev/mx3fb.c | |||
@@ -33,7 +33,7 @@ | |||
33 | #include <linux/platform_data/video-mx3fb.h> | 33 | #include <linux/platform_data/video-mx3fb.h> |
34 | 34 | ||
35 | #include <asm/io.h> | 35 | #include <asm/io.h> |
36 | #include <asm/uaccess.h> | 36 | #include <linux/uaccess.h> |
37 | 37 | ||
38 | #define MX3FB_NAME "mx3_sdc_fb" | 38 | #define MX3FB_NAME "mx3_sdc_fb" |
39 | 39 | ||
diff --git a/drivers/video/fbdev/q40fb.c b/drivers/video/fbdev/q40fb.c index 7487f76f6275..04ea330ccf5d 100644 --- a/drivers/video/fbdev/q40fb.c +++ b/drivers/video/fbdev/q40fb.c | |||
@@ -18,7 +18,7 @@ | |||
18 | #include <linux/interrupt.h> | 18 | #include <linux/interrupt.h> |
19 | #include <linux/platform_device.h> | 19 | #include <linux/platform_device.h> |
20 | 20 | ||
21 | #include <asm/uaccess.h> | 21 | #include <linux/uaccess.h> |
22 | #include <asm/setup.h> | 22 | #include <asm/setup.h> |
23 | #include <asm/q40_master.h> | 23 | #include <asm/q40_master.h> |
24 | #include <linux/fb.h> | 24 | #include <linux/fb.h> |
diff --git a/drivers/video/fbdev/sm501fb.c b/drivers/video/fbdev/sm501fb.c index d0a4e2f79a57..d80bc8a3200f 100644 --- a/drivers/video/fbdev/sm501fb.c +++ b/drivers/video/fbdev/sm501fb.c | |||
@@ -31,7 +31,7 @@ | |||
31 | #include <linux/console.h> | 31 | #include <linux/console.h> |
32 | #include <linux/io.h> | 32 | #include <linux/io.h> |
33 | 33 | ||
34 | #include <asm/uaccess.h> | 34 | #include <linux/uaccess.h> |
35 | #include <asm/div64.h> | 35 | #include <asm/div64.h> |
36 | 36 | ||
37 | #ifdef CONFIG_PM | 37 | #ifdef CONFIG_PM |
diff --git a/drivers/video/fbdev/stifb.c b/drivers/video/fbdev/stifb.c index 7df4228e25f0..accfef71e984 100644 --- a/drivers/video/fbdev/stifb.c +++ b/drivers/video/fbdev/stifb.c | |||
@@ -67,7 +67,7 @@ | |||
67 | #include <linux/io.h> | 67 | #include <linux/io.h> |
68 | 68 | ||
69 | #include <asm/grfioctl.h> /* for HP-UX compatibility */ | 69 | #include <asm/grfioctl.h> /* for HP-UX compatibility */ |
70 | #include <asm/uaccess.h> | 70 | #include <linux/uaccess.h> |
71 | 71 | ||
72 | #include "sticore.h" | 72 | #include "sticore.h" |
73 | 73 | ||
diff --git a/drivers/video/fbdev/w100fb.c b/drivers/video/fbdev/w100fb.c index 10951c82f6ed..d570e19a2864 100644 --- a/drivers/video/fbdev/w100fb.c +++ b/drivers/video/fbdev/w100fb.c | |||
@@ -35,7 +35,7 @@ | |||
35 | #include <linux/vmalloc.h> | 35 | #include <linux/vmalloc.h> |
36 | #include <linux/module.h> | 36 | #include <linux/module.h> |
37 | #include <asm/io.h> | 37 | #include <asm/io.h> |
38 | #include <asm/uaccess.h> | 38 | #include <linux/uaccess.h> |
39 | #include <video/w100fb.h> | 39 | #include <video/w100fb.h> |
40 | #include "w100fb.h" | 40 | #include "w100fb.h" |
41 | 41 | ||
diff --git a/drivers/zorro/proc.c b/drivers/zorro/proc.c index 6ac2579da0eb..05397305fccd 100644 --- a/drivers/zorro/proc.c +++ b/drivers/zorro/proc.c | |||
@@ -16,7 +16,7 @@ | |||
16 | #include <linux/export.h> | 16 | #include <linux/export.h> |
17 | 17 | ||
18 | #include <asm/byteorder.h> | 18 | #include <asm/byteorder.h> |
19 | #include <asm/uaccess.h> | 19 | #include <linux/uaccess.h> |
20 | #include <asm/amigahw.h> | 20 | #include <asm/amigahw.h> |
21 | #include <asm/setup.h> | 21 | #include <asm/setup.h> |
22 | 22 | ||