diff options
author | Andi Kleen <ak@suse.de> | 2007-05-02 19:27:06 +0200 |
---|---|---|
committer | Andi Kleen <andi@basil.nowhere.org> | 2007-05-02 19:27:06 +0200 |
commit | 2a12652c0335ec90747d3402a82b6699ae883b58 (patch) | |
tree | 9b6a29838edcc1a1975e5c09748333b0ccd1136a /arch/i386/oprofile/nmi_int.c | |
parent | d9c93813ac17b34ee6eb7a424578acae6f90d759 (diff) | |
download | blackbird-op-linux-2a12652c0335ec90747d3402a82b6699ae883b58.tar.gz blackbird-op-linux-2a12652c0335ec90747d3402a82b6699ae883b58.zip |
[PATCH] i386: Support Oprofile for AMD Family 10 CPUs
Signed-off-by: Andi Kleen <ak@suse.de>
Diffstat (limited to 'arch/i386/oprofile/nmi_int.c')
-rw-r--r-- | arch/i386/oprofile/nmi_int.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/i386/oprofile/nmi_int.c b/arch/i386/oprofile/nmi_int.c index 8fda7be9dd4d..695f737516ae 100644 --- a/arch/i386/oprofile/nmi_int.c +++ b/arch/i386/oprofile/nmi_int.c @@ -414,6 +414,10 @@ int __init op_nmi_init(struct oprofile_operations *ops) user space an consistent name. */ cpu_type = "x86-64/hammer"; break; + case 0x10: + model = &op_athlon_spec; + cpu_type = "x86-64/family10"; + break; } break; |