Skip to contentSkip to conversation

: mark setup_arch() as __init

M68KNOMMU Greg Ungerer 1 participant 1 message Oct 24, 2007

lore
Share & tools
lore
#0 lore raw

Mark the m68knommu setup_arch() function as __init.

---

arch/m68knommu/kernel/setup.c +1 -1
diff -Naurp linux-2.6.23-git19/arch/m68knommu/kernel/setup.c linux-2.6.23-git19.hacked/arch/m68knommu/kernel/setup.c
@@ -116,7 +116,7 @@ void (*mach_power_off)(void);
 extern int _stext, _etext, _sdata, _edata, _sbss, _ebss, _end;
 extern int _ramstart, _ramend;
 
-void setup_arch(char **cmdline_p)
+void __init setup_arch(char **cmdline_p)
 {
 	int bootmap_size;