From: Dave Hansen <[email protected]>

errno.h is already included for C code at the top of the header.
Zap the duplicate.

Signed-off-by: Dave Hansen <[email protected]>
---

 b/arch/x86/include/asm/msr.h |    1 -
 1 file changed, 1 deletion(-)

diff -puN arch/x86/include/asm/msr.h~rdmsr-dups-11 arch/x86/include/asm/msr.h
--- a/arch/x86/include/asm/msr.h~rdmsr-dups-11  2026-03-20 11:24:22.113929469 
-0700
+++ b/arch/x86/include/asm/msr.h        2026-03-20 11:24:22.116929602 -0700
@@ -179,7 +179,6 @@ static inline u64 native_read_pmc(int co
 #define raw_read_pmc           paravirt_read_pmc
 
 #else
-#include <linux/errno.h>
 
 #define raw_read_msr           native_read_msr
 #define raw_read_msr_safe      native_read_msr_safe
_

Reply via email to