login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
November
»
7
Re: mm snapshot broken-out-2007-11-06-02-32 - ACPI functions broken
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
Kamalesh Babulal <kamalesh@...>
To: Jean Delvare <jdelvare@...>
Cc: <akpm@...>, <mm-commits@...>, <linux-kernel@...>, <trenn@...>, <mhoffman@...>, <lenb@...>, Andy Whitcroft <apw@...>
Subject:
Re: mm snapshot broken-out-2007-11-06-02-32 - ACPI functions broken
Date: Wednesday, November 7, 2007 - 1:13 pm
Jean Delvare wrote:
quoted text
> Hi Kamalesh, > > Le mardi 06 novembre 2007, Kamalesh Babulal a écrit : >> Hi Andrew, >> >> The kernel build fails, on powerpc while compiling the kernel with allyesconfig option >> >> drivers/hwmon/w83627hf.c:1631: error: implicit declaration of function ‘acpi_check_resource_conflict’ >> make[2]: *** [drivers/hwmon/w83627hf.o] Error 1 >> make[1]: *** [drivers/hwmon] Error 2 >> make: *** [drivers] Error 2 >> CC fs/xfs/xfs_error.o >> drivers/hwmon/w83627hf.c:1631: error: implicit declaration of function ‘acpi_check_resource_conflict’ >> make[2]: *** [drivers/hwmon/w83627hf.o] Error 1 >> make[1]: *** [drivers/hwmon] Error 2 >> make: *** [drivers] Error 2 >> drivers/i2c/busses/i2c-ali1535.c:163: error: implicit declaration of function ‘acpi_check_region’ >> make[3]: *** [drivers/i2c/busses/i2c-ali1535.o] Error 1 >> make[2]: *** [drivers/i2c/busses] Error 2 >> make[1]: *** [drivers/i2c] Error 2 >> drivers/hwmon/dme1737.c:2231: error: implicit declaration of function ‘acpi_check_resource_conflict’ >> make[2]: *** [drivers/hwmon/dme1737.o] Error 1 >> make[1]: *** [drivers/hwmon] Error 2 >> make: *** [drivers] Error 2 > > Odd. Thanks for reporting. > >> The patches check-for-acpi-resource-conflicts-in-hwmon-drivers and >> check-for-acpi-resource-conflicts-in-i2c-bus-drivers.patch, causes this build failure. >> The declaration of the functions are under ifdef CONFIG_ACPI. > > There's an #else after that, and the functions are defined as inlines > doing nothing in the non-ACPI case. The code looks OK to me, but I can > reproduce the problem on x86_64 with CONFIG_ACPI=n. > > Aha, I see it now, there are nested #ifdef CONFIG_ACPI in acpi.h, > so the inner one is a no-op (and its #else counterpart is never > evaluated.) That's pretty confusing, I'll send a patch fixing this. > > In the meantime, here's a quick fix so that you can go on testing > the mm snapshot. Apply this at the top of the series: > > Fix the <linux/acpi.h> breakage for CONFIG_ACPI=n. > > Signed-off-by: Jean Delvare <jdelvare@suse.de> > --- > include/linux/acpi.h | 23 ++++++++++++----------- > 1 file changed, 12 insertions(+), 11 deletions(-) > > --- linux-2.6.24-rc1.orig/include/linux/acpi.h 2007-11-07 12:45:47.000000000 +0100 > +++ linux-2.6.24-rc1/include/linux/acpi.h 2007-11-07 13:23:06.000000000 +0100 > @@ -26,6 +26,7 @@ > #define _LINUX_ACPI_H > > > +#include <linux/ioport.h> > #ifdef CONFIG_ACPI > > #ifndef _LINUX > @@ -134,17 +135,6 @@ int acpi_check_mem_region(resource_size_ > > #define acpi_mp_config 0 > > -static inline int acpi_check_resource_conflict(struct resource *res) > -{ return 0; } > - > -static inline int acpi_check_region(resource_size_t start, resource_size_t n, > - const char *name) > -{ return 0; } > - > -static inline int acpi_check_mem_region(resource_size_t start, > - resource_size_t n, const char *name) > -{ return 0; } > - > #endif /* !CONFIG_ACPI */ > > int acpi_register_gsi (u32 gsi, int triggering, int polarity); > @@ -239,5 +229,16 @@ static inline int acpi_boot_table_init(v > return 0; > } > > +static inline int acpi_check_resource_conflict(struct resource *res) > +{ return 0; } > + > +static inline int acpi_check_region(resource_size_t start, resource_size_t n, > + const char *name) > +{ return 0; } > + > +static inline int acpi_check_mem_region(resource_size_t start, > + resource_size_t n, const char *name) > +{ return 0; } > + > #endif /* CONFIG_ACPI */ > #endif /*_LINUX_ACPI_H*/ > >
Hi Jean, Thanks for the quick fix. -- Thanks & Regards, Kamalesh Babulal, Linux Technology Center, IBM, ISTL. -
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
mm snapshot broken-out-2007-11-06-02-32.tar.gz uploaded
,
, (Tue Nov 6, 6:33 am)
Re: mm snapshot broken-out-2007-11-06-02-32 make header chec...
, Kamalesh Babulal
, (Wed Nov 7, 4:42 pm)
Re: mm snapshot broken-out-2007-11-06-02-32 make header chec...
, Andrew Morton
, (Wed Nov 7, 5:55 pm)
Re: mm snapshot broken-out-2007-11-06-02-32 build failure - ...
, Kamalesh Babulal
, (Wed Nov 7, 4:57 pm)
Re: mm snapshot broken-out-2007-11-06-02-32 build failure - ...
, Tony Breeds
, (Wed Nov 7, 10:27 pm)
Re: mm snapshot broken-out-2007-11-06-02-32 powerpc - axon_m...
, Kamalesh Babulal
, (Wed Nov 7, 3:52 pm)
Re: mm snapshot broken-out-2007-11-06-02-32 powerpc - axon_m...
, Benjamin Herrenschmidt
, (Wed Nov 7, 4:28 pm)
Re: mm snapshot broken-out-2007-11-06-02-32 powerpc - axon_m...
, Kamalesh Babulal
, (Wed Nov 7, 4:35 pm)
Re: mm snapshot broken-out-2007-11-06-02-32 build failure !C...
, Kamalesh Babulal
, (Wed Nov 7, 3:56 pm)
[PATCH] chipsfb: uses/depends on PCI
, Randy Dunlap
, (Wed Nov 7, 5:15 pm)
Re: mm snapshot broken-out-2007-11-06-02-32 build failure in...
, Kamalesh Babulal
, (Wed Nov 7, 2:37 pm)
Re: mm snapshot broken-out-2007-11-06-02-32 build failure in...
, Greg KH
, (Wed Nov 7, 4:39 pm)
Re: mm snapshot broken-out-2007-11-06-02-32 - ACPI functions...
, Kamalesh Babulal
, (Tue Nov 6, 5:40 pm)
Re: mm snapshot broken-out-2007-11-06-02-32 - ACPI functions...
, Jean Delvare
, (Wed Nov 7, 8:29 am)
Re: mm snapshot broken-out-2007-11-06-02-32 - ACPI functions...
, Kamalesh Babulal
, (Wed Nov 7, 1:13 pm)
Re: mm snapshot broken-out-2007-11-06-02-32.tar.gz uploaded
, Badari Pulavarty
, (Tue Nov 6, 3:32 pm)
Re: mm snapshot broken-out-2007-11-06-02-32.tar.gz uploaded
, Greg KH
, (Tue Nov 6, 5:17 pm)
Re: mm snapshot broken-out-2007-11-06-02-32.tar.gz uploaded
, Gabriel C
, (Tue Nov 6, 4:14 pm)
Re: mm snapshot broken-out-2007-11-06-02-32.tar.gz uploaded
, Andrew Morton
, (Tue Nov 6, 5:40 pm)
Re: mm snapshot broken-out-2007-11-06-02-32.tar.gz uploaded
, Greg KH
, (Tue Nov 6, 5:07 pm)
Re: mm snapshot broken-out-2007-11-06-02-32.tar.gz uploaded
, Serge E. Hallyn
, (Mon Nov 12, 4:17 pm)
Re: mm snapshot broken-out-2007-11-06-02-32.tar.gz uploaded
, Greg KH
, (Fri Nov 16, 4:57 pm)
Re: mm snapshot broken-out-2007-11-06-02-32.tar.gz uploaded
, Andrew Morton
, (Tue Nov 6, 6:15 pm)
Re: mm snapshot broken-out-2007-11-06-02-32.tar.gz uploaded
, Greg KH
, (Tue Nov 6, 5:33 pm)
Re: mm snapshot broken-out-2007-11-06-02-32.tar.gz uploaded
, Andrew Morton
, (Tue Nov 6, 6:41 pm)
Re: mm snapshot broken-out-2007-11-06-02-32.tar.gz uploaded
, Greg KH
, (Tue Nov 6, 5:51 pm)
Re: mm snapshot broken-out-2007-11-06-02-32 - powerpc link f...
, Kamalesh Babulal
, (Tue Nov 6, 2:17 pm)
Re: mm snapshot broken-out-2007-11-06-02-32 - powerpc link f...
, Badari Pulavarty
, (Tue Nov 6, 3:00 pm)
Re: mm snapshot broken-out-2007-11-06-02-32.tar.gz uploaded
, Badari Pulavarty
, (Tue Nov 6, 2:36 pm)
Re: mm snapshot broken-out-2007-11-06-02-32.tar.gz uploaded
, Greg KH
, (Tue Nov 6, 3:46 pm)
[BUG] mm snapshot broken-out-2007-11-06-02-32 - kernel oops
, Kamalesh Babulal
, (Tue Nov 6, 1:27 pm)
[BUG] mm snapshot broken-out-2007-11-06-02-32.tar.gz - soft ...
, Kamalesh Babulal
, (Tue Nov 6, 12:51 pm)
Re: [BUG] mm snapshot broken-out-2007-11-06-02-32.tar.gz - s...
, Balbir Singh
, (Tue Nov 6, 1:16 pm)
Re: mm snapshot broken-out-2007-11-06-02-32.tar.gz uploaded ...
, Kamalesh Babulal
, (Tue Nov 6, 11:34 am)
Re: mm snapshot broken-out-2007-11-06-02-32.tar.gz uploaded ...
, Greg KH
, (Tue Nov 6, 3:39 pm)
Re: mm snapshot broken-out-2007-11-06-02-32.tar.gz uploaded ...
, Greg KH
, (Tue Nov 6, 3:31 pm)
Re: mm snapshot broken-out-2007-11-06-02-32.tar.gz uploaded ...
, Badari Pulavarty
, (Tue Nov 6, 2:19 pm)
Re: mm snapshot broken-out-2007-11-06-02-32.tar.gz uploaded ...
, Greg KH
, (Tue Nov 6, 5:05 pm)
Re: mm snapshot broken-out-2007-11-06-02-32.tar.gz uploaded ...
, Kamalesh Babulal
, (Tue Nov 6, 3:46 pm)
Re: mm snapshot broken-out-2007-11-06-02-32.tar.gz uploaded ...
, Kamalesh Babulal
, (Tue Nov 6, 11:10 am)
Re: mm snapshot broken-out-2007-11-06-02-32.tar.gz uploaded ...
, Andrew Morton
, (Tue Nov 6, 5:10 pm)
Re: mm snapshot broken-out-2007-11-06-02-32.tar.gz uploaded ...
, Greg KH
, (Tue Nov 6, 5:13 pm)
Re: mm snapshot broken-out-2007-11-06-02-32.tar.gz uploaded ...
, Andrew Morton
, (Tue Nov 6, 6:33 pm)
Re: mm snapshot broken-out-2007-11-06-02-32.tar.gz uploaded ...
, Greg KH
, (Tue Nov 6, 5:39 pm)
Re: mm snapshot broken-out-2007-11-06-02-32.tar.gz uploaded ...
, Cornelia Huck
, (Tue Nov 6, 11:29 am)
Re: mm snapshot broken-out-2007-11-06-02-32.tar.gz uploaded ...
, Cornelia Huck
, (Tue Nov 6, 12:42 pm)
Re: mm snapshot broken-out-2007-11-06-02-32.tar.gz uploaded ...
, Kamalesh Babulal
, (Tue Nov 6, 3:58 pm)
Re: mm snapshot broken-out-2007-11-06-02-32.tar.gz uploaded
, Gabriel C
, (Tue Nov 6, 9:51 am)
Re: mm snapshot broken-out-2007-11-06-02-32.tar.gz uploaded ...
, Kamalesh Babulal
, (Tue Nov 6, 8:57 am)
Re: mm snapshot broken-out-2007-11-06-02-32.tar.gz uploaded ...
, Badari Pulavarty
, (Tue Nov 6, 11:56 am)
[-mm patch] fix getblk_slow "integer constant is too large" ...
, Frederik Deweerdt
, (Tue Nov 6, 9:17 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg KH
[patch 01/60] mlock() fix return values
Greg Kroah-Hartman
[PATCH 005/196] Chinese: add translation of SubmittingDrivers
Greg KH
[patch 11/62] KVM: VMX: Add ept_sync_context in flush_tlb
Joe Perches
[PATCH 014/148] include/asm-x86/checksum_32.h: checkpatch cleanups - formatting only
git
:
linux-netdev
:
David Miller
[GIT]: Networking
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Radu Rendec
Endianness problem with u32 classifier hash masks
Evgeniy Polyakov
Re: POHMELFS high performance network filesystem. Transactions, failover, performa...
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
1 user
and
950 guests
online.
Online users
tommyatkitson
Syndicate