diff options
author | H. Peter Anvin <hpa@zytor.com> | 2012-06-07 16:32:04 -0400 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2012-06-07 16:32:04 -0400 |
commit | 715c85b1fc824e9cd0ea07d6ceb80d2262f32e90 (patch) | |
tree | 7371367ce975c575b844eddd63daed92d66830a4 /arch/x86/include/asm/msr.h | |
parent | 2c929ce6f1ed1302be225512b433e6a6554f71a4 (diff) |
x86, cpu: Rename checking_wrmsrl() to wrmsrl_safe()
Rename checking_wrmsrl() to wrmsrl_safe(), to match the naming
convention used by all the other MSR access functions/macros.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'arch/x86/include/asm/msr.h')
-rw-r--r-- | arch/x86/include/asm/msr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/include/asm/msr.h b/arch/x86/include/asm/msr.h index cb33b5f00267..fe83d74a920d 100644 --- a/arch/x86/include/asm/msr.h +++ b/arch/x86/include/asm/msr.h | |||
@@ -211,7 +211,7 @@ do { \ | |||
211 | 211 | ||
212 | #endif /* !CONFIG_PARAVIRT */ | 212 | #endif /* !CONFIG_PARAVIRT */ |
213 | 213 | ||
214 | #define checking_wrmsrl(msr, val) wrmsr_safe((msr), (u32)(val), \ | 214 | #define wrmsrl_safe(msr, val) wrmsr_safe((msr), (u32)(val), \ |
215 | (u32)((val) >> 32)) | 215 | (u32)((val) >> 32)) |
216 | 216 | ||
217 | #define write_tsc(val1, val2) wrmsr(MSR_IA32_TSC, (val1), (val2)) | 217 | #define write_tsc(val1, val2) wrmsr(MSR_IA32_TSC, (val1), (val2)) |