Paul Mackerras 11b55da700 powerpc: Fix oops when loading modules
This fixes a problem reported by Sean MacLennan where loading any
module would cause an oops.  We weren't marking the pages containing
the module text as having hardware execute permission, due to a bug
introduced in commit 8d1cf34e ("powerpc/mm: Tweak PTE bit combination
definitions"), hence trying to execute the module text caused an
exception on processors that support hardware execute permission.

This adds _PAGE_HWEXEC to the definitions of PAGE_KERNEL_X and
PAGE_KERNEL_ROX to fix this problem.

Reported-by: Sean MacLennan <smaclennan@pikatech.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2009-04-07 15:19:01 +10:00
..
2009-01-06 15:59:10 -08:00
2009-02-23 15:53:21 +11:00
2009-04-01 08:59:14 -07:00
2008-08-18 21:40:03 +02:00
2008-08-04 13:18:17 +10:00
2009-03-24 11:02:59 +02:00
2009-03-24 11:02:58 +02:00
2008-11-19 16:04:58 +11:00
2008-12-21 14:21:14 +11:00
2009-04-02 01:05:32 +00:00
2009-04-07 15:18:58 +10:00
2008-11-30 11:00:15 -08:00
2008-10-15 11:31:54 +11:00
2008-10-22 22:55:20 -07:00
2008-09-06 19:30:15 +01:00
2009-04-01 08:59:16 -07:00
2008-11-19 16:04:55 +11:00
2009-04-07 15:19:00 +10:00
2009-03-30 22:05:12 +10:30
2009-04-07 15:19:00 +10:00