sh: Bring kmap_coherent() out-of-line.
authorPaul Mundt <lethal@linux-sh.org>
Tue, 4 Aug 2009 06:59:15 +0000 (15:59 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 4 Aug 2009 06:59:15 +0000 (15:59 +0900)
kmap_coherent() has gotten too big to leave as an inline, so we
bring it out-of-line.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/mm/pg-mmu.c

index 32351206edd31d49da645b89816d23928b4a94f7..e5c5122f4d62a5f3e2211fec709712d33f6acb21 100644 (file)
@@ -31,7 +31,7 @@ void __init kmap_coherent_init(void)
 #endif
 }
 
-static inline void *kmap_coherent(struct page *page, unsigned long addr)
+static void *kmap_coherent(struct page *page, unsigned long addr)
 {
        enum fixed_addresses idx;
        unsigned long vaddr, flags;