diff options
author | Catalin Marinas <catalin.marinas@arm.com> | 2006-07-29 09:29:30 +0200 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2006-07-29 09:29:30 +0200 |
commit | ceaccbd2a6a82b97bd15938fc7ffe180754cbe6c (patch) | |
tree | 207f2204cd18d7187c35a3c6fb3449a0f09bcdac /arch/arm/mm/ioremap.c | |
parent | [ARM] 3737/1: Export ARM copy/clear_user_page symbols (diff) | |
download | linux-ceaccbd2a6a82b97bd15938fc7ffe180754cbe6c.tar.xz 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>
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 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); |