[RFC: 2.6 patch] unexport mmu_cr4_features

From: Adrian Bunk
Date: Thu Jan 20 2005 - 13:44:58 EST


I haven't found any modular usage of mmu_cr4_features in the kernel.

Is the patch below correct?


Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

---

arch/i386/kernel/setup.c | 1 -
arch/x86_64/kernel/setup.c | 1 -
2 files changed, 2 deletions(-)

--- linux-2.6.11-rc1-mm2-full/arch/i386/kernel/setup.c.old 2005-01-20 18:26:25.000000000 +0100
+++ linux-2.6.11-rc1-mm2-full/arch/i386/kernel/setup.c 2005-01-20 18:26:32.000000000 +0100
@@ -77,7 +77,6 @@
struct cpuinfo_x86 boot_cpu_data = { 0, 0, 0, 0, -1, 1, 0, 0, -1 };

unsigned long mmu_cr4_features;
-EXPORT_SYMBOL_GPL(mmu_cr4_features);

#ifdef CONFIG_ACPI_INTERPRETER
int acpi_disabled = 0;
--- linux-2.6.11-rc1-mm2-full/arch/x86_64/kernel/setup.c.old 2005-01-20 18:26:39.000000000 +0100
+++ linux-2.6.11-rc1-mm2-full/arch/x86_64/kernel/setup.c 2005-01-20 18:26:43.000000000 +0100
@@ -67,7 +67,6 @@
struct cpuinfo_x86 boot_cpu_data;

unsigned long mmu_cr4_features;
-EXPORT_SYMBOL_GPL(mmu_cr4_features);

int acpi_disabled;
EXPORT_SYMBOL(acpi_disabled);

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/