Hello

this patch enables perfmon to work on older 32-bit Athlons.  I vaguely
remember someone might have been working on a much better fix than this,
but for the time being this is useful for getting things running.

Vince

diff -ur linux-source-2.6.22/arch/x86_64/perfmon/perfmon_amd64.c 
linux-source-2.6.22.new/arch/x86_64/perfmon/perfmon_amd64.c
--- linux-source-2.6.22/arch/x86_64/perfmon/perfmon_amd64.c     2007-08-30 
17:22:12.000000000 -0400
+++ linux-source-2.6.22.new/arch/x86_64/perfmon/perfmon_amd64.c 2007-07-26 
17:21:22.000000000 -0400
@@ -278,6 +278,7 @@
        }

        switch (current_cpu_data.x86) {
+       case 6:
        case 15:
        case 16:
                PFM_INFO("found family=%d", current_cpu_data.x86);

_______________________________________________
perfmon mailing list
[email protected]
http://www.hpl.hp.com/hosted/linux/mail-archives/perfmon/

Reply via email to