aboutsummaryrefslogtreecommitdiffstats
path: root/arch/h8300/mm/kmap.c
diff options
context:
space:
mode:
authorYoshinori Sato <ysato@users.sourceforge.jp>2007-05-06 17:50:35 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-05-07 15:12:58 -0400
commitc728d60455e8e8722ee08312a75f38dd7a866b5e (patch)
treec848cbddc7557fa1cf00993245e562007465dadb /arch/h8300/mm/kmap.c
parentaeecf3142d82414d511135cc85f86caddfb58338 (diff)
h8300 generic irq
h8300 using generic irq handler patch. Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Ingo Molnar <mingo@elte.hu> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/h8300/mm/kmap.c')
-rw-r--r--arch/h8300/mm/kmap.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/h8300/mm/kmap.c b/arch/h8300/mm/kmap.c
index 26ab17286a53..5c7af09ae8d1 100644
--- a/arch/h8300/mm/kmap.c
+++ b/arch/h8300/mm/kmap.c
@@ -24,12 +24,14 @@
24 24
25#undef DEBUG 25#undef DEBUG
26 26
27#define VIRT_OFFSET (0x01000000)
28
27/* 29/*
28 * Map some physical address range into the kernel address space. 30 * Map some physical address range into the kernel address space.
29 */ 31 */
30void *__ioremap(unsigned long physaddr, unsigned long size, int cacheflag) 32void *__ioremap(unsigned long physaddr, unsigned long size, int cacheflag)
31{ 33{
32 return (void *)physaddr; 34 return (void *)(physaddr + VIRT_OFFSET);
33} 35}
34 36
35/* 37/*