]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
oprofile: remove undocumented oprofile.p4force option
authorAndi Kleen <andi@firstfloor.org>
Mon, 27 Apr 2009 15:44:12 +0000 (17:44 +0200)
committerRobert Richter <robert.richter@amd.com>
Fri, 8 May 2009 09:06:33 +0000 (11:06 +0200)
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@linux.intel.com>
Signed-off-by: Robert Richter <robert.richter@amd.com>
arch/x86/oprofile/nmi_int.c

index e5171c99e1576d422da727c9cd61324eaacd9e8b..f472c0c48a3ef91835ac14ec9fe483e4660b6ad0 100644 (file)
@@ -356,14 +356,11 @@ static void exit_sysfs(void)
 #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