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>
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
}
}
write_unlock(&vmlist_lock);
+#endif
if (!section_mapping)
vunmap(addr);