public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andrey Panin <pazke@orbita1.ru>
To: linux-kernel@vger.kernel.org
Subject: [PATCH] missing __init's in smpboot.c (i386)
Date: Tue, 7 May 2002 18:04:16 +0400	[thread overview]
Message-ID: <20020507140416.GA433@pazke.ipt> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 274 bytes --]

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.net

[-- Attachment #1.2: patch-smpboot --]
[-- Type: text/plain, Size: 893 bytes --]

diff -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;

[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

                 reply	other threads:[~2002-05-07 13:59 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020507140416.GA433@pazke.ipt \
    --to=pazke@orbita1.ru \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox