diff options
author | gorcunov@gmail.com <gorcunov@gmail.com> | 2008-03-22 17:00:07 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-04-17 11:41:29 -0400 |
commit | a7bba17bf09e1c5bdbdd6c0ab0c7833baedf4653 (patch) | |
tree | 5a30a50dcb5ef2ae82c9390616611c2574bc00ea /arch/x86/kernel/relocate_kernel_32.S | |
parent | 4039ae538030d1c5fc70a9c4e168a758d35b8159 (diff) |
x86: relocate_kernel - use PAGE_SIZE instead of numeric constant
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/relocate_kernel_32.S')
-rw-r--r-- | arch/x86/kernel/relocate_kernel_32.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/relocate_kernel_32.S b/arch/x86/kernel/relocate_kernel_32.S index fbc4fad23137..ce12bb8678ad 100644 --- a/arch/x86/kernel/relocate_kernel_32.S +++ b/arch/x86/kernel/relocate_kernel_32.S | |||
@@ -154,7 +154,7 @@ relocate_new_kernel: | |||
154 | movl %eax, %cr3 | 154 | movl %eax, %cr3 |
155 | 155 | ||
156 | /* setup a new stack at the end of the physical control page */ | 156 | /* setup a new stack at the end of the physical control page */ |
157 | lea 4096(%edi), %esp | 157 | lea PAGE_SIZE(%edi), %esp |
158 | 158 | ||
159 | /* jump to identity mapped page */ | 159 | /* jump to identity mapped page */ |
160 | movl %edi, %eax | 160 | movl %edi, %eax |