mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Adrian Bunk <bunk@stusta.de>
To: Andi Kleen <ak@suse.de>
Cc: linux-kernel@vger.kernel.org, discuss@x86-64.org
Subject: [2.6 patch] i386/x86_64: make __reserve_evntsel_nmi() static
Date: Wed, 4 Apr 2007 17:25:42 +0200	[thread overview]
Message-ID: <20070404152542.GL27660@stusta.de> (raw)

__reserve_evntsel_nmi() can become static.

Signed-off-by: Adrian Bunk <bunk@stusta.de>

---

 arch/i386/kernel/nmi.c   |    2 +-
 arch/x86_64/kernel/nmi.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

--- linux-2.6.21-rc5-mm4/arch/i386/kernel/nmi.c.old	2007-04-04 00:11:59.000000000 +0200
+++ linux-2.6.21-rc5-mm4/arch/i386/kernel/nmi.c	2007-04-04 00:12:06.000000000 +0200
@@ -194,7 +194,7 @@
 	}
 }
 
-int __reserve_evntsel_nmi(int cpu, unsigned int msr)
+static int __reserve_evntsel_nmi(int cpu, unsigned int msr)
 {
 	unsigned int counter;
 	if (cpu < 0)
--- linux-2.6.21-rc5-mm4/arch/x86_64/kernel/nmi.c.old	2007-04-04 00:12:14.000000000 +0200
+++ linux-2.6.21-rc5-mm4/arch/x86_64/kernel/nmi.c	2007-04-04 00:12:19.000000000 +0200
@@ -182,7 +182,7 @@
 		__release_perfctr_nmi(cpu, msr);
 }
 
-int __reserve_evntsel_nmi(int cpu, unsigned int msr)
+static int __reserve_evntsel_nmi(int cpu, unsigned int msr)
 {
 	unsigned int counter;
 	if (cpu < 0)


             reply	other threads:[~2007-04-04 15:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-04 15:25 Adrian Bunk [this message]
2007-04-04 16:28 ` Andi Kleen

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=20070404152542.GL27660@stusta.de \
    --to=bunk@stusta.de \
    --cc=ak@suse.de \
    --cc=discuss@x86-64.org \
    --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

Powered by JetHome