original_kernel/arch/powerpc/mm
David Gibson 09f5dc44ae [PATCH] powerpc: Cleanup, consolidating icache dirtying logic
The code to mark a page as icache dirty (so that it will later be
icache-dcache flushed when we try to execute from it) is duplicated in
three places: flush_dcache_page() does this marking and nothing else,
but clear_user_page() and copy_user_page() duplicate it, since those
functions make the page icache dirty themselves.

This patch makes those other functions call flush_dcache_page()
instead, so the logic's all in one place.  This will make life less
confusing if we ever need to tweak the details of the the lazy icache
flush mechanism.

 arch/powerpc/mm/mem.c |   14 ++------------
 1 file changed, 2 insertions(+), 12 deletions(-)

Signed-off-by: David Gibson <dwg@au1.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2006-02-07 21:51:53 +11:00
..
4xx_mmu.c
44x_mmu.c
Makefile
fault.c [PATCH] powerpc: DABR exceptions should report the address not the PC 2006-01-09 16:03:33 +11:00
fsl_booke_mmu.c
hash_low_32.S
hash_low_64.S
hash_native_64.c
hash_utils_64.c spelling: s/retreive/retrieve/ 2006-01-10 00:10:13 +01:00
hugetlbpage.c [PATCH] powerpc: fix two build warnings 2006-01-09 15:14:14 +11:00
imalloc.c [PATCH] powerpc: fix two build warnings 2006-01-09 15:14:14 +11:00
init_32.c
init_64.c
lmb.c [PATCH] powerpc: Make sure we don't create empty lmb regions 2006-02-07 21:28:38 +11:00
mem.c [PATCH] powerpc: Cleanup, consolidating icache dirtying logic 2006-02-07 21:51:53 +11:00
mmap.c
mmu_context_32.c
mmu_context_64.c
mmu_decl.h
numa.c [PATCH] powerpc: don't add memory to empty node/zone 2006-01-09 15:14:22 +11:00
pgtable_32.c
pgtable_64.c [PATCH] powerpc: IOMMU: don't ioremap null addresses 2006-01-10 15:30:31 +11:00
ppc_mmu_32.c
slb.c [PATCH] powerpc: Replace VMALLOCBASE with VMALLOC_START 2006-01-09 15:05:47 +11:00
slb_low.S
stab.c
tlb_32.c
tlb_64.c