diff options
author | Cong Wang <amwang@redhat.com> | 2011-11-25 23:14:16 +0800 |
---|---|---|
committer | Cong Wang <xiyou.wangcong@gmail.com> | 2012-03-20 21:48:15 +0800 |
commit | bc3e11be88010e09692ed1d214407d56caa90075 (patch) | |
tree | 1bb41a2d19055bfecb166ed453252f9910545b32 /arch/sh/mm/cache-sh4.c | |
parent | 2480b2089210de3353b43419a80d9fa298d76f0e (diff) | |
download | op-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.c | 4 |
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); } } |