Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1765759AbYASCBg (ORCPT ); Fri, 18 Jan 2008 21:01:36 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1764334AbYASB7k (ORCPT ); Fri, 18 Jan 2008 20:59:40 -0500 Received: from mx1.redhat.com ([66.187.233.31]:32879 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1764293AbYASB7a (ORCPT ); Fri, 18 Jan 2008 20:59:30 -0500 From: Glauber de Oliveira Costa To: lguest@ozlabs.org Cc: glommer@gmail.com, linux-kernel@vger.kernel.org, virtualization@lists.linux-foundation.org, rusty@rustcorp.com.au, rostedt@goodmis.org, Glauber de Oliveira Costa Subject: [PATCH 6/6] export __supported_pte_mask Date: Fri, 18 Jan 2008 23:59:10 -0200 Message-Id: <1200707981233-git-send-email-gcosta@redhat.com> X-Mailer: git-send-email 1.5.0.6 In-Reply-To: <1200707976298-git-send-email-gcosta@redhat.com> References: <1200707950911-git-send-email-gcosta@redhat.com> <12007079562927-git-send-email-gcosta@redhat.com> <12007079613080-git-send-email-gcosta@redhat.com> <12007079663929-git-send-email-gcosta@redhat.com> <1200707971507-git-send-email-gcosta@redhat.com> <1200707976298-git-send-email-gcosta@redhat.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 987 Lines: 29 export __supported_pte_mask variable as GPL symbol. lguest is a user of it. Signed-off-by: Glauber de Oliveira Costa --- arch/x86/kernel/setup64.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) 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 -- 1.5.0.6 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/