Skip to content

Commit

Permalink
x86, setup: Fix typo "CONFIG_x86_64" in <asm/boot.h>
Browse files Browse the repository at this point in the history
CONFIG_X86_64 was misspelled (wrong case), which caused the x86-64
kernel to advertise itself as more relocatable than it really is.
This could in theory cause boot failures once bootloaders start
support the new relocation fields.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
  • Loading branch information
Robert P. J. Day authored and H. Peter Anvin committed Jun 25, 2009
1 parent 5be6066 commit 22f4319
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/x86/include/asm/boot.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
& ~(CONFIG_PHYSICAL_ALIGN - 1))

/* Minimum kernel alignment, as a power of two */
#ifdef CONFIG_x86_64
#ifdef CONFIG_X86_64
#define MIN_KERNEL_ALIGN_LG2 PMD_SHIFT
#else
#define MIN_KERNEL_ALIGN_LG2 (PAGE_SHIFT+1)
Expand Down

0 comments on commit 22f4319

Please sign in to comment.