From c728d60455e8e8722ee08312a75f38dd7a866b5e Mon Sep 17 00:00:00 2001 From: Yoshinori Sato Date: Sun, 6 May 2007 14:50:35 -0700 Subject: h8300 generic irq h8300 using generic irq handler patch. Signed-off-by: Yoshinori Sato Cc: Thomas Gleixner Cc: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- arch/h8300/mm/kmap.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'arch/h8300/mm') 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 @@ #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); } /* -- cgit v1.2.3