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 3235120..e5c5122 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;