lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 4 Apr 2007 17:25:42 +0200
From:	Adrian Bunk <bunk@...sta.de>
To:	Andi Kleen <ak@...e.de>
Cc:	linux-kernel@...r.kernel.org, discuss@...-64.org
Subject: [2.6 patch] i386/x86_64: make __reserve_evntsel_nmi() static

__reserve_evntsel_nmi() can become static.

Signed-off-by: Adrian Bunk <bunk@...sta.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)

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ