From: Glauber de Oliveira Costa Date: Wed, 30 Jan 2008 12:33:24 +0000 (+0100) Subject: x86: export __supported_pte_mask X-Git-Tag: v2.6.25-rc1~1143^2~210 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=e68decb52104388ed6c6218be926e10e6cde2814;p=karo-tx-linux.git x86: export __supported_pte_mask export __supported_pte_mask variable as GPL symbol. lguest is a user of it. Signed-off-by: Glauber de Oliveira Costa Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner --- diff --git a/arch/x86/kernel/setup64.c b/arch/x86/kernel/setup64.c index 0389331059ad..309366f8f603 100644 --- a/arch/x86/kernel/setup64.c +++ b/arch/x86/kernel/setup64.c @@ -41,6 +41,8 @@ struct desc_ptr idt_descr = { 256 * 16 - 1, (unsigned long) idt_table }; char boot_cpu_stack[IRQSTACKSIZE] __attribute__((section(".bss.page_aligned"))); unsigned long __supported_pte_mask __read_mostly = ~0UL; +EXPORT_SYMBOL_GPL(__supported_pte_mask); + static int do_not_nx __cpuinitdata = 0; /* noexec=on|off