From: Michal Jaegermann <michal@harddata.com>
To: Jan-Benedict Glaw <jbglaw@lug-owl.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Compile fails an Alpha: include/asm/pci.h included from arch/alpha/kernel/setup.c
Date: Mon, 21 May 2001 14:19:07 -0600 [thread overview]
Message-ID: <20010521141907.A8950@mail.harddata.com> (raw)
In-Reply-To: <20010521171854.A4121@lug-owl.de>
In-Reply-To: <20010521171854.A4121@lug-owl.de>; from jbglaw@lug-owl.de on Mon, May 21, 2001 at 05:18:55PM +0200
On Mon, May 21, 2001 at 05:18:55PM +0200, Jan-Benedict Glaw wrote:
>
> Kernel 2.4.5-pre[34] don't compile on Alpha:
>
....
> 152 struct pci_controller *hose = pdev->sysdata;
^^^
This is the problem (a type for 'pdev' is not defined).
And this is a possible fix:
--- linux-2.4.4ac/include/asm-alpha/pci.h~ Sat May 19 16:43:11 2001
+++ linux-2.4.4ac/include/asm-alpha/pci.h Sat May 19 17:23:56 2001
@@ -6,6 +6,7 @@
#include <linux/spinlock.h>
#include <asm/scatterlist.h>
#include <asm/machvec.h>
+#include <linux/pci.h>
/*
* The following structure is used to manage multiple PCI busses.
The patch is for 2.4.4-ac11, so offsets are possibly slightly different,
but probably not. :-)
Michal
prev parent reply other threads:[~2001-05-21 20:19 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-05-21 15:18 Compile fails an Alpha: include/asm/pci.h included from arch/alpha/kernel/setup.c Jan-Benedict Glaw
2001-05-21 18:39 ` Jeff Garzik
2001-05-21 20:19 ` Michal Jaegermann [this message]
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=20010521141907.A8950@mail.harddata.com \
--to=michal@harddata.com \
--cc=jbglaw@lug-owl.de \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.