h8300 generic irq
[sfrench/cifs-2.6.git] / arch / h8300 / mm / kmap.c
index 26ab17286a536a5700d86e8733e2984266999b3f..5c7af09ae8d1c3e830c3ff2ae0dfa2c29ac19e96 100644 (file)
 
 #undef DEBUG
 
+#define VIRT_OFFSET (0x01000000)
+
 /*
  * Map some physical address range into the kernel address space.
  */
 void *__ioremap(unsigned long physaddr, unsigned long size, int cacheflag)
 {
-       return (void *)physaddr;
+       return (void *)(physaddr + VIRT_OFFSET);
 }
 
 /*