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-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20090427154412.290C61D024B@basil.firstfloor.org>
Date:	Mon, 27 Apr 2009 17:44:12 +0200 (CEST)
From:	Andi Kleen <andi@...stfloor.org>
To:	oprofile-list@...ts.sf.net, robert.richter@....com,
	linux-kernel@...r.kernel.org
Subject: [PATCH] [2/3] oprofile: remove undocumented oprofile.p4force option


There are no new P4s and the oprofile code knows about all existing
ones, so we don't really need the p4force option anymore.

Remove it.

Signed-off-by: Andi Kleen <ak@...ux.intel.com>

---
 arch/x86/oprofile/nmi_int.c |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

Index: linux-2.6.28-test/arch/x86/oprofile/nmi_int.c
===================================================================
--- linux-2.6.28-test.orig/arch/x86/oprofile/nmi_int.c	2009-01-03 00:57:30.000000000 +0100
+++ linux-2.6.28-test/arch/x86/oprofile/nmi_int.c	2009-01-03 00:58:25.000000000 +0100
@@ -356,14 +356,11 @@
 #define exit_sysfs() do { } while (0)
 #endif /* CONFIG_PM */
 
-static int p4force;
-module_param(p4force, int, 0);
-
 static int __init p4_init(char **cpu_type)
 {
 	__u8 cpu_model = boot_cpu_data.x86_model;
 
-	if (!p4force && (cpu_model > 6 || cpu_model == 5))
+	if (cpu_model > 6 || cpu_model == 5)
 		return 0;
 
 #ifndef CONFIG_SMP
--
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