linux-stable-rt/arch/powerpc/mm
Paul Mackerras 9e88ba4e45 powerpc: Only make kernel text pages of linear mapping executable
Commit bc033b63bb ("powerpc/mm: Fix
attribute confusion with htab_bolt_mapping()") moved the check for
whether we should make pages of the linear mapping executable from
htab_bolt_mapping into its callers, including htab_initialize.
A side-effect of this is that the decision is now made once for
each contiguous section in the LMB array rather than for each page
individually.  This can often mean that the whole of the linear
mapping ends up being executable.

This reverts to the previous behaviour, where individual pages are
checked for being part of the kernel text or not, by moving the check
back down into htab_bolt_mapping.

Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2008-09-03 20:53:22 +10:00
..
40x_mmu.c
44x_mmu.c
Makefile powerpc/mm: Lockless get_user_pages_fast() for 64-bit (v3) 2008-07-30 15:26:54 +10:00
fault.c
fsl_booke_mmu.c
gup.c powerpc/mm: Lockless get_user_pages_fast() for 64-bit (v3) 2008-07-30 15:26:54 +10:00
hash_low_32.S
hash_low_64.S
hash_native_64.c
hash_utils_64.c powerpc: Only make kernel text pages of linear mapping executable 2008-09-03 20:53:22 +10:00
hugetlbpage.c powerpc: Disable 64K hugetlb support when doing 64K SPU mappings 2008-07-28 16:30:53 +10:00
init_32.c
init_64.c powerpc/mm: Fix attribute confusion with htab_bolt_mapping() 2008-08-11 10:09:56 +10:00
mem.c powerpc: Fix compiler warning in arch/powerpc/mm/mem.c 2008-08-04 13:18:17 +10:00
mmap.c
mmu_context_32.c
mmu_context_64.c
mmu_decl.h
numa.c
pgtable_32.c
pgtable_64.c
ppc_mmu_32.c powerpc: Force printing of 'total_memory' to unsigned long long 2008-08-04 13:18:17 +10:00
slb.c
slb_low.S
slice.c
stab.c
subpage-prot.c
tlb_32.c
tlb_64.c powerpc: Move include files to arch/powerpc/include/asm 2008-08-04 12:02:00 +10:00