diff options
author | H. Peter Anvin <hpa@linux.intel.com> | 2013-04-27 16:22:32 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2013-06-25 16:26:06 -0700 |
commit | a3d7b7dddcc38c19aa46509c7282e8def80384a8 (patch) | |
tree | e5bcae9c5ebc653dfc56d3d7257d1b27ec2df708 /arch/x86/kernel/relocate_kernel_32.S | |
parent | d1fbefcb3aa608599a3c9e4582cbeeb6ba6c8939 (diff) | |
download | linux-stable-a3d7b7dddcc38c19aa46509c7282e8def80384a8.tar.gz linux-stable-a3d7b7dddcc38c19aa46509c7282e8def80384a8.tar.bz2 linux-stable-a3d7b7dddcc38c19aa46509c7282e8def80384a8.zip |
x86, asm, cleanup: Replace open-coded control register values with symbolic
Clean up an unnecessary open-coded control register values.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Link: http://lkml.kernel.org/n/tip-um7za1nzf6brb17o0h4om6e3@git.kernel.org
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 36818f8ec2be..e13f8e7c22a6 100644 --- a/arch/x86/kernel/relocate_kernel_32.S +++ b/arch/x86/kernel/relocate_kernel_32.S @@ -186,7 +186,7 @@ identity_mapped: movl CP_PA_PGD(%ebx), %eax movl %eax, %cr3 movl %cr0, %eax - orl $(1<<31), %eax + orl $X86_CR0_PG, %eax movl %eax, %cr0 lea PAGE_SIZE(%edi), %esp movl %edi, %eax |