2010-08-24 15:20:22

by Otavio Salvador

[permalink] [raw]
Subject: [PATCH] x86, vmware: fix compilation failure due lack of preset_lpj variable

At commit 9f242dc10e0c3c1eb32d8c83c18650a35fd7f80d the preset_lpj
variable started to be used but vmware.c lacked the include for
"jiffies.h" that defines it causing a build failure.

Signed-off-by: Otavio Salvador <[email protected]>
---
arch/x86/kernel/cpu/vmware.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/x86/kernel/cpu/vmware.c b/arch/x86/kernel/cpu/vmware.c
index 227b044..ce9c6c2 100644
--- a/arch/x86/kernel/cpu/vmware.c
+++ b/arch/x86/kernel/cpu/vmware.c
@@ -23,6 +23,7 @@

#include <linux/dmi.h>
#include <linux/module.h>
+#include <linux/jiffies.h>
#include <asm/div64.h>
#include <asm/x86_init.h>
#include <asm/hypervisor.h>
--
1.7.1.569.g6f426