x86: fix "__udivdi3" [drivers/scsi/aha1542.ko] undefined
[pandora-kernel.git] / arch / x86 / include / asm / io.h
index e5a2ab4..4f8e820 100644 (file)
@@ -125,7 +125,7 @@ static inline void *phys_to_virt(phys_addr_t address)
 /*
  * ISA I/O bus memory addresses are 1:1 with the physical address.
  */
-#define isa_virt_to_bus virt_to_phys
+#define isa_virt_to_bus (unsigned long)virt_to_phys
 #define isa_page_to_bus page_to_phys
 #define isa_bus_to_virt phys_to_virt