projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e084a1
)
sh: fix P4 iounmap() pass-through
author
Magnus Damm
<damm@igel.co.jp>
Tue, 24 Feb 2009 13:23:51 +0000
(22:23 +0900)
committer
Paul Mundt
<lethal@linux-sh.org>
Fri, 27 Feb 2009 07:50:00 +0000
(16:50 +0900)
Fix iounmap() of pass-through P4 addresses. Without this patch
iounmap() on the sh7780 rtc area results in a warning message.
Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/mm/ioremap_32.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/sh/mm/ioremap_32.c
b/arch/sh/mm/ioremap_32.c
index 32946fba123e597046a7316f49150a1b6d3be8ea..8dc77026a0b533ce52aee8959c807bbdbfc505b5 100644
(file)
--- a/
arch/sh/mm/ioremap_32.c
+++ b/
arch/sh/mm/ioremap_32.c
@@
-119,7
+119,7
@@
void __iounmap(void __iomem *addr)
unsigned long seg = PXSEG(vaddr);
struct vm_struct *p;
- if (seg < P3SEG ||
seg
>= P3_ADDR_MAX || is_pci_memaddr(vaddr))
+ if (seg < P3SEG ||
vaddr
>= P3_ADDR_MAX || is_pci_memaddr(vaddr))
return;
#ifdef CONFIG_32BIT