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

From: Otavio Salvador
Date: Tue Aug 24 2010 - 11:20:25 EST


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 <otavio@xxxxxxxxxxxxxxxx>
---
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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/