summaryrefslogtreecommitdiffstats
path: root/arch/mips/mm/init.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2007-03-23 21:36:37 +0000
committerRalf Baechle <ralf@linux-mips.org>2007-03-24 17:01:49 +0000
commit7575a49f209190ca640e0da792565a1bcb641f3e (patch)
treedb47f9fe06fefd279841941c5ff6f8d63dc54c45 /arch/mips/mm/init.c
parent80e89593e5a574a572f4e45e157733b5ea5ddfdb (diff)
downloadop-kernel-dev-7575a49f209190ca640e0da792565a1bcb641f3e.zip
op-kernel-dev-7575a49f209190ca640e0da792565a1bcb641f3e.tar.gz
[MIPS] Implement flush_anon_page().
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/mm/init.c')
-rw-r--r--arch/mips/mm/init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/mm/init.c b/arch/mips/mm/init.c
index 25abe91..e9951c0e 100644
--- a/arch/mips/mm/init.c
+++ b/arch/mips/mm/init.c
@@ -123,7 +123,7 @@ static void __init kmap_coherent_init(void)
static inline void kmap_coherent_init(void) {}
#endif
-static inline void *kmap_coherent(struct page *page, unsigned long addr)
+void *kmap_coherent(struct page *page, unsigned long addr)
{
enum fixed_addresses idx;
unsigned long vaddr, flags, entrylo;
@@ -177,7 +177,7 @@ static inline void *kmap_coherent(struct page *page, unsigned long addr)
#define UNIQUE_ENTRYHI(idx) (CKSEG0 + ((idx) << (PAGE_SHIFT + 1)))
-static inline void kunmap_coherent(struct page *page)
+void kunmap_coherent(struct page *page)
{
#ifndef CONFIG_MIPS_MT_SMTC
unsigned int wired;
OpenPOWER on IntegriCloud