[Lguest] [PATCH 2/2] lguest 64 prep: export __supported_pte_mask

Rusty Russell rusty at rustcorp.com.au
Thu Jan 24 10:33:37 EST 2008


Date: Fri, 18 Jan 2008 23:59:10 -0200
From: Glauber de Oliveira Costa <gcosta at redhat.com>

export __supported_pte_mask variable as GPL symbol.
lguest is a user of it.

Signed-off-by: Glauber de Oliveira Costa <gcosta at redhat.com>
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
---
 arch/x86/kernel/setup64.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/x86/kernel/setup64.c b/arch/x86/kernel/setup64.c
index 8fa0de8..5cc1339 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



More information about the Lguest mailing list