vfio: include <linux/slab.h> for kmalloc
authorArnd Bergmann <arnd@arndb.de>
Fri, 15 Mar 2013 18:58:20 +0000 (12:58 -0600)
committerAlex Williamson <alex.williamson@redhat.com>
Fri, 15 Mar 2013 18:58:20 +0000 (12:58 -0600)
commit25e9789ddd9d14a8971f4a421d04f282719ab733
tree525be5538946c0faa502a550e2dc2f3725556568
parentf6161aa153581da4a3867a2d1a7caf4be19b6ec9
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
drivers/vfio/pci/vfio_pci_config.c
drivers/vfio/pci/vfio_pci_intrs.c