From: Pasha Zubkov <pasha.zubkov@gmail.com>
To: linux-kernel <linux-kernel@vger.kernel.org>
Subject: [PATCH] 2.6.12.1 & disabled CONFIG_PCI
Date: Fri, 24 Jun 2005 20:24:20 +0300 [thread overview]
Message-ID: <42BC41C4.7010501@gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 345 bytes --]
If CONFIG_PCI disabled then kernel can't compile properly.
This is an error:
--
LD .tmp_vmlinux1
drivers/built-in.o: In function `pnpacpi_allocated_resource':
rsparser.c:(.text+0x31955): undefined reference to
`pcibios_penalize_isa_irq'
make[1]: *** [.tmp_vmlinux1] Error 1
--
This is a small patch for ./drivers/pnp/pnpacpi/rsparser.c
[-- Attachment #2: rsparser.c_undefined_reference.diff --]
[-- Type: text/plain, Size: 430 bytes --]
--- linux-2.6.12.1/drivers/pnp/pnpacpi/rsparser.c 2005-06-24 20:12:26.000000000 +0300
+++ /usr/src/linux-2.6.12.1/drivers/pnp/pnpacpi/rsparser.c 2005-06-24 20:03:32.000000000 +0300
@@ -20,7 +20,13 @@
*/
#include <linux/kernel.h>
#include <linux/acpi.h>
+
+#ifdef CONFIG_PCI
#include <linux/pci.h>
+#else
+inline void pcibios_penalize_isa_irq(int irq) {}
+#endif /* CONFIG_PCI */
+
#include "pnpacpi.h"
#ifdef CONFIG_IA64
next reply other threads:[~2005-06-24 16:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-24 17:24 Pasha Zubkov [this message]
2005-06-24 17:13 ` [PATCH] 2.6.12.1 & disabled CONFIG_PCI Chris Wright
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=42BC41C4.7010501@gmail.com \
--to=pasha.zubkov@gmail.com \
--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.