diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2007-10-11 05:20:03 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2007-10-11 05:20:03 -0400 |
commit | 96a388de5dc53a8b234b3fd41f3ae2cedc9ffd42 (patch) | |
tree | d947a467aa2da3140279617bc4b9b101640d7bf4 /arch | |
parent | 27bd0c955648646abf2a353a8371d28c37bcd982 (diff) |
i386/x86_64: move headers to include/asm-x86
Move the headers to include/asm-x86 and fixup the
header install make rules
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/i386/Makefile | 16 | ||||
-rw-r--r-- | arch/ia64/ia32/audit.c | 2 | ||||
-rw-r--r-- | arch/um/sys-x86_64/syscall_table.c | 4 | ||||
-rw-r--r-- | arch/x86/ia32/audit.c | 2 | ||||
-rw-r--r-- | arch/x86/ia32/ipc32.c | 2 | ||||
-rw-r--r-- | arch/x86/kernel/cpu/mtrr/state.c | 2 | ||||
-rw-r--r-- | arch/x86/kernel/syscall_64.c | 4 |
7 files changed, 16 insertions, 16 deletions
diff --git a/arch/i386/Makefile b/arch/i386/Makefile index 9c1da722964d..b433dae1ac7d 100644 --- a/arch/i386/Makefile +++ b/arch/i386/Makefile | |||
@@ -71,32 +71,32 @@ CFLAGS += $(cflags-y) | |||
71 | mcore-y := arch/x86/mach-default | 71 | mcore-y := arch/x86/mach-default |
72 | 72 | ||
73 | # Voyager subarch support | 73 | # Voyager subarch support |
74 | mflags-$(CONFIG_X86_VOYAGER) := -Iinclude/asm-i386/mach-voyager | 74 | mflags-$(CONFIG_X86_VOYAGER) := -Iinclude/asm-x86/mach-voyager |
75 | mcore-$(CONFIG_X86_VOYAGER) := arch/x86/mach-voyager | 75 | mcore-$(CONFIG_X86_VOYAGER) := arch/x86/mach-voyager |
76 | 76 | ||
77 | # VISWS subarch support | 77 | # VISWS subarch support |
78 | mflags-$(CONFIG_X86_VISWS) := -Iinclude/asm-i386/mach-visws | 78 | mflags-$(CONFIG_X86_VISWS) := -Iinclude/asm-x86/mach-visws |
79 | mcore-$(CONFIG_X86_VISWS) := arch/x86/mach-visws | 79 | mcore-$(CONFIG_X86_VISWS) := arch/x86/mach-visws |
80 | 80 | ||
81 | # NUMAQ subarch support | 81 | # NUMAQ subarch support |
82 | mflags-$(CONFIG_X86_NUMAQ) := -Iinclude/asm-i386/mach-numaq | 82 | mflags-$(CONFIG_X86_NUMAQ) := -Iinclude/asm-x86/mach-numaq |
83 | mcore-$(CONFIG_X86_NUMAQ) := arch/x86/mach-default | 83 | mcore-$(CONFIG_X86_NUMAQ) := arch/x86/mach-default |
84 | 84 | ||
85 | # BIGSMP subarch support | 85 | # BIGSMP subarch support |
86 | mflags-$(CONFIG_X86_BIGSMP) := -Iinclude/asm-i386/mach-bigsmp | 86 | mflags-$(CONFIG_X86_BIGSMP) := -Iinclude/asm-x86/mach-bigsmp |
87 | mcore-$(CONFIG_X86_BIGSMP) := arch/x86/mach-default | 87 | mcore-$(CONFIG_X86_BIGSMP) := arch/x86/mach-default |
88 | 88 | ||
89 | #Summit subarch support | 89 | #Summit subarch support |
90 | mflags-$(CONFIG_X86_SUMMIT) := -Iinclude/asm-i386/mach-summit | 90 | mflags-$(CONFIG_X86_SUMMIT) := -Iinclude/asm-x86/mach-summit |
91 | mcore-$(CONFIG_X86_SUMMIT) := arch/x86/mach-default | 91 | mcore-$(CONFIG_X86_SUMMIT) := arch/x86/mach-default |
92 | 92 | ||
93 | # generic subarchitecture | 93 | # generic subarchitecture |
94 | mflags-$(CONFIG_X86_GENERICARCH) := -Iinclude/asm-i386/mach-generic | 94 | mflags-$(CONFIG_X86_GENERICARCH) := -Iinclude/asm-x86/mach-generic |
95 | mcore-$(CONFIG_X86_GENERICARCH) := arch/x86/mach-default | 95 | mcore-$(CONFIG_X86_GENERICARCH) := arch/x86/mach-default |
96 | core-$(CONFIG_X86_GENERICARCH) += arch/x86/mach-generic/ | 96 | core-$(CONFIG_X86_GENERICARCH) += arch/x86/mach-generic/ |
97 | 97 | ||
98 | # ES7000 subarch support | 98 | # ES7000 subarch support |
99 | mflags-$(CONFIG_X86_ES7000) := -Iinclude/asm-i386/mach-es7000 | 99 | mflags-$(CONFIG_X86_ES7000) := -Iinclude/asm-x86/mach-es7000 |
100 | mcore-$(CONFIG_X86_ES7000) := arch/x86/mach-default | 100 | mcore-$(CONFIG_X86_ES7000) := arch/x86/mach-default |
101 | core-$(CONFIG_X86_ES7000) := arch/x86/mach-es7000/ | 101 | core-$(CONFIG_X86_ES7000) := arch/x86/mach-es7000/ |
102 | 102 | ||
@@ -104,7 +104,7 @@ core-$(CONFIG_X86_ES7000) := arch/x86/mach-es7000/ | |||
104 | core-$(CONFIG_XEN) += arch/x86/xen/ | 104 | core-$(CONFIG_XEN) += arch/x86/xen/ |
105 | 105 | ||
106 | # default subarch .h files | 106 | # default subarch .h files |
107 | mflags-y += -Iinclude/asm-i386/mach-default | 107 | mflags-y += -Iinclude/asm-x86/mach-default |
108 | 108 | ||
109 | head-y := arch/x86/kernel/head_32.o arch/x86/kernel/init_task_32.o | 109 | head-y := arch/x86/kernel/head_32.o arch/x86/kernel/init_task_32.o |
110 | 110 | ||
diff --git a/arch/ia64/ia32/audit.c b/arch/ia64/ia32/audit.c index 8850fe40ea34..5e901c75df1b 100644 --- a/arch/ia64/ia32/audit.c +++ b/arch/ia64/ia32/audit.c | |||
@@ -1,4 +1,4 @@ | |||
1 | #include <asm-i386/unistd.h> | 1 | #include <asm-x86/unistd_32.h> |
2 | 2 | ||
3 | unsigned ia32_dir_class[] = { | 3 | unsigned ia32_dir_class[] = { |
4 | #include <asm-generic/audit_dir_write.h> | 4 | #include <asm-generic/audit_dir_write.h> |
diff --git a/arch/um/sys-x86_64/syscall_table.c b/arch/um/sys-x86_64/syscall_table.c index 5133988d3610..71b2ae4ad5de 100644 --- a/arch/um/sys-x86_64/syscall_table.c +++ b/arch/um/sys-x86_64/syscall_table.c | |||
@@ -36,7 +36,7 @@ | |||
36 | 36 | ||
37 | #define __SYSCALL(nr, sym) extern asmlinkage void sym(void) ; | 37 | #define __SYSCALL(nr, sym) extern asmlinkage void sym(void) ; |
38 | #undef _ASM_X86_64_UNISTD_H_ | 38 | #undef _ASM_X86_64_UNISTD_H_ |
39 | #include <asm-x86_64/unistd.h> | 39 | #include <asm-x86/unistd_64.h> |
40 | 40 | ||
41 | #undef __SYSCALL | 41 | #undef __SYSCALL |
42 | #define __SYSCALL(nr, sym) [ nr ] = sym, | 42 | #define __SYSCALL(nr, sym) [ nr ] = sym, |
@@ -49,5 +49,5 @@ extern void sys_ni_syscall(void); | |||
49 | sys_call_ptr_t sys_call_table[UM_NR_syscall_max+1] __cacheline_aligned = { | 49 | sys_call_ptr_t sys_call_table[UM_NR_syscall_max+1] __cacheline_aligned = { |
50 | /* Smells like a like a compiler bug -- it doesn't work when the & below is removed. */ | 50 | /* Smells like a like a compiler bug -- it doesn't work when the & below is removed. */ |
51 | [0 ... UM_NR_syscall_max] = &sys_ni_syscall, | 51 | [0 ... UM_NR_syscall_max] = &sys_ni_syscall, |
52 | #include <asm-x86_64/unistd.h> | 52 | #include <asm-x86/unistd_64.h> |
53 | }; | 53 | }; |
diff --git a/arch/x86/ia32/audit.c b/arch/x86/ia32/audit.c index 8850fe40ea34..91b7b5922dfa 100644 --- a/arch/x86/ia32/audit.c +++ b/arch/x86/ia32/audit.c | |||
@@ -1,4 +1,4 @@ | |||
1 | #include <asm-i386/unistd.h> | 1 | #include <asm/unistd_32.h> |
2 | 2 | ||
3 | unsigned ia32_dir_class[] = { | 3 | unsigned ia32_dir_class[] = { |
4 | #include <asm-generic/audit_dir_write.h> | 4 | #include <asm-generic/audit_dir_write.h> |
diff --git a/arch/x86/ia32/ipc32.c b/arch/x86/ia32/ipc32.c index 369151dc3213..2e1869ec4db4 100644 --- a/arch/x86/ia32/ipc32.c +++ b/arch/x86/ia32/ipc32.c | |||
@@ -9,7 +9,7 @@ | |||
9 | #include <linux/ipc.h> | 9 | #include <linux/ipc.h> |
10 | #include <linux/compat.h> | 10 | #include <linux/compat.h> |
11 | 11 | ||
12 | #include <asm-i386/ipc.h> | 12 | #include <asm/ipc.h> |
13 | 13 | ||
14 | asmlinkage long | 14 | asmlinkage long |
15 | sys32_ipc(u32 call, int first, int second, int third, | 15 | sys32_ipc(u32 call, int first, int second, int third, |
diff --git a/arch/x86/kernel/cpu/mtrr/state.c b/arch/x86/kernel/cpu/mtrr/state.c index c9014ca4a575..49e20c2afcdf 100644 --- a/arch/x86/kernel/cpu/mtrr/state.c +++ b/arch/x86/kernel/cpu/mtrr/state.c | |||
@@ -3,7 +3,7 @@ | |||
3 | #include <asm/io.h> | 3 | #include <asm/io.h> |
4 | #include <asm/mtrr.h> | 4 | #include <asm/mtrr.h> |
5 | #include <asm/msr.h> | 5 | #include <asm/msr.h> |
6 | #include <asm-i386/processor-cyrix.h> | 6 | #include <asm/processor-cyrix.h> |
7 | #include "mtrr.h" | 7 | #include "mtrr.h" |
8 | 8 | ||
9 | 9 | ||
diff --git a/arch/x86/kernel/syscall_64.c b/arch/x86/kernel/syscall_64.c index 63d592c276cc..9d498c2f8eea 100644 --- a/arch/x86/kernel/syscall_64.c +++ b/arch/x86/kernel/syscall_64.c | |||
@@ -9,7 +9,7 @@ | |||
9 | 9 | ||
10 | #define __SYSCALL(nr, sym) extern asmlinkage void sym(void) ; | 10 | #define __SYSCALL(nr, sym) extern asmlinkage void sym(void) ; |
11 | #undef _ASM_X86_64_UNISTD_H_ | 11 | #undef _ASM_X86_64_UNISTD_H_ |
12 | #include <asm-x86_64/unistd.h> | 12 | #include <asm/unistd_64.h> |
13 | 13 | ||
14 | #undef __SYSCALL | 14 | #undef __SYSCALL |
15 | #define __SYSCALL(nr, sym) [ nr ] = sym, | 15 | #define __SYSCALL(nr, sym) [ nr ] = sym, |
@@ -22,5 +22,5 @@ extern void sys_ni_syscall(void); | |||
22 | const sys_call_ptr_t sys_call_table[__NR_syscall_max+1] = { | 22 | const sys_call_ptr_t sys_call_table[__NR_syscall_max+1] = { |
23 | /* Smells like a like a compiler bug -- it doesn't work when the & below is removed. */ | 23 | /* Smells like a like a compiler bug -- it doesn't work when the & below is removed. */ |
24 | [0 ... __NR_syscall_max] = &sys_ni_syscall, | 24 | [0 ... __NR_syscall_max] = &sys_ni_syscall, |
25 | #include <asm-x86_64/unistd.h> | 25 | #include <asm/unistd_64.h> |
26 | }; | 26 | }; |