__reserve_evntsel_nmi() can become static.

Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]>

---

 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)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to