diff options
author | Dmitry Torokhov <dtor@vmware.com> | 2013-01-11 03:41:43 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-18 00:07:39 +0400 |
commit | ea8a83a4b718f78a8ea2ce3f0237e78a23f8f12b (patch) | |
tree | da2ddb4c16fcd8aef511420bc20103133825c037 /drivers | |
parent | e6389a13e42d5388ec044ce8da1b3bcfa39598ef (diff) | |
download | linux-ea8a83a4b718f78a8ea2ce3f0237e78a23f8f12b.tar.xz |
VMCI: include slab.h into files using kmalloc/kfree
Do not rely on implicit header dependencies as they are known to
break.
Reported-by: Randy Dunlap <rdunlap@infradead.org>
Acked-by: Andy King <acking@vmware.com>
Signed-off-by: Dmitry Torokhov <dtor@vmware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/misc/vmw_vmci/vmci_guest.c | 3 | ||||
-rw-r--r-- | drivers/misc/vmw_vmci/vmci_host.c | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/drivers/misc/vmw_vmci/vmci_guest.c b/drivers/misc/vmw_vmci/vmci_guest.c index d7df6cfed28a..de1a90be160a 100644 --- a/drivers/misc/vmw_vmci/vmci_guest.c +++ b/drivers/misc/vmw_vmci/vmci_guest.c @@ -19,12 +19,15 @@ #include <linux/interrupt.h> #include <linux/highmem.h> #include <linux/kernel.h> +#include <linux/mm.h> #include <linux/module.h> #include <linux/sched.h> +#include <linux/slab.h> #include <linux/init.h> #include <linux/pci.h> #include <linux/smp.h> #include <linux/io.h> +#include <linux/vmalloc.h> #include "vmci_datagram.h" #include "vmci_doorbell.h" diff --git a/drivers/misc/vmw_vmci/vmci_host.c b/drivers/misc/vmw_vmci/vmci_host.c index 16e7f547555f..d4722b3dc8ec 100644 --- a/drivers/misc/vmw_vmci/vmci_host.c +++ b/drivers/misc/vmw_vmci/vmci_host.c @@ -24,6 +24,7 @@ #include <linux/module.h> #include <linux/mutex.h> #include <linux/sched.h> +#include <linux/slab.h> #include <linux/file.h> #include <linux/init.h> #include <linux/poll.h> |