diff options
author | Paul Mackerras <paulus@samba.org> | 2007-05-07 23:37:51 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-05-07 23:37:51 -0400 |
commit | 02bbc0f09c90cefdb2837605c96a66c5ce4ba2e1 (patch) | |
tree | 04ef573cd4de095c500c9fc3477f4278c0b36300 /arch/h8300/mm/kmap.c | |
parent | 7487a2245b8841c77ba9db406cf99a483b9334e9 (diff) | |
parent | 5b94f675f57e4ff16c8fda09088d7480a84dcd91 (diff) |
Merge branch 'linux-2.6'
Diffstat (limited to 'arch/h8300/mm/kmap.c')
-rw-r--r-- | arch/h8300/mm/kmap.c | 4 |
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 | */ |
30 | void *__ioremap(unsigned long physaddr, unsigned long size, int cacheflag) | 32 | void *__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 | /* |