From: Christoph Hellwig <hch@lst.de>
To: akpm@osdl.org
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] fix standalone inclusion of asm-i386/dma-mapping.h
Date: Tue, 15 Jun 2004 17:06:52 +0200 [thread overview]
Message-ID: <20040615150652.GA18894@lst.de> (raw)
Without this a usb-storage patch I sent fails on x86 because
dma-mapping.h uses struct device and various VM stuff without proper
includes. It's fine on ppc at least.
--- 1.7/include/asm-i386/dma-mapping.h 2004-05-25 11:53:06 +02:00
+++ edited/include/asm-i386/dma-mapping.h 2004-06-15 17:02:43 +02:00
@@ -1,6 +1,9 @@
#ifndef _ASM_I386_DMA_MAPPING_H
#define _ASM_I386_DMA_MAPPING_H
+#include <linux/device.h>
+#include <linux/mm.h>
+
#include <asm/cache.h>
#include <asm/io.h>
#include <asm/scatterlist.h>
reply other threads:[~2004-06-15 15:07 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20040615150652.GA18894@lst.de \
--to=hch@lst.de \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.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