diff options
-rw-r--r-- | arch/alpha/Makefile | 11 | ||||
-rw-r--r-- | arch/alpha/kernel/entry.S | 2 | ||||
-rw-r--r-- | arch/alpha/kernel/head.S | 2 | ||||
-rw-r--r-- | arch/alpha/lib/dbg_stackcheck.S | 2 | ||||
-rw-r--r-- | arch/alpha/lib/dbg_stackkill.S | 2 | ||||
-rw-r--r-- | arch/x86_64/Makefile | 10 | ||||
-rw-r--r-- | arch/x86_64/ia32/ia32entry.S | 2 | ||||
-rw-r--r-- | arch/x86_64/ia32/vsyscall-syscall.S | 2 | ||||
-rw-r--r-- | arch/x86_64/ia32/vsyscall-sysenter.S | 2 | ||||
-rw-r--r-- | arch/x86_64/kernel/entry.S | 2 | ||||
-rw-r--r-- | arch/x86_64/kernel/suspend_asm.S | 2 | ||||
-rw-r--r-- | arch/x86_64/lib/copy_user.S | 2 | ||||
-rw-r--r-- | arch/x86_64/lib/getuser.S | 2 | ||||
-rw-r--r-- | arch/x86_64/lib/putuser.S | 2 | ||||
-rw-r--r-- | include/asm-x86_64/current.h | 2 |
15 files changed, 13 insertions, 34 deletions
diff --git a/arch/alpha/Makefile b/arch/alpha/Makefile index 22ebfb2be0e4..1b704ee54bf3 100644 --- a/arch/alpha/Makefile +++ b/arch/alpha/Makefile | |||
@@ -108,20 +108,9 @@ $(boot)/vmlinux.gz: vmlinux | |||
108 | bootimage bootpfile bootpzfile: vmlinux | 108 | bootimage bootpfile bootpzfile: vmlinux |
109 | $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@ | 109 | $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@ |
110 | 110 | ||
111 | |||
112 | prepare: include/asm-$(ARCH)/asm_offsets.h | ||
113 | |||
114 | arch/$(ARCH)/kernel/asm-offsets.s: include/asm include/linux/version.h \ | ||
115 | include/config/MARKER | ||
116 | |||
117 | include/asm-$(ARCH)/asm_offsets.h: arch/$(ARCH)/kernel/asm-offsets.s | ||
118 | $(call filechk,gen-asm-offsets) | ||
119 | |||
120 | archclean: | 111 | archclean: |
121 | $(Q)$(MAKE) $(clean)=$(boot) | 112 | $(Q)$(MAKE) $(clean)=$(boot) |
122 | 113 | ||
123 | CLEAN_FILES += include/asm-$(ARCH)/asm_offsets.h | ||
124 | |||
125 | define archhelp | 114 | define archhelp |
126 | echo '* boot - Compressed kernel image (arch/alpha/boot/vmlinux.gz)' | 115 | echo '* boot - Compressed kernel image (arch/alpha/boot/vmlinux.gz)' |
127 | echo ' bootimage - SRM bootable image (arch/alpha/boot/bootimage)' | 116 | echo ' bootimage - SRM bootable image (arch/alpha/boot/bootimage)' |
diff --git a/arch/alpha/kernel/entry.S b/arch/alpha/kernel/entry.S index f0927ee53f29..76cc0cb5fc2e 100644 --- a/arch/alpha/kernel/entry.S +++ b/arch/alpha/kernel/entry.S | |||
@@ -5,7 +5,7 @@ | |||
5 | */ | 5 | */ |
6 | 6 | ||
7 | #include <linux/config.h> | 7 | #include <linux/config.h> |
8 | #include <asm/asm_offsets.h> | 8 | #include <asm/asm-offsets.h> |
9 | #include <asm/thread_info.h> | 9 | #include <asm/thread_info.h> |
10 | #include <asm/pal.h> | 10 | #include <asm/pal.h> |
11 | #include <asm/errno.h> | 11 | #include <asm/errno.h> |
diff --git a/arch/alpha/kernel/head.S b/arch/alpha/kernel/head.S index 4ca2e404708a..0905721fcbca 100644 --- a/arch/alpha/kernel/head.S +++ b/arch/alpha/kernel/head.S | |||
@@ -9,7 +9,7 @@ | |||
9 | 9 | ||
10 | #include <linux/config.h> | 10 | #include <linux/config.h> |
11 | #include <asm/system.h> | 11 | #include <asm/system.h> |
12 | #include <asm/asm_offsets.h> | 12 | #include <asm/asm-offsets.h> |
13 | 13 | ||
14 | .globl swapper_pg_dir | 14 | .globl swapper_pg_dir |
15 | .globl _stext | 15 | .globl _stext |
diff --git a/arch/alpha/lib/dbg_stackcheck.S b/arch/alpha/lib/dbg_stackcheck.S index cc5ce3a5fcad..3c1f3e6522e5 100644 --- a/arch/alpha/lib/dbg_stackcheck.S +++ b/arch/alpha/lib/dbg_stackcheck.S | |||
@@ -5,7 +5,7 @@ | |||
5 | * Verify that we have not overflowed the stack. Oops if we have. | 5 | * Verify that we have not overflowed the stack. Oops if we have. |
6 | */ | 6 | */ |
7 | 7 | ||
8 | #include <asm/asm_offsets.h> | 8 | #include <asm/asm-offsets.h> |
9 | 9 | ||
10 | .text | 10 | .text |
11 | .set noat | 11 | .set noat |
diff --git a/arch/alpha/lib/dbg_stackkill.S b/arch/alpha/lib/dbg_stackkill.S index e09f2ae1e09e..e9f6a9dcf2b7 100644 --- a/arch/alpha/lib/dbg_stackkill.S +++ b/arch/alpha/lib/dbg_stackkill.S | |||
@@ -6,7 +6,7 @@ | |||
6 | * uninitialized local variables in the act. | 6 | * uninitialized local variables in the act. |
7 | */ | 7 | */ |
8 | 8 | ||
9 | #include <asm/asm_offsets.h> | 9 | #include <asm/asm-offsets.h> |
10 | 10 | ||
11 | .text | 11 | .text |
12 | .set noat | 12 | .set noat |
diff --git a/arch/x86_64/Makefile b/arch/x86_64/Makefile index 4c6ed96d5f7c..a9cd42e61828 100644 --- a/arch/x86_64/Makefile +++ b/arch/x86_64/Makefile | |||
@@ -86,16 +86,6 @@ install fdimage fdimage144 fdimage288: vmlinux | |||
86 | archclean: | 86 | archclean: |
87 | $(Q)$(MAKE) $(clean)=$(boot) | 87 | $(Q)$(MAKE) $(clean)=$(boot) |
88 | 88 | ||
89 | prepare: include/asm-$(ARCH)/offset.h | ||
90 | |||
91 | arch/$(ARCH)/kernel/asm-offsets.s: include/asm include/linux/version.h \ | ||
92 | include/config/MARKER | ||
93 | |||
94 | include/asm-$(ARCH)/offset.h: arch/$(ARCH)/kernel/asm-offsets.s | ||
95 | $(call filechk,gen-asm-offsets) | ||
96 | |||
97 | CLEAN_FILES += include/asm-$(ARCH)/offset.h | ||
98 | |||
99 | define archhelp | 89 | define archhelp |
100 | echo '* bzImage - Compressed kernel image (arch/$(ARCH)/boot/bzImage)' | 90 | echo '* bzImage - Compressed kernel image (arch/$(ARCH)/boot/bzImage)' |
101 | echo ' install - Install kernel using' | 91 | echo ' install - Install kernel using' |
diff --git a/arch/x86_64/ia32/ia32entry.S b/arch/x86_64/ia32/ia32entry.S index f174083d5567..5244f803203d 100644 --- a/arch/x86_64/ia32/ia32entry.S +++ b/arch/x86_64/ia32/ia32entry.S | |||
@@ -6,7 +6,7 @@ | |||
6 | 6 | ||
7 | #include <asm/dwarf2.h> | 7 | #include <asm/dwarf2.h> |
8 | #include <asm/calling.h> | 8 | #include <asm/calling.h> |
9 | #include <asm/offset.h> | 9 | #include <asm/asm-offsets.h> |
10 | #include <asm/current.h> | 10 | #include <asm/current.h> |
11 | #include <asm/errno.h> | 11 | #include <asm/errno.h> |
12 | #include <asm/ia32_unistd.h> | 12 | #include <asm/ia32_unistd.h> |
diff --git a/arch/x86_64/ia32/vsyscall-syscall.S b/arch/x86_64/ia32/vsyscall-syscall.S index e2aaf3de8a42..b024965bb689 100644 --- a/arch/x86_64/ia32/vsyscall-syscall.S +++ b/arch/x86_64/ia32/vsyscall-syscall.S | |||
@@ -3,7 +3,7 @@ | |||
3 | */ | 3 | */ |
4 | 4 | ||
5 | #include <asm/ia32_unistd.h> | 5 | #include <asm/ia32_unistd.h> |
6 | #include <asm/offset.h> | 6 | #include <asm/asm-offsets.h> |
7 | #include <asm/segment.h> | 7 | #include <asm/segment.h> |
8 | 8 | ||
9 | .text | 9 | .text |
diff --git a/arch/x86_64/ia32/vsyscall-sysenter.S b/arch/x86_64/ia32/vsyscall-sysenter.S index 8fb8e0ff3afa..71f3de586b56 100644 --- a/arch/x86_64/ia32/vsyscall-sysenter.S +++ b/arch/x86_64/ia32/vsyscall-sysenter.S | |||
@@ -3,7 +3,7 @@ | |||
3 | */ | 3 | */ |
4 | 4 | ||
5 | #include <asm/ia32_unistd.h> | 5 | #include <asm/ia32_unistd.h> |
6 | #include <asm/offset.h> | 6 | #include <asm/asm-offsets.h> |
7 | 7 | ||
8 | .text | 8 | .text |
9 | .section .text.vsyscall,"ax" | 9 | .section .text.vsyscall,"ax" |
diff --git a/arch/x86_64/kernel/entry.S b/arch/x86_64/kernel/entry.S index be51dbe1f75e..3620508c8bd9 100644 --- a/arch/x86_64/kernel/entry.S +++ b/arch/x86_64/kernel/entry.S | |||
@@ -36,7 +36,7 @@ | |||
36 | #include <asm/errno.h> | 36 | #include <asm/errno.h> |
37 | #include <asm/dwarf2.h> | 37 | #include <asm/dwarf2.h> |
38 | #include <asm/calling.h> | 38 | #include <asm/calling.h> |
39 | #include <asm/offset.h> | 39 | #include <asm/asm-offsets.h> |
40 | #include <asm/msr.h> | 40 | #include <asm/msr.h> |
41 | #include <asm/unistd.h> | 41 | #include <asm/unistd.h> |
42 | #include <asm/thread_info.h> | 42 | #include <asm/thread_info.h> |
diff --git a/arch/x86_64/kernel/suspend_asm.S b/arch/x86_64/kernel/suspend_asm.S index 53f8e1659511..4d659e97df10 100644 --- a/arch/x86_64/kernel/suspend_asm.S +++ b/arch/x86_64/kernel/suspend_asm.S | |||
@@ -14,7 +14,7 @@ | |||
14 | #include <linux/linkage.h> | 14 | #include <linux/linkage.h> |
15 | #include <asm/segment.h> | 15 | #include <asm/segment.h> |
16 | #include <asm/page.h> | 16 | #include <asm/page.h> |
17 | #include <asm/offset.h> | 17 | #include <asm/asm-offsets.h> |
18 | 18 | ||
19 | ENTRY(swsusp_arch_suspend) | 19 | ENTRY(swsusp_arch_suspend) |
20 | 20 | ||
diff --git a/arch/x86_64/lib/copy_user.S b/arch/x86_64/lib/copy_user.S index bd556c804248..dfa358b05c89 100644 --- a/arch/x86_64/lib/copy_user.S +++ b/arch/x86_64/lib/copy_user.S | |||
@@ -7,7 +7,7 @@ | |||
7 | #define FIX_ALIGNMENT 1 | 7 | #define FIX_ALIGNMENT 1 |
8 | 8 | ||
9 | #include <asm/current.h> | 9 | #include <asm/current.h> |
10 | #include <asm/offset.h> | 10 | #include <asm/asm-offsets.h> |
11 | #include <asm/thread_info.h> | 11 | #include <asm/thread_info.h> |
12 | #include <asm/cpufeature.h> | 12 | #include <asm/cpufeature.h> |
13 | 13 | ||
diff --git a/arch/x86_64/lib/getuser.S b/arch/x86_64/lib/getuser.S index f80bafee8669..3844d5e885a4 100644 --- a/arch/x86_64/lib/getuser.S +++ b/arch/x86_64/lib/getuser.S | |||
@@ -29,7 +29,7 @@ | |||
29 | #include <linux/linkage.h> | 29 | #include <linux/linkage.h> |
30 | #include <asm/page.h> | 30 | #include <asm/page.h> |
31 | #include <asm/errno.h> | 31 | #include <asm/errno.h> |
32 | #include <asm/offset.h> | 32 | #include <asm/asm-offsets.h> |
33 | #include <asm/thread_info.h> | 33 | #include <asm/thread_info.h> |
34 | 34 | ||
35 | .text | 35 | .text |
diff --git a/arch/x86_64/lib/putuser.S b/arch/x86_64/lib/putuser.S index 5828b8191667..7f5593974e2d 100644 --- a/arch/x86_64/lib/putuser.S +++ b/arch/x86_64/lib/putuser.S | |||
@@ -27,7 +27,7 @@ | |||
27 | #include <linux/linkage.h> | 27 | #include <linux/linkage.h> |
28 | #include <asm/page.h> | 28 | #include <asm/page.h> |
29 | #include <asm/errno.h> | 29 | #include <asm/errno.h> |
30 | #include <asm/offset.h> | 30 | #include <asm/asm-offsets.h> |
31 | #include <asm/thread_info.h> | 31 | #include <asm/thread_info.h> |
32 | 32 | ||
33 | .text | 33 | .text |
diff --git a/include/asm-x86_64/current.h b/include/asm-x86_64/current.h index 7db560ee6f70..bc8adecee66d 100644 --- a/include/asm-x86_64/current.h +++ b/include/asm-x86_64/current.h | |||
@@ -17,7 +17,7 @@ static inline struct task_struct *get_current(void) | |||
17 | #else | 17 | #else |
18 | 18 | ||
19 | #ifndef ASM_OFFSET_H | 19 | #ifndef ASM_OFFSET_H |
20 | #include <asm/offset.h> | 20 | #include <asm/asm-offsets.h> |
21 | #endif | 21 | #endif |
22 | 22 | ||
23 | #define GET_CURRENT(reg) movq %gs:(pda_pcurrent),reg | 23 | #define GET_CURRENT(reg) movq %gs:(pda_pcurrent),reg |