summaryrefslogtreecommitdiffstats
path: root/arch/sh/mm/cache-sh4.c
diff options
context:
space:
mode:
authorCong Wang <amwang@redhat.com>2011-11-25 23:14:16 +0800
committerCong Wang <xiyou.wangcong@gmail.com>2012-03-20 21:48:15 +0800
commitbc3e11be88010e09692ed1d214407d56caa90075 (patch)
tree1bb41a2d19055bfecb166ed453252f9910545b32 /arch/sh/mm/cache-sh4.c
parent2480b2089210de3353b43419a80d9fa298d76f0e (diff)
downloadop-kernel-dev-bc3e11be88010e09692ed1d214407d56caa90075.zip
op-kernel-dev-bc3e11be88010e09692ed1d214407d56caa90075.tar.gz
sh: remove the second argument of k[un]map_atomic()
Signed-off-by: Cong Wang <amwang@redhat.com>
Diffstat (limited to 'arch/sh/mm/cache-sh4.c')
-rw-r--r--arch/sh/mm/cache-sh4.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sh/mm/cache-sh4.c b/arch/sh/mm/cache-sh4.c
index 92eb986..112fea1 100644
--- a/arch/sh/mm/cache-sh4.c
+++ b/arch/sh/mm/cache-sh4.c
@@ -244,7 +244,7 @@ static void sh4_flush_cache_page(void *args)
if (map_coherent)
vaddr = kmap_coherent(page, address);
else
- vaddr = kmap_atomic(page, KM_USER0);
+ vaddr = kmap_atomic(page);
address = (unsigned long)vaddr;
}
@@ -259,7 +259,7 @@ static void sh4_flush_cache_page(void *args)
if (map_coherent)
kunmap_coherent(vaddr);
else
- kunmap_atomic(vaddr, KM_USER0);
+ kunmap_atomic(vaddr);
}
}
OpenPOWER on IntegriCloud