slab.h was not included when compiling for powerpc. It is implicitely included for x86. Signed-off-by: Gwendal Grignou <gwendal@xxxxxxxxxx> --- drivers/ata/libata-transport.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/ata/libata-transport.c b/drivers/ata/libata-transport.c index a80860f..c136efc 100644 --- a/drivers/ata/libata-transport.c +++ b/drivers/ata/libata-transport.c @@ -25,6 +25,7 @@ #include <linux/kernel.h> +#include <linux/slab.h> #include <linux/blkdev.h> #include <linux/spinlock.h> #include <scsi/scsi_transport.h> -- 1.7.1 -- To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html