diff options
author | Huang Ying <ying.huang@intel.com> | 2008-08-15 03:40:22 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-08-15 11:35:42 -0400 |
commit | 163f6876f5c3ff8215e900b93779e960a56b3694 (patch) | |
tree | 9ba2df8417dedd3a17cf3ba4cba5a2acd578ee3a /include/asm-x86 | |
parent | 7ade3fcc1fe2801336112027a884070c9ca451af (diff) |
kexec jump: rename KEXEC_CONTROL_CODE_SIZE to KEXEC_CONTROL_PAGE_SIZE
Rename KEXEC_CONTROL_CODE_SIZE to KEXEC_CONTROL_PAGE_SIZE, because control
page is used for not only code on some platform. For example in kexec
jump, it is used for data and stack too.
[akpm@linux-foundation.org: unbreak powerpc and arm, finish conversion]
Signed-off-by: Huang Ying <ying.huang@intel.com>
Cc: Pavel Machek <pavel@ucw.cz>
Cc: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: Vivek Goyal <vgoyal@redhat.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Russell King <rmk@arm.linux.org.uk>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/asm-x86')
-rw-r--r-- | include/asm-x86/kexec.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-x86/kexec.h b/include/asm-x86/kexec.h index c0e52a14fd4d..f6fb3d21883c 100644 --- a/include/asm-x86/kexec.h +++ b/include/asm-x86/kexec.h | |||
@@ -63,7 +63,7 @@ | |||
63 | /* Maximum address we can use for the control code buffer */ | 63 | /* Maximum address we can use for the control code buffer */ |
64 | # define KEXEC_CONTROL_MEMORY_LIMIT TASK_SIZE | 64 | # define KEXEC_CONTROL_MEMORY_LIMIT TASK_SIZE |
65 | 65 | ||
66 | # define KEXEC_CONTROL_CODE_SIZE 4096 | 66 | # define KEXEC_CONTROL_PAGE_SIZE 4096 |
67 | 67 | ||
68 | /* The native architecture */ | 68 | /* The native architecture */ |
69 | # define KEXEC_ARCH KEXEC_ARCH_386 | 69 | # define KEXEC_ARCH KEXEC_ARCH_386 |
@@ -79,7 +79,7 @@ | |||
79 | # define KEXEC_CONTROL_MEMORY_LIMIT (0xFFFFFFFFFFUL) | 79 | # define KEXEC_CONTROL_MEMORY_LIMIT (0xFFFFFFFFFFUL) |
80 | 80 | ||
81 | /* Allocate one page for the pdp and the second for the code */ | 81 | /* Allocate one page for the pdp and the second for the code */ |
82 | # define KEXEC_CONTROL_CODE_SIZE (4096UL + 4096UL) | 82 | # define KEXEC_CONTROL_PAGE_SIZE (4096UL + 4096UL) |
83 | 83 | ||
84 | /* The native architecture */ | 84 | /* The native architecture */ |
85 | # define KEXEC_ARCH KEXEC_ARCH_X86_64 | 85 | # define KEXEC_ARCH KEXEC_ARCH_X86_64 |