x86: use __PAGE_KERNEL_EXEC in ioremap_64.c
authorJoerg Roedel <joerg.roedel@amd.com>
Wed, 30 Jan 2008 12:33:43 +0000 (13:33 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:33:43 +0000 (13:33 +0100)
commitfbd3bfd87f91e6a454f3f61f67ee745f0cb59aa4
tree38d1fc7528072625b7076281bedbde388b831606
parent718f94974d59f57a57480d2448beee05720ab237
x86: use __PAGE_KERNEL_EXEC in ioremap_64.c

This patch replaces the manual permission setup for pages in ioremap_64.c with
the pre-defined __PAGE_KERNEL_EXEC value.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/mm/ioremap_64.c