diff options
author | Benjamin Thiel <b.thiel@posteo.de> | 2020-01-23 20:29:45 +0300 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2020-02-17 21:32:45 +0300 |
commit | b10c307f6f314c068814d0e23c86f06d5d57004b (patch) | |
tree | ade0aa8a439a5e8f99d1bf8926610c7b9a34cf3d /arch/x86/include/asm/mwait.h | |
parent | 99ce3255fddf08fca9249488793c9b5c909ff0ab (diff) | |
download | linux-b10c307f6f314c068814d0e23c86f06d5d57004b.tar.xz |
x86/cpu: Move prototype for get_umwait_control_msr() to a global location
.. in order to fix a -Wmissing-prototypes warning.
No functional change.
Signed-off-by: Benjamin Thiel <b.thiel@posteo.de>
Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: kvm@vger.kernel.org
Link: https://lkml.kernel.org/r/20200123172945.7235-1-b.thiel@posteo.de
Diffstat (limited to 'arch/x86/include/asm/mwait.h')
-rw-r--r-- | arch/x86/include/asm/mwait.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/include/asm/mwait.h b/arch/x86/include/asm/mwait.h index 9d5252c9685c..b809f117f3f4 100644 --- a/arch/x86/include/asm/mwait.h +++ b/arch/x86/include/asm/mwait.h @@ -23,6 +23,8 @@ #define MWAITX_MAX_LOOPS ((u32)-1) #define MWAITX_DISABLE_CSTATES 0xf0 +u32 get_umwait_control_msr(void); + static inline void __monitor(const void *eax, unsigned long ecx, unsigned long edx) { |