From: Andrew Morton <akpm-3NddpPZAyC0@public.gmane.org>
To: Steven Cole <elenstev-dIRlkrwy3vBBDgjK7y7TUQ@public.gmane.org>
Cc: bunk-HeJ8Db2Gnd6zQB+pC5nmwQ@public.gmane.org,
reuben-lkml-MwA23MxOyI4@public.gmane.org,
len.brown-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org,
linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: 2.6.12-rc2-mm1: ACPI=y, ACPI_BOOT=n problems
Date: Tue, 5 Apr 2005 18:36:55 -0700 [thread overview]
Message-ID: <20050405183655.0c778129.akpm@osdl.org> (raw)
In-Reply-To: <4252F090.4040605-dIRlkrwy3vBBDgjK7y7TUQ@public.gmane.org>
Steven Cole <elenstev-dIRlkrwy3vBBDgjK7y7TUQ@public.gmane.org> wrote:
>
> arch/i386/kernel/setup.c: In function 'setup_arch':
> arch/i386/kernel/setup.c:1571: warning: implicit declaration of function 'acpi_boot_table_init'
> arch/i386/kernel/setup.c:1572: warning: implicit declaration of function 'acpi_boot_init'
diff -puN include/linux/acpi.h~no-acpi-build-fix include/linux/acpi.h
--- 25/include/linux/acpi.h~no-acpi-build-fix 2005-04-05 00:14:46.000000000 -0700
+++ 25-akpm/include/linux/acpi.h 2005-04-05 00:23:39.000000000 -0700
@@ -418,16 +418,6 @@ extern int sbf_port ;
#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);
@@ -538,5 +528,18 @@ static inline int acpi_get_pxm(acpi_hand
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 */
_
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
next prev parent reply other threads:[~2005-04-06 1:36 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <fa.gcqu6i7.1o6qrhn@ifi.uio.no>
[not found] ` <42524D83.1080104@reub.net>
[not found] ` <20050405121444.GB6885@stusta.de>
[not found] ` <6.2.3.0.2.20050406002812.04393a30@tornado.reub.net>
2005-04-05 13:24 ` 2.6.12-rc2-mm1: ACPI=y, ACPI_BOOT=n problems Adrian Bunk
[not found] ` <20050405132417.GD6885-HeJ8Db2Gnd6zQB+pC5nmwQ@public.gmane.org>
2005-04-05 20:09 ` Steven Cole
[not found] ` <4252F090.4040605-dIRlkrwy3vBBDgjK7y7TUQ@public.gmane.org>
2005-04-06 1:36 ` Andrew Morton [this message]
2005-04-06 14:00 ` Steven Cole
[not found] ` <4253EB69.6050702-dIRlkrwy3vBBDgjK7y7TUQ@public.gmane.org>
2005-04-06 21:15 ` Andrew Morton
2005-04-06 7:01 Brown, Len
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=20050405183655.0c778129.akpm@osdl.org \
--to=akpm-3nddppzayc0@public.gmane.org \
--cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
--cc=bunk-HeJ8Db2Gnd6zQB+pC5nmwQ@public.gmane.org \
--cc=elenstev-dIRlkrwy3vBBDgjK7y7TUQ@public.gmane.org \
--cc=len.brown-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
--cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=reuben-lkml-MwA23MxOyI4@public.gmane.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