aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2008-05-12 15:20:59 -0400
committerThomas Gleixner <tglx@linutronix.de>2008-05-24 05:26:26 -0400
commit0663bb6cd9a457fbd8ca95c627bb762d07321a39 (patch)
tree751329bf26d38643b43c2e62b348a6bae25054ee /arch/x86
parentc6c67c1afcce71335b18ed8769b1165c468bfb03 (diff)
mmiotrace: fix printk format
Fix gcc printk format warnings: next-20080415/arch/x86/mm/mmio-mod.c: In function 'print_pte': next-20080415/arch/x86/mm/mmio-mod.c:154: warning: format '%lx' expects type 'long unsigned int', but argument 3 has type 'pteval_t' next-20080415/arch/x86/mm/mmio-mod.c:154: warning: format '%lx' expects type 'long unsigned int', but argument 4 has type 'pteval_t' next-20080415/arch/x86/mm/mmio-mod.c: At top level: next-20080415/arch/x86/mm/mmio-mod.c:403: warning: 'downed_cpus' defined but not used Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/mm/mmio-mod.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/x86/mm/mmio-mod.c b/arch/x86/mm/mmio-mod.c
index ab2bb776d310..6d6cac84c045 100644
--- a/arch/x86/mm/mmio-mod.c
+++ b/arch/x86/mm/mmio-mod.c
@@ -150,8 +150,9 @@ static void print_pte(unsigned long address)
150 "0x%08lx\n", address); 150 "0x%08lx\n", address);
151 BUG(); 151 BUG();
152 } 152 }
153 pr_info(NAME "pte for 0x%lx: 0x%lx 0x%lx\n", address, pte_val(*pte), 153 pr_info(NAME "pte for 0x%lx: 0x%llx 0x%llx\n", address,
154 pte_val(*pte) & _PAGE_PRESENT); 154 (unsigned long long)pte_val(*pte),
155 (unsigned long long)pte_val(*pte) & _PAGE_PRESENT);
155} 156}
156 157
157/* 158/*