This patch fixes this build error, kvm-unit-tests/lib/x86/processor.h:497:45: error: expected ‘)’ before ‘;’ token return !!((cpuid(0x80000001).d & (1 << 20)); ~ ^ )
Signed-off-by: Naresh Kamboju naresh.kamboju@linaro.org --- lib/x86/processor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/x86/processor.h b/lib/x86/processor.h index 0a65808..823d65d 100644 --- a/lib/x86/processor.h +++ b/lib/x86/processor.h @@ -494,7 +494,7 @@ static inline int has_spec_ctrl(void)
static inline int cpu_has_efer_nx(void) { - return !!((cpuid(0x80000001).d & (1 << 20)); + return !!((cpuid(0x80000001).d & (1 << 20))); }
#endif