Re: [PATCH] powerpc: Only make kernel text pages of linear mapping executable

2008-08-27 Thread Benjamin Herrenschmidt
On Thu, 2008-08-28 at 16:38 +1000, Paul Mackerras wrote: > Commit bc033b63bbfeb6c4b4eb0a1d083c650e4a0d2af8 ("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

[PATCH] powerpc: Only make kernel text pages of linear mapping executable

2008-08-27 Thread Paul Mackerras
Commit bc033b63bbfeb6c4b4eb0a1d083c650e4a0d2af8 ("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 de