diff options
author | Paul Mackerras <paulus@samba.org> | 2008-08-30 11:26:27 +1000 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-09-03 20:53:22 +1000 |
commit | 9e88ba4e45ecad2425c4cc4e0861a26f4e36c6da (patch) | |
tree | bcd48acbd2420eda4d9018d3c0c697cdb84c44f6 /init | |
parent | 78fbc824ed8225edd80cdc57771d5ca4f7aae95e (diff) |
powerpc: Only make kernel text pages of linear mapping executable
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 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>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions