public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "cr7" <cr7@darav.de>
To: linux-kernel@vger.kernel.org
Cc: akpm@osdl.org
Subject: Re: 2.6.10-rc2-mm4 - non-ACPI compile broken
Date: Thu, 02 Dec 2004 10:42:40 +0100	[thread overview]
Message-ID: <elmo110198056013041086480495@debian> (raw)

[-- Attachment #1: Type: text/plain, Size: 660 bytes --]

Hello,


I've tried to compile 2.6.10-rc2-mm4 without ACPI on an i386-arch.
It shows:
arch/i386/kernel/built-in.o(.init.text+0x167e): In function `setup_arch':
: undefined reference to `acpi_boot_table_init'
make: *** [.tmp_vmlinux1] Fehler 1

The patch which seems to be responsible is:
x86_64-split-acpi-boot-table-parsing.patch
Around line 83 and the following.

acpi_boot_table_init is located in arch/i386/kernel/acpi/boot.c
But it's only compiled with CONFIG_ACPI_BOOT set.

The attached patch fixes the problem by adding a dummy function to include/linux/acpi.h - like it's done for acpi_init() too.

Regards,
Carsten

Please cc, I'm not subscribed.




[-- Attachment #2: fix_no_acpi_compile.patch --]
[-- Type: text/plain, Size: 467 bytes --]

diff -upr linux/include/linux/acpi.h linux-new/include/linux/acpi.h
--- linux/include/linux/acpi.h	2004-12-01 14:28:32.000000000 +0100
+++ linux-new/include/linux/acpi.h	2004-12-02 10:30:53.000000000 +0100
@@ -424,6 +424,13 @@ static inline int acpi_table_init(void)
 	return 0;
 }
 
+static inline int acpi_boot_table_init(void)
+{
+	return 0;
+}
+
+
+
 #endif 	/*!CONFIG_ACPI_BOOT*/
 
 unsigned int acpi_register_gsi (u32 gsi, int edge_level, int active_high_low);

                 reply	other threads:[~2004-12-02  8:49 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=elmo110198056013041086480495@debian \
    --to=cr7@darav.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