aboutsummaryrefslogtreecommitdiffstats
path: root/arch/parisc/kernel
diff options
context:
space:
mode:
authorZhao Hongjiang <zhaohongjiang@huawei.com>2013-04-27 06:42:11 -0400
committerHelge Deller <deller@gmx.de>2013-05-06 16:19:00 -0400
commitba969c44ed9ab2d50428a2deeb3aa5e1145dd537 (patch)
tree89e4d55a2ec81d83ac2874b2d0cda40f6804db84 /arch/parisc/kernel
parentd7ab7302f970a254997687a1cdede421a5635c68 (diff)
parisc: remove the second argument of kmap_atomic
kmap_atomic allows only one argument now, just move the second. Signed-off-by: Zhao Hongjiang <zhaohongjiang@huawei.com> Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch/parisc/kernel')
-rw-r--r--arch/parisc/kernel/cache.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/parisc/kernel/cache.c b/arch/parisc/kernel/cache.c
index 83ded26cad06..65fb4cbc3a0f 100644
--- a/arch/parisc/kernel/cache.c
+++ b/arch/parisc/kernel/cache.c
@@ -606,7 +606,7 @@ void clear_user_highpage(struct page *page, unsigned long vaddr)
606 /* Clear using TMPALIAS region. The page doesn't need to 606 /* Clear using TMPALIAS region. The page doesn't need to
607 be flushed but the kernel mapping needs to be purged. */ 607 be flushed but the kernel mapping needs to be purged. */
608 608
609 vto = kmap_atomic(page, KM_USER0); 609 vto = kmap_atomic(page);
610 610
611 /* The PA-RISC 2.0 Architecture book states on page F-6: 611 /* The PA-RISC 2.0 Architecture book states on page F-6:
612 "Before a write-capable translation is enabled, *all* 612 "Before a write-capable translation is enabled, *all*
@@ -641,8 +641,8 @@ void copy_user_highpage(struct page *to, struct page *from,
641 the `to' page must be flushed in copy_user_page_asm since 641 the `to' page must be flushed in copy_user_page_asm since
642 it can be used to bring in executable code. */ 642 it can be used to bring in executable code. */
643 643
644 vfrom = kmap_atomic(from, KM_USER0); 644 vfrom = kmap_atomic(from);
645 vto = kmap_atomic(to, KM_USER1); 645 vto = kmap_atomic(to);
646 646
647 purge_kernel_dcache_page_asm((unsigned long)vto); 647 purge_kernel_dcache_page_asm((unsigned long)vto);
648 purge_tlb_start(flags); 648 purge_tlb_start(flags);