Skip to content

Commit

Permalink
oprofile: remove undocumented oprofile.p4force option
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Andi Kleen authored and Robert Richter committed May 8, 2009
1 parent 1dcdb5a commit 1f3d7b6
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions arch/x86/oprofile/nmi_int.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1f3d7b6

Please sign in to comment.