summaryrefslogtreecommitdiffstats
path: root/drivers/ata
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2010-03-29 19:52:43 +0200
committerJeff Garzik <jgarzik@redhat.com>2010-05-14 23:08:02 +0200
commitfbaf666b854c04b2d8ebca17114ee409ddea08b5 (patch)
tree8e4db33f928eb3554b1539d9745fedb01391df6a /drivers/ata
parentahci: implement AHCI_HFLAG_NO_FPDMA_AA and update NV quirks (diff)
downloadlinux-fbaf666b854c04b2d8ebca17114ee409ddea08b5.tar.xz
linux-fbaf666b854c04b2d8ebca17114ee409ddea08b5.zip
libata: update gfp/slab.h includes
Implicit slab.h inclusion via percpu.h is about to go away. Make sure gfp.h or slab.h is included as necessary. Signed-off-by: Tejun Heo <tj@kernel.org> Cc: Stephen Rothwell <sfr@canb.auug.org.au> Cc: Jeff Garzik <jgarzik@pobox.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/ata')
-rw-r--r--drivers/ata/ahci_platform.c1
-rw-r--r--drivers/ata/libahci.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/ata/ahci_platform.c b/drivers/ata/ahci_platform.c
index 42cdd7363fad..19bfd1d76d40 100644
--- a/drivers/ata/ahci_platform.c
+++ b/drivers/ata/ahci_platform.c
@@ -13,6 +13,7 @@
*/
#include <linux/kernel.h>
+#include <linux/gfp.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/interrupt.h>
diff --git a/drivers/ata/libahci.c b/drivers/ata/libahci.c
index 3f586ec84a3c..34fc57d0a9b8 100644
--- a/drivers/ata/libahci.c
+++ b/drivers/ata/libahci.c
@@ -33,6 +33,7 @@
*/
#include <linux/kernel.h>
+#include <linux/gfp.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/blkdev.h>