Skip to contentSkip to conversation

Exynos4: Fix cpuinit section mismatches

PATCH New Kyungmin Park 1 participant 1 message Mar 29, 2011

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Exynos4: Fix cpuinit section mismatches

From: Kyungmin Park <[email protected]>

Fix cpuinit section mismatch(es).

WARNING: modpost: Found 2 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'

---

arch/arm/mach-exynos4/headsmp.S +1 -1
index 6c6cfc5..3cdeb36 100644
@@ -13,7 +13,7 @@
 #include <linux/linkage.h>
 #include <linux/init.h>
 
-	__INIT
+	__CPUINIT
 
 /*
  * exynos4 specific entry point for secondary CPUs.  This provides
arch/arm/mach-exynos4/platsmp.c +1 -1
index 6d35878..f77e66a 100644
@@ -35,7 +35,7 @@ extern void exynos4_secondary_startup(void);
  * boot "holding pen"
  */
 
-volatile int __cpuinitdata pen_release = -1;
+volatile int pen_release = -1;
 
 /*
  * Write pen_release in a way that is guaranteed to be visible to all