public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Christian Kujau <evil@g-house.de>
To: Steven Cole <elenstev@mesatop.com>
Cc: Linus Torvalds <torvalds@osdl.org>,
	Alexander Nyberg <alexn@telia.com>,
	Pete Clements <clem@clem.clem-digital.net>,
	linux-kernel <linux-kernel@vger.kernel.org>,
	Andrew Morton <akpm@osdl.org>
Subject: Re: 2.6.12-rc5-git3 fails compile -- acpi_boot_table_init
Date: Tue, 31 May 2005 22:00:42 +0200	[thread overview]
Message-ID: <429CC26A.1030908@g-house.de> (raw)
In-Reply-To: <429C7024.40002@mesatop.com>

Steven Cole wrote:
> I had to fix up one reject, but it still fixes the no ACPI build for me, 
> with the current HEAD=5e485b7975472ba4a408523deb6541e70c451842.

hm, i still had 2 rejects with your patch, -git tree updated today.
another "version" of patch attached, and yes: it does fix the no-ACPI build.

thanks,
Christian.

Signed-off-by: Christian Kujau <evil@g-house.de>

--- linux-2.6-git/include/linux/acpi.h.orig     2005-05-31 
21:49:00.411776244 +0200
+++ linux-2.6-git/include/linux/acpi.h  2005-05-31 21:51:30.855399473 +0200
@@ -415,16 +415,6 @@

  #define acpi_mp_config 0

-static inline int acpi_boot_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);
@@ -535,5 +525,17 @@

  extern int pnpacpi_disabled;

+#else  /* CONFIG_ACPI */
+
+static inline int acpi_boot_init(void)
+{
+       return 0;
+}
+
+static inline int acpi_boot_table_init(void)
+{
+       return 0;
+}
+
  #endif /* CONFIG_ACPI */
  #endif /*_LINUX_ACPI_H*/
-- 
BOFH excuse #291:

Due to the CDA, we no longer have a root account.

      reply	other threads:[~2005-05-31 20:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-28 12:06 2.6.12-rc5-git3 fails compile -- acpi_boot_table_init Pete Clements
2005-05-28 13:37 ` Alexander Nyberg
2005-05-29 18:58   ` Linus Torvalds
2005-05-29 19:17     ` Alexander Nyberg
2005-05-31 14:09     ` Steven Cole
2005-05-31 20:00       ` Christian Kujau [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=429CC26A.1030908@g-house.de \
    --to=evil@g-house.de \
    --cc=akpm@osdl.org \
    --cc=alexn@telia.com \
    --cc=clem@clem.clem-digital.net \
    --cc=elenstev@mesatop.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@osdl.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