Re: [PATCH] x86: remove duplicate rtit status MSR macro
From: Borislav Petkov
Date: Fri Oct 14 2016 - 05:51:10 EST
On Fri, Oct 14, 2016 at 08:42:20AM +0800, Longpeng(Mike) wrote:
> The MSR_IA32_RTIT_STATUS has defined twice, so remove one.
>
> Signed-off-by: Longpeng(Mike) <longpeng2@xxxxxxxxxx>
> ---
> arch/x86/include/asm/msr-index.h | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/arch/x86/include/asm/msr-index.h b/arch/x86/include/asm/msr-index.h
> index 56f4c66..78f3760 100644
> --- a/arch/x86/include/asm/msr-index.h
> +++ b/arch/x86/include/asm/msr-index.h
> @@ -88,7 +88,6 @@
>
> #define MSR_IA32_RTIT_CTL 0x00000570
> #define MSR_IA32_RTIT_STATUS 0x00000571
> -#define MSR_IA32_RTIT_STATUS 0x00000571
> #define MSR_IA32_RTIT_ADDR0_A 0x00000580
> #define MSR_IA32_RTIT_ADDR0_B 0x00000581
> #define MSR_IA32_RTIT_ADDR1_A 0x00000582
> --
Acked-by: Borislav Petkov <bp@xxxxxxx>
--
Regards/Gruss,
Boris.
ECO tip #101: Trim your mails when you reply.