aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/asm-i386/paravirt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-i386/paravirt.h b/include/asm-i386/paravirt.h
index d7a0512f88e0..7f846a7d6bcc 100644
--- a/include/asm-i386/paravirt.h
+++ b/include/asm-i386/paravirt.h
@@ -539,7 +539,7 @@ static inline int paravirt_write_msr(unsigned msr, unsigned low, unsigned high)
539 val = paravirt_read_msr(msr, &_err); \ 539 val = paravirt_read_msr(msr, &_err); \
540} while(0) 540} while(0)
541 541
542#define wrmsrl(msr,val) ((void)paravirt_write_msr(msr, val, 0)) 542#define wrmsrl(msr,val) wrmsr(msr, (u32)((u64)(val)), ((u64)(val))>>32)
543#define wrmsr_safe(msr,a,b) paravirt_write_msr(msr, a, b) 543#define wrmsr_safe(msr,a,b) paravirt_write_msr(msr, a, b)
544 544
545/* rdmsr with exception handling */ 545/* rdmsr with exception handling */