diff options
author | Andi Kleen <andi@firstfloor.org> | 2009-04-27 17:44:12 +0200 |
---|---|---|
committer | Robert Richter <robert.richter@amd.com> | 2009-05-08 11:06:33 +0200 |
commit | 1f3d7b60691993d8d368d8dd7d5d85871d41e8f5 (patch) | |
tree | 07ca0a5088d24ecaf4bd6ec688472ed210edba02 /arch/x86/oprofile/nmi_int.c | |
parent | 1dcdb5a9e7c235e6e80f1f4d5b8247b3e5347e48 (diff) | |
download | linux-1f3d7b60691993d8d368d8dd7d5d85871d41e8f5.tar.bz2 |
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@linux.intel.com>
Signed-off-by: Robert Richter <robert.richter@amd.com>
Diffstat (limited to 'arch/x86/oprofile/nmi_int.c')
-rw-r--r-- | arch/x86/oprofile/nmi_int.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/x86/oprofile/nmi_int.c b/arch/x86/oprofile/nmi_int.c index e5171c99e157..f472c0c48a3e 100644 --- a/arch/x86/oprofile/nmi_int.c +++ b/arch/x86/oprofile/nmi_int.c @@ -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 |