[PATCH] x86_64: Allow oprofile for model P4 models
authorAndi Kleen <ak@suse.de>
Mon, 10 Jul 2006 15:06:21 +0000 (17:06 +0200)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 10 Jul 2006 22:12:33 +0000 (15:12 -0700)
commit1cfcea1b2d67987ddb84dc75f454321bcf536555
tree0a64e00386cafff9c55cd675927a00064f3d4cd3
parent46f6976101c359202422753d15955f67aafabe2b
[PATCH] x86_64: Allow oprofile for model P4 models

Add it for P4 model 6 - reported to work and have a similar PMU to
earlier P4s.

Add an p4force=1 module override parameter for future use.

We had a discussion about that earlier - it's a trade off between the
PMU staying compatible or not.  I think the force parameter is a
reasonable compromise.

Cc: oprofile-list@lists.sf.net
Cc: Asit Mallick <asit.k.mallick@intel.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/oprofile/nmi_int.c