Re: [PATCH] OProfile: correct CPU type for x86-64
From: Andi Kleen (ak_at_suse.de)
Date: 08/31/03
- Previous message: Eric W. Biederman: "Re: [UPDATED PATCH] EFI support for ia32 kernels"
- Maybe in reply to: John Levon: "[PATCH] OProfile: correct CPU type for x86-64"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: John Levon <levon@movementarian.org> Date: 31 Aug 2003 22:25:08 +0200
John Levon <levon@movementarian.org> writes:
> + break;
> +#if defined(CONFIG_X86_64)
> + case 0xf:
> + model = &op_athlon_spec;
> + nmi_ops.cpu_type = "x86-64/hammer";
> + break;
> +#endif /* CONFIG_X86_64 */
The ifdef is not needed. The case is valid for i386 too, when running
an Opteron with an 32bit kernel. In that case you also want the user tools
to select the Opteron events.
-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Previous message: Eric W. Biederman: "Re: [UPDATED PATCH] EFI support for ia32 kernels"
- Maybe in reply to: John Levon: "[PATCH] OProfile: correct CPU type for x86-64"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|