lkml.org 
[lkml]   [2001]   [May]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
Subject[PATCH] arch/i386/kernel/bluesmoke.c: missing __init
From
Hi all,

this micropatch adds missing __init for winchip_mcheck_init() function.

Best regards.

--
Andrey Panin | Embedded systems software engineer
pazke@orbita1.ru | PGP key: http://www.orbita1.ru/~pazke/AndreyPanin.asc
diff -ur -X /usr/dontdiff /linux.vanilla/arch/i386/kernel/bluesmoke.c linux/arch/i386/kernel/bluesmoke.c
--- /linux.vanilla/arch/i386/kernel/bluesmoke.c Mon May 21 23:49:24 2001
+++ linux/arch/i386/kernel/bluesmoke.c Fri May 25 22:58:31 2001
@@ -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 */[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-03-22 12:53    [W:0.037 / U:5.872 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site