Skip to contentSkip to conversation

x86/kernel/setup_32.c: unexport machine_id

PATCH Applied Adrian Bunk 2 participants 2 messages Oct 24, 2007 – Oct 25, 2007 x86

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86/kernel/setup_32.c: unexport machine_id

This patch removes the unused EXPORT_SYMBOL(machine_id).

---
2cb43d8ae339c609318adf16a835e990fd79ee21

arch/x86/kernel/setup_32.c +0 -3
index ba2e165..e8ddc4c 100644
@@ -84,9 +84,6 @@ unsigned long mmu_cr4_features;
 
 /* for MCA, but anyone else can use it if they want */
 unsigned int machine_id;
-#ifdef CONFIG_MCA
-EXPORT_SYMBOL(machine_id);
-#endif
 unsigned int machine_submodel_id;
 unsigned int BIOS_revision;
 unsigned int mca_pentium_flag;
#1 lore raw
Quoted 3 lines · Adrian Bunk

This patch removes the unused EXPORT_SYMBOL(machine_id).

Thanks, applied

tglx

Quoted 17 lines

---
2cb43d8ae339c609318adf16a835e990fd79ee21

arch/x86/kernel/setup_32.c +0 -3
index ba2e165..e8ddc4c 100644
@@ -84,9 +84,6 @@ unsigned long mmu_cr4_features;
 
 /* for MCA, but anyone else can use it if they want */
 unsigned int machine_id;
-#ifdef CONFIG_MCA
-EXPORT_SYMBOL(machine_id);
-#endif
 unsigned int machine_submodel_id;
 unsigned int BIOS_revision;
 unsigned int mca_pentium_flag;