diff options
author | Ken'ichi Ohmichi <oomichi@mxs.nes.nec.co.jp> | 2007-10-17 02:27:30 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-17 11:42:54 -0400 |
commit | bcbba6c10ef6b14b0542d7ed7380e95168175818 (patch) | |
tree | 052c7c8062d7348a7caf8c4780d2a65aa81a9ca7 /arch | |
parent | 00cab92f9e91c0feeaca11a485b15175304779d5 (diff) |
add-vmcore: add a prefix "VMCOREINFO_" to the vmcoreinfo macros
Add a prefix "VMCOREINFO_" to the vmcoreinfo macros. Old vmcoreinfo macros
were defined as generic names SYMBOL/SIZE/OFFSET /LENGTH/CONFIG, and it is
impossible to grep for them. So these names should be changed. This
discussion is the following:
http://www.ussg.iu.edu/hypermail/linux/kernel/0709.1/0415.html
Signed-off-by: Ken'ichi Ohmichi <oomichi@mxs.nes.nec.co.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/ia64/kernel/machine_kexec.c | 20 | ||||
-rw-r--r-- | arch/x86/kernel/machine_kexec_32.c | 6 | ||||
-rw-r--r-- | arch/x86/kernel/machine_kexec_64.c | 4 |
3 files changed, 15 insertions, 15 deletions
diff --git a/arch/ia64/kernel/machine_kexec.c b/arch/ia64/kernel/machine_kexec.c index c55a0909b901..0dd3b2394cdd 100644 --- a/arch/ia64/kernel/machine_kexec.c +++ b/arch/ia64/kernel/machine_kexec.c | |||
@@ -128,19 +128,19 @@ void machine_kexec(struct kimage *image) | |||
128 | void arch_crash_save_vmcoreinfo(void) | 128 | void arch_crash_save_vmcoreinfo(void) |
129 | { | 129 | { |
130 | #ifdef CONFIG_ARCH_DISCONTIGMEM_ENABLE | 130 | #ifdef CONFIG_ARCH_DISCONTIGMEM_ENABLE |
131 | SYMBOL(pgdat_list); | 131 | VMCOREINFO_SYMBOL(pgdat_list); |
132 | LENGTH(pgdat_list, MAX_NUMNODES); | 132 | VMCOREINFO_LENGTH(pgdat_list, MAX_NUMNODES); |
133 | 133 | ||
134 | SYMBOL(node_memblk); | 134 | VMCOREINFO_SYMBOL(node_memblk); |
135 | LENGTH(node_memblk, NR_NODE_MEMBLKS); | 135 | VMCOREINFO_LENGTH(node_memblk, NR_NODE_MEMBLKS); |
136 | SIZE(node_memblk_s); | 136 | VMCOREINFO_SIZE(node_memblk_s); |
137 | OFFSET(node_memblk_s, start_paddr); | 137 | VMCOREINFO_OFFSET(node_memblk_s, start_paddr); |
138 | OFFSET(node_memblk_s, size); | 138 | VMCOREINFO_OFFSET(node_memblk_s, size); |
139 | #endif | 139 | #endif |
140 | #ifdef CONFIG_PGTABLE_3 | 140 | #ifdef CONFIG_PGTABLE_3 |
141 | CONFIG(PGTABLE_3); | 141 | VMCOREINFO_CONFIG(PGTABLE_3); |
142 | #elif CONFIG_PGTABLE_4 | 142 | #elif CONFIG_PGTABLE_4 |
143 | CONFIG(PGTABLE_4); | 143 | VMCOREINFO_CONFIG(PGTABLE_4); |
144 | #endif | 144 | #endif |
145 | } | 145 | } |
146 | 146 | ||
diff --git a/arch/x86/kernel/machine_kexec_32.c b/arch/x86/kernel/machine_kexec_32.c index ae20fa5afa62..8459ca64bc2f 100644 --- a/arch/x86/kernel/machine_kexec_32.c +++ b/arch/x86/kernel/machine_kexec_32.c | |||
@@ -174,11 +174,11 @@ early_param("crashkernel", parse_crashkernel); | |||
174 | void arch_crash_save_vmcoreinfo(void) | 174 | void arch_crash_save_vmcoreinfo(void) |
175 | { | 175 | { |
176 | #ifdef CONFIG_ARCH_DISCONTIGMEM_ENABLE | 176 | #ifdef CONFIG_ARCH_DISCONTIGMEM_ENABLE |
177 | SYMBOL(node_data); | 177 | VMCOREINFO_SYMBOL(node_data); |
178 | LENGTH(node_data, MAX_NUMNODES); | 178 | VMCOREINFO_LENGTH(node_data, MAX_NUMNODES); |
179 | #endif | 179 | #endif |
180 | #ifdef CONFIG_X86_PAE | 180 | #ifdef CONFIG_X86_PAE |
181 | CONFIG(X86_PAE); | 181 | VMCOREINFO_CONFIG(X86_PAE); |
182 | #endif | 182 | #endif |
183 | } | 183 | } |
184 | 184 | ||
diff --git a/arch/x86/kernel/machine_kexec_64.c b/arch/x86/kernel/machine_kexec_64.c index e333ea110a58..7450b69710b5 100644 --- a/arch/x86/kernel/machine_kexec_64.c +++ b/arch/x86/kernel/machine_kexec_64.c | |||
@@ -261,8 +261,8 @@ early_param("crashkernel", setup_crashkernel); | |||
261 | void arch_crash_save_vmcoreinfo(void) | 261 | void arch_crash_save_vmcoreinfo(void) |
262 | { | 262 | { |
263 | #ifdef CONFIG_ARCH_DISCONTIGMEM_ENABLE | 263 | #ifdef CONFIG_ARCH_DISCONTIGMEM_ENABLE |
264 | SYMBOL(node_data); | 264 | VMCOREINFO_SYMBOL(node_data); |
265 | LENGTH(node_data, MAX_NUMNODES); | 265 | VMCOREINFO_LENGTH(node_data, MAX_NUMNODES); |
266 | #endif | 266 | #endif |
267 | } | 267 | } |
268 | 268 | ||