diff options
author | gorcunov@gmail.com <gorcunov@gmail.com> | 2008-03-23 00:00:07 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-04-17 17:41:29 +0200 |
commit | a7bba17bf09e1c5bdbdd6c0ab0c7833baedf4653 (patch) | |
tree | 5a30a50dcb5ef2ae82c9390616611c2574bc00ea /arch/x86/kernel/relocate_kernel_64.S | |
parent | 4039ae538030d1c5fc70a9c4e168a758d35b8159 (diff) | |
download | linux-stable-a7bba17bf09e1c5bdbdd6c0ab0c7833baedf4653.tar.gz linux-stable-a7bba17bf09e1c5bdbdd6c0ab0c7833baedf4653.tar.bz2 linux-stable-a7bba17bf09e1c5bdbdd6c0ab0c7833baedf4653.zip |
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_64.S')
-rw-r--r-- | arch/x86/kernel/relocate_kernel_64.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/relocate_kernel_64.S b/arch/x86/kernel/relocate_kernel_64.S index e252c0ed9539..c2c8b9d6e241 100644 --- a/arch/x86/kernel/relocate_kernel_64.S +++ b/arch/x86/kernel/relocate_kernel_64.S @@ -159,7 +159,7 @@ relocate_new_kernel: movq %r9, %cr3 /* setup a new stack at the end of the physical control page */ - lea 4096(%r8), %rsp + lea PAGE_SIZE(%r8), %rsp /* jump to identity mapped page */ addq $(identity_mapped - relocate_kernel), %r8 |