File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ notrace static inline void native_write_msr(unsigned int msr,
122
122
"2:\n"
123
123
_ASM_EXTABLE_HANDLE (1b , 2b , ex_handler_wrmsr_unsafe )
124
124
: : "c" (msr ), "a" (low ), "d" (high ) : "memory" );
125
- if (msr_tracepoint_active (__tracepoint_read_msr ))
125
+ if (msr_tracepoint_active (__tracepoint_write_msr ))
126
126
do_trace_write_msr (msr , ((u64 )high << 32 | low ), 0 );
127
127
}
128
128
@@ -141,7 +141,7 @@ notrace static inline int native_write_msr_safe(unsigned int msr,
141
141
: " c " (msr), " 0 " (low), " d " (high),
142
142
[fault ] "i" (- EIO )
143
143
: "memory ");
144
- if (msr_tracepoint_active (__tracepoint_read_msr ))
144
+ if (msr_tracepoint_active (__tracepoint_write_msr ))
145
145
do_trace_write_msr (msr , ((u64 )high << 32 | low ), err );
146
146
return err ;
147
147
}
You can’t perform that action at this time.
0 commit comments