diff options
author | Lennert Buytenhek <buytenh@wantstofly.org> | 2006-07-03 13:26:02 +0200 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2006-07-03 13:26:02 +0200 |
commit | 7cddc397027ddf80b2d916f6e8fb15a21e9791c5 (patch) | |
tree | 86587e405b607abde4b2aef041225ff593c1f284 /arch/arm | |
parent | [PATCH] genirq: Fixup ARM devel merge (diff) | |
download | linux-7cddc397027ddf80b2d916f6e8fb15a21e9791c5.tar.xz linux-7cddc397027ddf80b2d916f6e8fb15a21e9791c5.zip |
[ARM] 3708/2: fix SMP build after section ioremap changes
Patch from Lennert Buytenhek
Commit ff0daca525dde796382b9ccd563f169df2571211 broke the SMP build,
this patch fixes it up again.
Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm')
-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 7eac87f05180..3e86fe7c333d 100644 --- a/arch/arm/mm/ioremap.c +++ b/arch/arm/mm/ioremap.c @@ -369,6 +369,7 @@ void __iounmap(void __iomem *addr) addr = (void __iomem *)(PAGE_MASK & (unsigned long)addr); +#ifndef CONFIG_SMP /* * If this is a section based mapping we need to handle it * specially as the VM subysystem does not know how to handle @@ -390,6 +391,7 @@ void __iounmap(void __iomem *addr) } } write_unlock(&vmlist_lock); +#endif if (!section_mapping) vunmap(addr); |