diff options
| -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) | |||
| 369 | 369 | ||
| 370 | addr = (void __iomem *)(PAGE_MASK & (unsigned long)addr); | 370 | addr = (void __iomem *)(PAGE_MASK & (unsigned long)addr); |
| 371 | 371 | ||
| 372 | #ifndef CONFIG_SMP | ||
| 372 | /* | 373 | /* |
| 373 | * If this is a section based mapping we need to handle it | 374 | * If this is a section based mapping we need to handle it |
| 374 | * specially as the VM subysystem does not know how to handle | 375 | * specially as the VM subysystem does not know how to handle |
| @@ -390,6 +391,7 @@ void __iounmap(void __iomem *addr) | |||
| 390 | } | 391 | } |
| 391 | } | 392 | } |
| 392 | write_unlock(&vmlist_lock); | 393 | write_unlock(&vmlist_lock); |
| 394 | #endif | ||
| 393 | 395 | ||
| 394 | if (!section_mapping) | 396 | if (!section_mapping) |
| 395 | vunmap(addr); | 397 | vunmap(addr); |
