Skip to contentSkip to conversation

arch/i386/kernel/bluesmoke.c: missing __init

PATCH New [email protected] 1 participant 1 message May 25, 2001

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arch/i386/kernel/bluesmoke.c: missing __init

Hi all,

this micropatch adds missing __init for winchip_mcheck_init() function.

Best regards.

Signature · 2 lines
Andrey Panin            | Embedded systems software engineer
[email protected]        | PGP key: http://www.orbita1.ru/~pazke/AndreyPanin.asc
arch/i386/kernel/bluesmoke.c renamed from linux.vanilla/arch/i386/kernel/bluesmoke.c +1 -1
diff -ur -X /usr/dontdiff /linux.vanilla/arch/i386/kernel/bluesmoke.c linux/arch/i386/kernel/bluesmoke.c
@@ -185,7 +185,7 @@
  *	Set up machine check reporting on the Winchip C6 series
  */
  
-static void winchip_mcheck_init(struct cpuinfo_x86 *c)
+static void __init winchip_mcheck_init(struct cpuinfo_x86 *c)
 {
 	u32 lo, hi;
 	/* Not supported on C3 */