cache.c (3c69a99b62fde9de86a612ef1daaa07d95f0a773) | cache.c (39ade048a32ea653b94dcfbf816b0b13a6be8a33) |
---|---|
1/* 2 * This file is subject to the terms and conditions of the GNU General Public 3 * License. See the file "COPYING" in the main directory of this archive 4 * for more details. 5 * 6 * Copyright (C) 1999-2006 Helge Deller <deller@gmx.de> (07-13-1999) 7 * Copyright (C) 1999 SuSE GmbH Nuernberg 8 * Copyright (C) 2000 Philipp Rumpf (prumpf@tux.org) --- 535 unchanged lines hidden (view full) --- 544 printk(KERN_INFO "TLB flush threshold set to %lu KiB\n", 545 parisc_tlb_flush_threshold/1024); 546} 547 548extern void purge_kernel_dcache_page_asm(unsigned long); 549extern void clear_user_page_asm(void *, unsigned long); 550extern void copy_user_page_asm(void *, void *, unsigned long); 551 | 1/* 2 * This file is subject to the terms and conditions of the GNU General Public 3 * License. See the file "COPYING" in the main directory of this archive 4 * for more details. 5 * 6 * Copyright (C) 1999-2006 Helge Deller <deller@gmx.de> (07-13-1999) 7 * Copyright (C) 1999 SuSE GmbH Nuernberg 8 * Copyright (C) 2000 Philipp Rumpf (prumpf@tux.org) --- 535 unchanged lines hidden (view full) --- 544 printk(KERN_INFO "TLB flush threshold set to %lu KiB\n", 545 parisc_tlb_flush_threshold/1024); 546} 547 548extern void purge_kernel_dcache_page_asm(unsigned long); 549extern void clear_user_page_asm(void *, unsigned long); 550extern void copy_user_page_asm(void *, void *, unsigned long); 551 |
552void flush_kernel_dcache_page_addr(void *addr) | 552void flush_kernel_dcache_page_addr(const void *addr) |
553{ 554 unsigned long flags; 555 556 flush_kernel_dcache_page_asm(addr); 557 purge_tlb_start(flags); 558 pdtlb(SR_KERNEL, addr); 559 purge_tlb_end(flags); 560} --- 213 unchanged lines hidden --- | 553{ 554 unsigned long flags; 555 556 flush_kernel_dcache_page_asm(addr); 557 purge_tlb_start(flags); 558 pdtlb(SR_KERNEL, addr); 559 purge_tlb_end(flags); 560} --- 213 unchanged lines hidden --- |