summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCatalin Marinas <catalin.marinas@arm.com>2006-07-29 08:29:30 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2006-07-29 08:29:30 +0100
commitceaccbd2a6a82b97bd15938fc7ffe180754cbe6c (patch)
tree207f2204cd18d7187c35a3c6fb3449a0f09bcdac
parent7b1df1985c7a4e6d5fcab0ed71a2cd1d4ad3be41 (diff)
downloadblackbird-op-linux-ceaccbd2a6a82b97bd15938fc7ffe180754cbe6c.tar.gz
blackbird-op-linux-ceaccbd2a6a82b97bd15938fc7ffe180754cbe6c.zip
[ARM] 3734/1: Fix the unused variable warning in __iounmap()
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>
-rw-r--r--arch/arm/mm/ioremap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mm/ioremap.c b/arch/arm/mm/ioremap.c
index dba7dddfe57d..88a999df0ab3 100644
--- 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);
OpenPOWER on IntegriCloud