diff options
author | David Howells <dhowells@redhat.com> | 2012-03-28 13:30:03 -0400 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2012-03-28 13:30:03 -0400 |
commit | 9ffc93f203c18a70623f21950f1dd473c9ec48cd (patch) | |
tree | 1eb3536ae183b0bfbf7f5152a6fe4f430ae881c2 /include | |
parent | 96f951edb1f1bdbbc99b0cd458f9808bb83d58ae (diff) |
Remove all #inclusions of asm/system.h
Remove all #inclusions of asm/system.h preparatory to splitting and killing
it. Performed with the following command:
perl -p -i -e 's!^#\s*include\s*<asm/system[.]h>.*\n!!' `grep -Irl '^#\s*include\s*<asm/system[.]h>' *`
Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/acpi/platform/aclinux.h | 1 | ||||
-rw-r--r-- | include/asm-generic/atomic.h | 1 | ||||
-rw-r--r-- | include/linux/cnt32_to_63.h | 1 | ||||
-rw-r--r-- | include/linux/debug_locks.h | 1 | ||||
-rw-r--r-- | include/linux/efi.h | 1 | ||||
-rw-r--r-- | include/linux/ide.h | 1 | ||||
-rw-r--r-- | include/linux/interrupt.h | 1 | ||||
-rw-r--r-- | include/linux/lsm_audit.h | 1 | ||||
-rw-r--r-- | include/linux/mtd/map.h | 1 | ||||
-rw-r--r-- | include/linux/parport.h | 1 | ||||
-rw-r--r-- | include/linux/rwsem.h | 1 | ||||
-rw-r--r-- | include/linux/sched.h | 1 | ||||
-rw-r--r-- | include/linux/skbuff.h | 1 | ||||
-rw-r--r-- | include/linux/spinlock.h | 1 | ||||
-rw-r--r-- | include/linux/stop_machine.h | 1 | ||||
-rw-r--r-- | include/linux/tty.h | 1 | ||||
-rw-r--r-- | include/linux/wait.h | 1 |
17 files changed, 0 insertions, 17 deletions
diff --git a/include/acpi/platform/aclinux.h b/include/acpi/platform/aclinux.h index f4b2effe0333..6fbc4cab5834 100644 --- a/include/acpi/platform/aclinux.h +++ b/include/acpi/platform/aclinux.h | |||
@@ -57,7 +57,6 @@ | |||
57 | #include <linux/kernel.h> | 57 | #include <linux/kernel.h> |
58 | #include <linux/ctype.h> | 58 | #include <linux/ctype.h> |
59 | #include <linux/sched.h> | 59 | #include <linux/sched.h> |
60 | #include <asm/system.h> | ||
61 | #include <linux/atomic.h> | 60 | #include <linux/atomic.h> |
62 | #include <asm/div64.h> | 61 | #include <asm/div64.h> |
63 | #include <asm/acpi.h> | 62 | #include <asm/acpi.h> |
diff --git a/include/asm-generic/atomic.h b/include/asm-generic/atomic.h index 8b8cf9412989..1ced6413ea03 100644 --- a/include/asm-generic/atomic.h +++ b/include/asm-generic/atomic.h | |||
@@ -54,7 +54,6 @@ | |||
54 | #define atomic_set(v, i) (((v)->counter) = (i)) | 54 | #define atomic_set(v, i) (((v)->counter) = (i)) |
55 | 55 | ||
56 | #include <linux/irqflags.h> | 56 | #include <linux/irqflags.h> |
57 | #include <asm/system.h> | ||
58 | 57 | ||
59 | /** | 58 | /** |
60 | * atomic_add_return - add integer to atomic variable | 59 | * atomic_add_return - add integer to atomic variable |
diff --git a/include/linux/cnt32_to_63.h b/include/linux/cnt32_to_63.h index e3d8bf26e5eb..aa629bce9033 100644 --- a/include/linux/cnt32_to_63.h +++ b/include/linux/cnt32_to_63.h | |||
@@ -16,7 +16,6 @@ | |||
16 | #include <linux/compiler.h> | 16 | #include <linux/compiler.h> |
17 | #include <linux/types.h> | 17 | #include <linux/types.h> |
18 | #include <asm/byteorder.h> | 18 | #include <asm/byteorder.h> |
19 | #include <asm/system.h> | ||
20 | 19 | ||
21 | /* this is used only to give gcc a clue about good code generation */ | 20 | /* this is used only to give gcc a clue about good code generation */ |
22 | union cnt32_to_63 { | 21 | union cnt32_to_63 { |
diff --git a/include/linux/debug_locks.h b/include/linux/debug_locks.h index 5033fb88c107..75cae8bf2028 100644 --- a/include/linux/debug_locks.h +++ b/include/linux/debug_locks.h | |||
@@ -3,7 +3,6 @@ | |||
3 | 3 | ||
4 | #include <linux/kernel.h> | 4 | #include <linux/kernel.h> |
5 | #include <linux/atomic.h> | 5 | #include <linux/atomic.h> |
6 | #include <asm/system.h> | ||
7 | 6 | ||
8 | struct task_struct; | 7 | struct task_struct; |
9 | 8 | ||
diff --git a/include/linux/efi.h b/include/linux/efi.h index 47fbf6b3dc77..88ec80670d5f 100644 --- a/include/linux/efi.h +++ b/include/linux/efi.h | |||
@@ -22,7 +22,6 @@ | |||
22 | #include <linux/pstore.h> | 22 | #include <linux/pstore.h> |
23 | 23 | ||
24 | #include <asm/page.h> | 24 | #include <asm/page.h> |
25 | #include <asm/system.h> | ||
26 | 25 | ||
27 | #define EFI_SUCCESS 0 | 26 | #define EFI_SUCCESS 0 |
28 | #define EFI_LOAD_ERROR ( 1 | (1UL << (BITS_PER_LONG-1))) | 27 | #define EFI_LOAD_ERROR ( 1 | (1UL << (BITS_PER_LONG-1))) |
diff --git a/include/linux/ide.h b/include/linux/ide.h index 501370b61ee5..9e355d006a03 100644 --- a/include/linux/ide.h +++ b/include/linux/ide.h | |||
@@ -23,7 +23,6 @@ | |||
23 | #include <acpi/acpi.h> | 23 | #include <acpi/acpi.h> |
24 | #endif | 24 | #endif |
25 | #include <asm/byteorder.h> | 25 | #include <asm/byteorder.h> |
26 | #include <asm/system.h> | ||
27 | #include <asm/io.h> | 26 | #include <asm/io.h> |
28 | 27 | ||
29 | /* for request_sense */ | 28 | /* for request_sense */ |
diff --git a/include/linux/interrupt.h b/include/linux/interrupt.h index 3f830e005118..2aea5d22db07 100644 --- a/include/linux/interrupt.h +++ b/include/linux/interrupt.h | |||
@@ -19,7 +19,6 @@ | |||
19 | 19 | ||
20 | #include <linux/atomic.h> | 20 | #include <linux/atomic.h> |
21 | #include <asm/ptrace.h> | 21 | #include <asm/ptrace.h> |
22 | #include <asm/system.h> | ||
23 | 22 | ||
24 | /* | 23 | /* |
25 | * These correspond to the IORESOURCE_IRQ_* defines in | 24 | * These correspond to the IORESOURCE_IRQ_* defines in |
diff --git a/include/linux/lsm_audit.h b/include/linux/lsm_audit.h index 88e78dedc2e8..eab507f2b1cb 100644 --- a/include/linux/lsm_audit.h +++ b/include/linux/lsm_audit.h | |||
@@ -21,7 +21,6 @@ | |||
21 | #include <linux/path.h> | 21 | #include <linux/path.h> |
22 | #include <linux/key.h> | 22 | #include <linux/key.h> |
23 | #include <linux/skbuff.h> | 23 | #include <linux/skbuff.h> |
24 | #include <asm/system.h> | ||
25 | 24 | ||
26 | 25 | ||
27 | /* Auxiliary data to use in generating the audit record. */ | 26 | /* Auxiliary data to use in generating the audit record. */ |
diff --git a/include/linux/mtd/map.h b/include/linux/mtd/map.h index ade5c990f1f0..3595a0236b0f 100644 --- a/include/linux/mtd/map.h +++ b/include/linux/mtd/map.h | |||
@@ -29,7 +29,6 @@ | |||
29 | #include <linux/kernel.h> | 29 | #include <linux/kernel.h> |
30 | 30 | ||
31 | #include <asm/unaligned.h> | 31 | #include <asm/unaligned.h> |
32 | #include <asm/system.h> | ||
33 | #include <asm/io.h> | 32 | #include <asm/io.h> |
34 | #include <asm/barrier.h> | 33 | #include <asm/barrier.h> |
35 | 34 | ||
diff --git a/include/linux/parport.h b/include/linux/parport.h index 38a423ed3c01..106c2ca9440b 100644 --- a/include/linux/parport.h +++ b/include/linux/parport.h | |||
@@ -100,7 +100,6 @@ typedef enum { | |||
100 | #include <linux/wait.h> | 100 | #include <linux/wait.h> |
101 | #include <linux/irqreturn.h> | 101 | #include <linux/irqreturn.h> |
102 | #include <linux/semaphore.h> | 102 | #include <linux/semaphore.h> |
103 | #include <asm/system.h> | ||
104 | #include <asm/ptrace.h> | 103 | #include <asm/ptrace.h> |
105 | 104 | ||
106 | /* Define this later. */ | 105 | /* Define this later. */ |
diff --git a/include/linux/rwsem.h b/include/linux/rwsem.h index 63d406554391..54bd7cd7ecbd 100644 --- a/include/linux/rwsem.h +++ b/include/linux/rwsem.h | |||
@@ -14,7 +14,6 @@ | |||
14 | #include <linux/list.h> | 14 | #include <linux/list.h> |
15 | #include <linux/spinlock.h> | 15 | #include <linux/spinlock.h> |
16 | 16 | ||
17 | #include <asm/system.h> | ||
18 | #include <linux/atomic.h> | 17 | #include <linux/atomic.h> |
19 | 18 | ||
20 | struct rw_semaphore; | 19 | struct rw_semaphore; |
diff --git a/include/linux/sched.h b/include/linux/sched.h index 0c147a4260a5..704464d71a96 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h | |||
@@ -63,7 +63,6 @@ struct sched_param { | |||
63 | #include <linux/nodemask.h> | 63 | #include <linux/nodemask.h> |
64 | #include <linux/mm_types.h> | 64 | #include <linux/mm_types.h> |
65 | 65 | ||
66 | #include <asm/system.h> | ||
67 | #include <asm/page.h> | 66 | #include <asm/page.h> |
68 | #include <asm/ptrace.h> | 67 | #include <asm/ptrace.h> |
69 | #include <asm/cputime.h> | 68 | #include <asm/cputime.h> |
diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h index a2b9953b582d..bf86abb61940 100644 --- a/include/linux/skbuff.h +++ b/include/linux/skbuff.h | |||
@@ -500,7 +500,6 @@ struct sk_buff { | |||
500 | */ | 500 | */ |
501 | #include <linux/slab.h> | 501 | #include <linux/slab.h> |
502 | 502 | ||
503 | #include <asm/system.h> | ||
504 | 503 | ||
505 | /* | 504 | /* |
506 | * skb might have a dst pointer attached, refcounted or not. | 505 | * skb might have a dst pointer attached, refcounted or not. |
diff --git a/include/linux/spinlock.h b/include/linux/spinlock.h index fa0f93e4d86d..8a98ddfef1f7 100644 --- a/include/linux/spinlock.h +++ b/include/linux/spinlock.h | |||
@@ -57,7 +57,6 @@ | |||
57 | #include <linux/bottom_half.h> | 57 | #include <linux/bottom_half.h> |
58 | #include <asm/barrier.h> | 58 | #include <asm/barrier.h> |
59 | 59 | ||
60 | #include <asm/system.h> | ||
61 | 60 | ||
62 | /* | 61 | /* |
63 | * Must define these before including other files, inline functions need them | 62 | * Must define these before including other files, inline functions need them |
diff --git a/include/linux/stop_machine.h b/include/linux/stop_machine.h index c170edc3bf5f..3b5e910d14ca 100644 --- a/include/linux/stop_machine.h +++ b/include/linux/stop_machine.h | |||
@@ -5,7 +5,6 @@ | |||
5 | #include <linux/cpumask.h> | 5 | #include <linux/cpumask.h> |
6 | #include <linux/smp.h> | 6 | #include <linux/smp.h> |
7 | #include <linux/list.h> | 7 | #include <linux/list.h> |
8 | #include <asm/system.h> | ||
9 | 8 | ||
10 | /* | 9 | /* |
11 | * stop_cpu[s]() is simplistic per-cpu maximum priority cpu | 10 | * stop_cpu[s]() is simplistic per-cpu maximum priority cpu |
diff --git a/include/linux/tty.h b/include/linux/tty.h index a91ff403b3bf..9f47ab540f65 100644 --- a/include/linux/tty.h +++ b/include/linux/tty.h | |||
@@ -44,7 +44,6 @@ | |||
44 | #include <linux/tty_ldisc.h> | 44 | #include <linux/tty_ldisc.h> |
45 | #include <linux/mutex.h> | 45 | #include <linux/mutex.h> |
46 | 46 | ||
47 | #include <asm/system.h> | ||
48 | 47 | ||
49 | 48 | ||
50 | /* | 49 | /* |
diff --git a/include/linux/wait.h b/include/linux/wait.h index 7d9a9e990ce6..1dee81c41ff1 100644 --- a/include/linux/wait.h +++ b/include/linux/wait.h | |||
@@ -22,7 +22,6 @@ | |||
22 | #include <linux/list.h> | 22 | #include <linux/list.h> |
23 | #include <linux/stddef.h> | 23 | #include <linux/stddef.h> |
24 | #include <linux/spinlock.h> | 24 | #include <linux/spinlock.h> |
25 | #include <asm/system.h> | ||
26 | #include <asm/current.h> | 25 | #include <asm/current.h> |
27 | 26 | ||
28 | typedef struct __wait_queue wait_queue_t; | 27 | typedef struct __wait_queue wait_queue_t; |