i386/x86_64: make __reserve_evntsel_nmi() static
PATCH 1/1 i386/x86_64: make __reserve_evntsel_nmi() static
__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(-)
arch/i386/kernel/nmi.c renamed from arch/i386/kernel/nmi.c.old +1 -1
@@ -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 )
arch/x86_64/kernel/nmi.c renamed from arch/x86_64/kernel/nmi.c.old +1 -1
@@ -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 )
Quoted 1 line · Adrian Bunk
__reserve_evntsel_nmi()can become static.
It's going to die in .22 anyways, just a temporary .21 kludge.
-Andi