Re: [PATCH 03/24] oprofile: Add support for AMD Family 11h

From: Ingo Molnar
Date: Mon Jul 28 2008 - 11:36:13 EST



* Daniel K. <dk@xxxxx> wrote:

> Robert Richter wrote:
>> diff --git a/arch/x86/oprofile/nmi_int.c b/arch/x86/oprofile/nmi_int.c
>> index 7f3329b..cf28a02 100644
>> --- a/arch/x86/oprofile/nmi_int.c
>> +++ b/arch/x86/oprofile/nmi_int.c
>> @@ -422,6 +422,10 @@ int __init op_nmi_init(struct oprofile_operations *ops)
>> model = &op_athlon_spec;
>> cpu_type = "x86-64/family10";
>> break;
>> + case 0x11:
>> + model = &op_athlon_spec;
>> + cpu_type = "x86-64/family11h";
>
> Should the 'h' be dropped, as for family10 above, to keep them similar.

'family10' is a typo we've got to live with - but there's no need to
repeat it for family11h.

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/