tleleu / rpms / kernel

Forked from rpms/kernel 3 years ago
Clone
e293be
Replace this with ioremap.patch .
e293be
e293be
diff -up ./arch/x86/mm/ioremap.c.ioremap ./arch/x86/mm/ioremap.c
e293be
--- ./arch/x86/mm/ioremap.c.ioremap	2018-10-05 05:18:19.000000000 +0900
e293be
+++ ./arch/x86/mm/ioremap.c	2018-10-30 22:59:42.000000000 +0900
e293be
@@ -167,7 +167,7 @@ static void __iomem *__ioremap_caller(re
e293be
 	 */
e293be
 	if (mem_flags.system_ram) {
e293be
 		WARN_ONCE(1, "ioremap on RAM at 0x%llx - 0x%llx\n",
e293be
-					phys_addr, last_addr);
e293be
+					(unsigned long long)phys_addr, (unsigned long long)last_addr);
e293be
 		return NULL;
e293be
 	}
e293be