]> git.baikalelectronics.ru Git - kernel.git/commit
x86: fix ioremap pgprot inconsistency
authorThomas Gleixner <tglx@linutronix.de>
Wed, 30 Jan 2008 12:34:04 +0000 (13:34 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:34:04 +0000 (13:34 +0100)
commitf0e3303a05e08465887bcb3e2dca3cee1c0bffa4
treea22f3b40f051bf1efa1a4a5cde5bac34288e8249
parenta979a7c2e191d28c9a8ab114a74a256d8fba52a3
x86: fix ioremap pgprot inconsistency

The pgprot flags which are handed into ioremap_page_range() are
different to those which are set in change_page_attr(). The
ioremap_page_range flags are executable, while the c_p_a flags are
not. Also make the mappings global (which is a NOP currently on 32bit,
although CPUs from PPRO+ onwards support it, but that's a separate
fix.)

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/mm/ioremap_32.c