summaryrefslogtreecommitdiff
path: root/drivers/scsi/ch.c
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2009-04-06 17:21:10 (GMT)
committerPaul Mackerras <paulus@samba.org>2009-04-07 05:19:01 (GMT)
commit11b55da700eb77905f1c2dde3a0cbeedc665a753 (patch)
treea99df58800151b3503a24424550fad55c160b6e1 /drivers/scsi/ch.c
parent1a917bb549deb0b6bcb0321db22e9c27525a1e3d (diff)
downloadlinux-fsl-qoriq-11b55da700eb77905f1c2dde3a0cbeedc665a753.tar.xz
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>
Diffstat (limited to 'drivers/scsi/ch.c')
0 files changed, 0 insertions, 0 deletions