diff options
author | Jaswinder Singh Rajput <jaswinderrajput@gmail.com> | 2009-02-11 13:08:25 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-02-11 15:01:08 -0500 |
commit | ba1511bf7fbda452138e4096bf10d5a382710f4f (patch) | |
tree | 27de2eef54faac20eb4e3cda76f3f02a9a672bfe /arch/x86/kernel | |
parent | 17993b49b1f540aace8e9b4242530d0b3376eb2a (diff) |
x86: kernel/mpparse.c fix compilation warnings
arch/x86/kernel/mpparse.c: In function ‘smp_scan_config’:
arch/x86/kernel/mpparse.c:696: warning: format ‘%08lx’ expects type ‘long unsigned int’, but argument 3 has type ‘phys_addr_t’
arch/x86/kernel/mpparse.c: In function ‘update_mp_table’:
arch/x86/kernel/mpparse.c:1014: warning: format ‘%lx’ expects type ‘long unsigned int’, but argument 2 has type ‘phys_addr_t’
Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel')
-rw-r--r-- | arch/x86/kernel/mpparse.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/x86/kernel/mpparse.c b/arch/x86/kernel/mpparse.c index 66ebb823f390..200764453195 100644 --- a/arch/x86/kernel/mpparse.c +++ b/arch/x86/kernel/mpparse.c | |||
@@ -692,8 +692,8 @@ static int __init smp_scan_config(unsigned long base, unsigned long length, | |||
692 | #endif | 692 | #endif |
693 | mpf_found = mpf; | 693 | mpf_found = mpf; |
694 | 694 | ||
695 | printk(KERN_INFO "found SMP MP-table at [%p] %08lx\n", | 695 | printk(KERN_INFO "found SMP MP-table at [%p] %llx\n", |
696 | mpf, virt_to_phys(mpf)); | 696 | mpf, (u64)virt_to_phys(mpf)); |
697 | 697 | ||
698 | if (!reserve) | 698 | if (!reserve) |
699 | return 1; | 699 | return 1; |
@@ -1011,7 +1011,7 @@ static int __init update_mp_table(void) | |||
1011 | if (!smp_check_mpc(mpc, oem, str)) | 1011 | if (!smp_check_mpc(mpc, oem, str)) |
1012 | return 0; | 1012 | return 0; |
1013 | 1013 | ||
1014 | printk(KERN_INFO "mpf: %lx\n", virt_to_phys(mpf)); | 1014 | printk(KERN_INFO "mpf: %llx\n", (u64)virt_to_phys(mpf)); |
1015 | printk(KERN_INFO "physptr: %x\n", mpf->physptr); | 1015 | printk(KERN_INFO "physptr: %x\n", mpf->physptr); |
1016 | 1016 | ||
1017 | if (mpc_new_phys && mpc->length > mpc_new_length) { | 1017 | if (mpc_new_phys && mpc->length > mpc_new_length) { |