diff options
author | Borislav Petkov <bp@suse.de> | 2016-11-02 19:35:22 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2016-11-16 10:23:02 +0100 |
commit | 5d07c2cc1962facb2f5d57b7b62987c213643724 (patch) | |
tree | ddb4566def8c37bff1bbdd4edb3dae8a619ebc94 /arch/x86/lib/msr.c | |
parent | x86/apic: Prevent tracing on apic_msr_write_eoi() (diff) | |
download | linux-5d07c2cc1962facb2f5d57b7b62987c213643724.tar.xz linux-5d07c2cc1962facb2f5d57b7b62987c213643724.zip |
x86/msr: Cleanup/streamline MSR helpers
Make the MSR argument an unsigned int, both low and high u32, put
"notrace" last in the function signature. Reflow function signatures for
better readability and cleanup white space.
Signed-off-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/lib/msr.c')
-rw-r--r-- | arch/x86/lib/msr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/lib/msr.c b/arch/x86/lib/msr.c index d1dee753b949..07764255b611 100644 --- a/arch/x86/lib/msr.c +++ b/arch/x86/lib/msr.c @@ -113,14 +113,14 @@ int msr_clear_bit(u32 msr, u8 bit) } #ifdef CONFIG_TRACEPOINTS -void do_trace_write_msr(unsigned msr, u64 val, int failed) +void do_trace_write_msr(unsigned int msr, u64 val, int failed) { trace_write_msr(msr, val, failed); } EXPORT_SYMBOL(do_trace_write_msr); EXPORT_TRACEPOINT_SYMBOL(write_msr); -void do_trace_read_msr(unsigned msr, u64 val, int failed) +void do_trace_read_msr(unsigned int msr, u64 val, int failed) { trace_read_msr(msr, val, failed); } |