Skip to contentSkip to conversation

x86: remove duplicate rtit status MSR macro

PATCH In review Longpeng(Mike) 3 participants 3 messages Oct 14, 2016 x86

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86: remove duplicate rtit status MSR macro

The MSR_IA32_RTIT_STATUS has defined twice, so remove one.

---
 arch/x86/include/asm/msr-index.h | 1 -
 1 file changed, 1 deletion(-)
arch/x86/include/asm/msr-index.h +0 -1
index 56f4c66..78f3760 100644
@@ -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
Signature · 1 line
1.8.3.1
maintainer Acked-by on v1 1/1
#1 lore raw
Quoted 13 lines · Longpeng(Mike)

The MSR_IA32_RTIT_STATUS has defined twice, so remove one.

---
 arch/x86/include/asm/msr-index.h | 1 -
 1 file changed, 1 deletion(-)
arch/x86/include/asm/msr-index.h +0 -0
index 56f4c66..78f3760 100644

arch/x86/include/asm/msr-index.h line 93

Quoted 7 lines
arch/x86/include/asm/msr-index.h +0 -1
@@ -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
Signature · 4 lines
Regards/Gruss,
    Boris.

ECO tip #101: Trim your mails when you reply.
#2 lore raw

[tip:x86/urgent] x86: Remove duplicate rtit status MSR macro

In reply to Longpeng(Mike)
x86: Remove duplicate rtit status MSR macro
Commit-ID:  c836eeda3e1e652d424bbbbb908f07eb7380448c
Gitweb:     http://git.kernel.org/tip/c836eeda3e1e652d424bbbbb908f07eb7380448c
Author:     Longpeng(Mike) <[email protected]>
AuthorDate: Fri, 14 Oct 2016 08:42:20 +0800
Committer:  Thomas Gleixner <[email protected]>
CommitDate: Fri, 14 Oct 2016 14:14:20 +0200

x86: Remove duplicate rtit status MSR macro

The MSR_IA32_RTIT_STATUS is defined twice, so remove one.

---
 arch/x86/include/asm/msr-index.h | 1 -
 1 file changed, 1 deletion(-)
arch/x86/include/asm/msr-index.h +0 -1
index 56f4c66..78f3760 100644
@@ -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