summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndi Kleen2007-02-13 13:26:24 +0100
committerAndi Kleen2007-02-13 13:26:24 +0100
commit9a11ff68273f440b1d33fcc4d550ffc881e6a0b4 (patch)
tree18ef989f484d3d5ea9dec3bf7f54ae7847fe9511
parent[PATCH] x86-64: Check return value of putreg in PTRACE_SETREGS (diff)
downloadkernel-qcow2-linux-9a11ff68273f440b1d33fcc4d550ffc881e6a0b4.tar.gz
kernel-qcow2-linux-9a11ff68273f440b1d33fcc4d550ffc881e6a0b4.tar.xz
kernel-qcow2-linux-9a11ff68273f440b1d33fcc4d550ffc881e6a0b4.zip
[PATCH] x86-64: Unexport __supported_pte_mask
The symbol is needed to manipulate page tables, and modules shouldn't do that. Leftover from 2.4, but no in tree module should need it now. Signed-off-by: Andi Kleen <ak@suse.de>
-rw-r--r--arch/x86_64/kernel/setup64.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86_64/kernel/setup64.c b/arch/x86_64/kernel/setup64.c
index 8c4b80fe71a1..6a70b55f719d 100644
--- a/arch/x86_64/kernel/setup64.c
+++ b/arch/x86_64/kernel/setup64.c
@@ -37,7 +37,6 @@ 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(__supported_pte_mask);
static int do_not_nx __cpuinitdata = 0;
/* noexec=on|off