lkml.org 
[lkml]   [2002]   [May]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] missing __init's in smpboot.c (i386)
Hi,

this patch adds missing __init modifiers for wakeup_secondary_via_NMI() and
wakeup_secondary_via_INIT() functions in arch/i386/smpboot.c file.

--
Andrey Panin | Embedded systems software engineer
pazke@orbita1.ru | PGP key: wwwkeys.eu.pgp.netdiff -urN -X /usr/share/dontdiff linux.vanilla/arch/i386/kernel/smpboot.c linux/arch/i386/kernel/smpboot.c
--- linux.vanilla/arch/i386/kernel/smpboot.c Tue Apr 23 19:05:49 2002
+++ linux/arch/i386/kernel/smpboot.c Fri May 3 01:11:34 2002
@@ -632,7 +632,7 @@
}
#endif

-static int wakeup_secondary_via_NMI(int logical_apicid)
+static int __init wakeup_secondary_via_NMI(int logical_apicid)
/*
* Poke the other CPU in the eye to wake it up. Remember that the normal
* INIT, INIT, STARTUP sequence will reset the chip hard for us, and this
@@ -680,7 +680,7 @@
return (send_status | accept_status);
}

-static int wakeup_secondary_via_INIT(int phys_apicid, unsigned long start_eip)
+static int __init wakeup_secondary_via_INIT(int phys_apicid, unsigned long start_eip)
{
unsigned long send_status = 0, accept_status = 0;
int maxlvt, timeout, num_starts, j;[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-03-22 13:22    [W:0.025 / U:0.212 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site