projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b1df19
)
[ARM] 3734/1: Fix the unused variable warning in __iounmap()
author
Catalin Marinas
<catalin.marinas@arm.com>
Sat, 29 Jul 2006 07:29:30 +0000
(08:29 +0100)
committer
Russell King
<rmk+kernel@arm.linux.org.uk>
Sat, 29 Jul 2006 07:29:30 +0000
(08:29 +0100)
Patch from Catalin Marinas
This patch adds #ifdef around some variables in the arch/arm/mm/ioremap.c
file.
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mm/ioremap.c
patch
|
blob
|
history
diff --git
a/arch/arm/mm/ioremap.c
b/arch/arm/mm/ioremap.c
index dba7dddfe57d365a53959c74b84a7e136781c775..88a999df0ab3f59ddaf8fe6da4f942fca750895d 100644
(file)
--- a/
arch/arm/mm/ioremap.c
+++ b/
arch/arm/mm/ioremap.c
@@
-363,7
+363,9
@@
EXPORT_SYMBOL(__ioremap);
void __iounmap(void __iomem *addr)
{
+#ifndef CONFIG_SMP
struct vm_struct **p, *tmp;
+#endif
unsigned int section_mapping = 0;
addr = (void __iomem *)(PAGE_MASK & (unsigned long)addr);