From: Gwendal Grignou <gwendal@google.com>
To: tj@kernel.org, sfr@canb.auug.org.au
Cc: linux-ide@vger.kernel.org, Gwendal Grignou <gwendal@google.com>
Subject: [PATCH #upstream] libata-transport: Fix compilation error on powerpc
Date: Wed, 18 Aug 2010 19:37:12 -0700 [thread overview]
Message-ID: <1282185432-7069-1-git-send-email-gwendal@google.com> (raw)
In-Reply-To: <20100818104057.5fdaf20d.sfr@canb.auug.org.au>
slab.h was not included when compiling for powerpc.
It is implicitely included for x86.
Signed-off-by: Gwendal Grignou <gwendal@google.com>
---
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
parent reply other threads:[~2010-08-19 2:37 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <20100818104057.5fdaf20d.sfr@canb.auug.org.au>]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1282185432-7069-1-git-send-email-gwendal@google.com \
--to=gwendal@google.com \
--cc=linux-ide@vger.kernel.org \
--cc=sfr@canb.auug.org.au \
--cc=tj@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).