diff options
Diffstat (limited to 'include/asm-x86/paravirt.h')
-rw-r--r-- | include/asm-x86/paravirt.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-x86/paravirt.h b/include/asm-x86/paravirt.h index 73547acbbbf5..a55f95e921ee 100644 --- a/include/asm-x86/paravirt.h +++ b/include/asm-x86/paravirt.h | |||
@@ -619,6 +619,7 @@ static inline void write_cr4(unsigned long x) | |||
619 | PVOP_VCALL1(pv_cpu_ops.write_cr4, x); | 619 | PVOP_VCALL1(pv_cpu_ops.write_cr4, x); |
620 | } | 620 | } |
621 | 621 | ||
622 | #ifdef CONFIG_X86_64 | ||
622 | static inline unsigned long read_cr8(void) | 623 | static inline unsigned long read_cr8(void) |
623 | { | 624 | { |
624 | return PVOP_CALL0(unsigned long, pv_cpu_ops.read_cr8); | 625 | return PVOP_CALL0(unsigned long, pv_cpu_ops.read_cr8); |
@@ -628,6 +629,7 @@ static inline void write_cr8(unsigned long x) | |||
628 | { | 629 | { |
629 | PVOP_VCALL1(pv_cpu_ops.write_cr8, x); | 630 | PVOP_VCALL1(pv_cpu_ops.write_cr8, x); |
630 | } | 631 | } |
632 | #endif | ||
631 | 633 | ||
632 | static inline void raw_safe_halt(void) | 634 | static inline void raw_safe_halt(void) |
633 | { | 635 | { |