diff options
author | Arnd Bergmann <arnd@arndb.de> | 2013-03-15 19:58:20 +0100 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2013-03-15 19:58:20 +0100 |
commit | 25e9789ddd9d14a8971f4a421d04f282719ab733 (patch) | |
tree | 525be5538946c0faa502a550e2dc2f3725556568 /drivers/vfio/pci/vfio_pci_intrs.c | |
parent | Linux 3.9-rc2 (diff) | |
download | linux-25e9789ddd9d14a8971f4a421d04f282719ab733.tar.xz linux-25e9789ddd9d14a8971f4a421d04f282719ab733.zip |
vfio: include <linux/slab.h> for kmalloc
The vfio drivers call kmalloc or kzalloc, but do not
include <linux/slab.h>, which causes build errors on
ARM.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Cc: kvm@vger.kernel.org
Diffstat (limited to 'drivers/vfio/pci/vfio_pci_intrs.c')
-rw-r--r-- | drivers/vfio/pci/vfio_pci_intrs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/vfio/pci/vfio_pci_intrs.c b/drivers/vfio/pci/vfio_pci_intrs.c index 3639371fa697..a96509187deb 100644 --- a/drivers/vfio/pci/vfio_pci_intrs.c +++ b/drivers/vfio/pci/vfio_pci_intrs.c @@ -22,6 +22,7 @@ #include <linux/vfio.h> #include <linux/wait.h> #include <linux/workqueue.h> +#include <linux/slab.h> #include "vfio_pci_private.h" |