]> git.baikalelectronics.ru Git - kernel.git/commit
x86-64: Also clear _PAGE_GLOBAL from __supported_pte_mask if !cpu_has_pge
authorJan Beulich <JBeulich@suse.com>
Fri, 23 Jan 2015 08:35:13 +0000 (08:35 +0000)
committerIngo Molnar <mingo@kernel.org>
Thu, 19 Feb 2015 01:18:26 +0000 (02:18 +0100)
commit7b529961bf36d80b00b5ba0f38add84ed8ca2d56
tree6b943f2254a246e38b6e66a2580cd70fc35c98a6
parent67c2053ff7933267317f4f52204141f60dc1856b
x86-64: Also clear _PAGE_GLOBAL from __supported_pte_mask if !cpu_has_pge

Not just setting it when the feature is available is for
consistency, and may allow Xen to drop its custom clearing of
the flag (unless it needs it cleared earlier than this code
executes). Note that the change is benign to ix86, as the flag
starts out clear there.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/54C215D10200007800058912@mail.emea.novell.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/mm/init.c