diff options
author | Jan Beulich <JBeulich@suse.com> | 2016-01-26 14:15:18 +0300 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2016-01-26 23:05:36 +0300 |
commit | 3625c2c234ef66acf21a72d47a5ffa94f6c5ebf2 (patch) | |
tree | b156bf1125ef39a008ed5ccdfea2f046f014435d /fs | |
parent | 22c43f36b5cf22a7e4506cb3a53f3ad2a43f60f7 (diff) | |
download | linux-3625c2c234ef66acf21a72d47a5ffa94f6c5ebf2.tar.xz |
x86/mm: Fix types used in pgprot cacheability flags translations
For PAE kernels "unsigned long" is not suitable to hold page protection
flags, since _PAGE_NX doesn't fit there. This is the reason for quite a
few W+X pages getting reported as insecure during boot (observed namely
for the entire initrd range).
Fixes: 281d4078be ("x86: Make page cache mode a real type")
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Juergen Gross <JGross@suse.com>
Cc: stable@vger.kernel.org
Link: http://lkml.kernel.org/r/56A7635602000078000CAFF1@prv-mh.provo.novell.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions