* [2.6 patch] i386/x86_64: make __reserve_evntsel_nmi() static
@ 2007-04-04 15:25 Adrian Bunk
2007-04-04 16:28 ` Andi Kleen
0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2007-04-04 15:25 UTC (permalink / raw)
To: Andi Kleen; +Cc: linux-kernel, discuss
__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)
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [2.6 patch] i386/x86_64: make __reserve_evntsel_nmi() static
2007-04-04 15:25 [2.6 patch] i386/x86_64: make __reserve_evntsel_nmi() static Adrian Bunk
@ 2007-04-04 16:28 ` Andi Kleen
0 siblings, 0 replies; 2+ messages in thread
From: Andi Kleen @ 2007-04-04 16:28 UTC (permalink / raw)
To: Adrian Bunk; +Cc: linux-kernel, discuss
Adrian Bunk <bunk@stusta.de> writes:
> __reserve_evntsel_nmi() can become static.
It's going to die in .22 anyways, just a temporary .21 kludge.
-Andi
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-04-04 15:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-04-04 15:25 [2.6 patch] i386/x86_64: make __reserve_evntsel_nmi() static Adrian Bunk
2007-04-04 16:28 ` Andi Kleen
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