From: VMware, Inc <> Date: Tue, 24 Aug 2010 18:45:41 +0000 (-0700) Subject: Fix VMCI guest driver compile use of (un)lock_kernel X-Git-Tag: 2010.08.24-292196~11 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=228b9d87460fda4abf8d18ce5d476d2cface4415;p=thirdparty%2Fopen-vm-tools.git Fix VMCI guest driver compile use of (un)lock_kernel 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 --- diff --git a/open-vm-tools/modules/linux/vmci/vmci_drv.c b/open-vm-tools/modules/linux/vmci/vmci_drv.c index 8c956cedb..43bb7324b 100644 --- a/open-vm-tools/modules/linux/vmci/vmci_drv.c +++ b/open-vm-tools/modules/linux/vmci/vmci_drv.c @@ -26,6 +26,7 @@ #include #include +#include #include "compat_kernel.h" #include "compat_module.h"