Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

xtensa: use physical addresses for bus addresses

Define virt_to_bus and bus_to_virt as virt_to_phys, and phys_to_virt,
respectively.

Signed-off-by: Chris Zankel <chris@zankel.net>

+4
+4
arch/xtensa/include/asm/io.h
··· 62 62 static inline void iounmap(volatile void __iomem *addr) 63 63 { 64 64 } 65 + 66 + #define virt_to_bus virt_to_phys 67 + #define bus_to_virt phys_to_virt 68 + 65 69 #endif /* CONFIG_MMU */ 66 70 67 71 /*