diff options
Diffstat (limited to 'arch/ia64/kernel/efi.c')
-rw-r--r-- | arch/ia64/kernel/efi.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/ia64/kernel/efi.c b/arch/ia64/kernel/efi.c index 0b25a7d4e1e4..772ba6fe110f 100644 --- a/arch/ia64/kernel/efi.c +++ b/arch/ia64/kernel/efi.c | |||
@@ -380,7 +380,7 @@ efi_get_pal_addr (void) | |||
380 | #endif | 380 | #endif |
381 | return __va(md->phys_addr); | 381 | return __va(md->phys_addr); |
382 | } | 382 | } |
383 | printk(KERN_WARNING "%s: no PAL-code memory-descriptor found", | 383 | printk(KERN_WARNING "%s: no PAL-code memory-descriptor found\n", |
384 | __FUNCTION__); | 384 | __FUNCTION__); |
385 | return NULL; | 385 | return NULL; |
386 | } | 386 | } |
@@ -413,11 +413,10 @@ efi_init (void) | |||
413 | efi_char16_t *c16; | 413 | efi_char16_t *c16; |
414 | u64 efi_desc_size; | 414 | u64 efi_desc_size; |
415 | char *cp, vendor[100] = "unknown"; | 415 | char *cp, vendor[100] = "unknown"; |
416 | extern char saved_command_line[]; | ||
417 | int i; | 416 | int i; |
418 | 417 | ||
419 | /* it's too early to be able to use the standard kernel command line support... */ | 418 | /* it's too early to be able to use the standard kernel command line support... */ |
420 | for (cp = saved_command_line; *cp; ) { | 419 | for (cp = boot_command_line; *cp; ) { |
421 | if (memcmp(cp, "mem=", 4) == 0) { | 420 | if (memcmp(cp, "mem=", 4) == 0) { |
422 | mem_limit = memparse(cp + 4, &cp); | 421 | mem_limit = memparse(cp + 4, &cp); |
423 | } else if (memcmp(cp, "max_addr=", 9) == 0) { | 422 | } else if (memcmp(cp, "max_addr=", 9) == 0) { |