diff options
| -rw-r--r-- | Documentation/x86/boot.txt | 4 | ||||
| -rw-r--r-- | arch/x86/boot/header.S | 2 | ||||
| -rw-r--r-- | arch/x86/kernel/crash.c | 2 | ||||
| -rw-r--r-- | arch/x86/mm/pageattr.c | 6 |
4 files changed, 6 insertions, 8 deletions
diff --git a/Documentation/x86/boot.txt b/Documentation/x86/boot.txt index cb81741d3b0b..a75e3adaa39d 100644 --- a/Documentation/x86/boot.txt +++ b/Documentation/x86/boot.txt | |||
| @@ -182,7 +182,7 @@ Offset Proto Name Meaning | |||
| 182 | 0226/1 2.02+(3 ext_loader_ver Extended boot loader version | 182 | 0226/1 2.02+(3 ext_loader_ver Extended boot loader version |
| 183 | 0227/1 2.02+(3 ext_loader_type Extended boot loader ID | 183 | 0227/1 2.02+(3 ext_loader_type Extended boot loader ID |
| 184 | 0228/4 2.02+ cmd_line_ptr 32-bit pointer to the kernel command line | 184 | 0228/4 2.02+ cmd_line_ptr 32-bit pointer to the kernel command line |
| 185 | 022C/4 2.03+ ramdisk_max Highest legal initrd address | 185 | 022C/4 2.03+ initrd_addr_max Highest legal initrd address |
| 186 | 0230/4 2.05+ kernel_alignment Physical addr alignment required for kernel | 186 | 0230/4 2.05+ kernel_alignment Physical addr alignment required for kernel |
| 187 | 0234/1 2.05+ relocatable_kernel Whether kernel is relocatable or not | 187 | 0234/1 2.05+ relocatable_kernel Whether kernel is relocatable or not |
| 188 | 0235/1 2.10+ min_alignment Minimum alignment, as a power of two | 188 | 0235/1 2.10+ min_alignment Minimum alignment, as a power of two |
| @@ -534,7 +534,7 @@ Protocol: 2.02+ | |||
| 534 | zero, the kernel will assume that your boot loader does not support | 534 | zero, the kernel will assume that your boot loader does not support |
| 535 | the 2.02+ protocol. | 535 | the 2.02+ protocol. |
| 536 | 536 | ||
| 537 | Field name: ramdisk_max | 537 | Field name: initrd_addr_max |
| 538 | Type: read | 538 | Type: read |
| 539 | Offset/size: 0x22c/4 | 539 | Offset/size: 0x22c/4 |
| 540 | Protocol: 2.03+ | 540 | Protocol: 2.03+ |
diff --git a/arch/x86/boot/header.S b/arch/x86/boot/header.S index ec3b8ba68096..46f5a220b0ad 100644 --- a/arch/x86/boot/header.S +++ b/arch/x86/boot/header.S | |||
| @@ -350,7 +350,7 @@ cmd_line_ptr: .long 0 # (Header version 0x0202 or later) | |||
| 350 | # can be located anywhere in | 350 | # can be located anywhere in |
| 351 | # low memory 0x10000 or higher. | 351 | # low memory 0x10000 or higher. |
| 352 | 352 | ||
| 353 | ramdisk_max: .long 0x7fffffff | 353 | initrd_addr_max: .long 0x7fffffff |
| 354 | # (Header version 0x0203 or later) | 354 | # (Header version 0x0203 or later) |
| 355 | # The highest safe address for | 355 | # The highest safe address for |
| 356 | # the contents of an initrd | 356 | # the contents of an initrd |
diff --git a/arch/x86/kernel/crash.c b/arch/x86/kernel/crash.c index a57902efe2d5..507de8066594 100644 --- a/arch/x86/kernel/crash.c +++ b/arch/x86/kernel/crash.c | |||
| @@ -57,9 +57,7 @@ static void kdump_nmi_callback(int cpu, struct pt_regs *regs) | |||
| 57 | { | 57 | { |
| 58 | #ifdef CONFIG_X86_32 | 58 | #ifdef CONFIG_X86_32 |
| 59 | struct pt_regs fixed_regs; | 59 | struct pt_regs fixed_regs; |
| 60 | #endif | ||
| 61 | 60 | ||
| 62 | #ifdef CONFIG_X86_32 | ||
| 63 | if (!user_mode_vm(regs)) { | 61 | if (!user_mode_vm(regs)) { |
| 64 | crash_fixup_ss_esp(&fixed_regs, regs); | 62 | crash_fixup_ss_esp(&fixed_regs, regs); |
| 65 | regs = &fixed_regs; | 63 | regs = &fixed_regs; |
diff --git a/arch/x86/mm/pageattr.c b/arch/x86/mm/pageattr.c index b3b19f46c016..ba957c9b677c 100644 --- a/arch/x86/mm/pageattr.c +++ b/arch/x86/mm/pageattr.c | |||
| @@ -1377,10 +1377,10 @@ static int change_page_attr_set_clr(unsigned long *addr, int numpages, | |||
| 1377 | cache = cache_attr(mask_set); | 1377 | cache = cache_attr(mask_set); |
| 1378 | 1378 | ||
| 1379 | /* | 1379 | /* |
| 1380 | * On success we use clflush, when the CPU supports it to | 1380 | * On success we use CLFLUSH, when the CPU supports it to |
| 1381 | * avoid the wbindv. If the CPU does not support it and in the | 1381 | * avoid the WBINVD. If the CPU does not support it and in the |
| 1382 | * error case we fall back to cpa_flush_all (which uses | 1382 | * error case we fall back to cpa_flush_all (which uses |
| 1383 | * wbindv): | 1383 | * WBINVD): |
| 1384 | */ | 1384 | */ |
| 1385 | if (!ret && cpu_has_clflush) { | 1385 | if (!ret && cpu_has_clflush) { |
| 1386 | if (cpa.flags & (CPA_PAGES_ARRAY | CPA_ARRAY)) { | 1386 | if (cpa.flags & (CPA_PAGES_ARRAY | CPA_ARRAY)) { |
