]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Fix VMCI guest driver compile use of (un)lock_kernel
authorVMware, Inc <>
Tue, 24 Aug 2010 18:45:41 +0000 (11:45 -0700)
committerMarcelo Vanzin <mvanzin@vmware.com>
Tue, 24 Aug 2010 18:45:41 +0000 (11:45 -0700)
A recent change introduced the use of (un)lock_kernel in the
VMCI guest driver. We need to include linux/smp_lock.h to get
the definition on certain kernels. This change adds that.

Signed-off-by: Marcelo Vanzin <mvanzin@vmware.com>
open-vm-tools/modules/linux/vmci/vmci_drv.c

index 8c956cedbd47d4ce6581bf4796096ad2898ddb49..43bb7324b1d05a5edec8b6a6e5a499fbe855b7f2 100644 (file)
@@ -26,6 +26,7 @@
 
 #include <linux/moduleparam.h>
 #include <linux/poll.h>
+#include <linux/smp_lock.h>
 
 #include "compat_kernel.h"
 #include "compat_module.h"