diff options
author | Catalin Marinas <catalin.marinas@arm.com> | 2006-07-29 08:29:30 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2006-07-29 08:29:30 +0100 |
commit | ceaccbd2a6a82b97bd15938fc7ffe180754cbe6c (patch) | |
tree | 207f2204cd18d7187c35a3c6fb3449a0f09bcdac /arch/arm/mm/ioremap.c | |
parent | 7b1df1985c7a4e6d5fcab0ed71a2cd1d4ad3be41 (diff) |
[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>
Diffstat (limited to 'arch/arm/mm/ioremap.c')
-rw-r--r-- | arch/arm/mm/ioremap.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mm/ioremap.c b/arch/arm/mm/ioremap.c index dba7dddfe57..88a999df0ab 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); |