public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* Re: 2.6.12-rc4-mm2
       [not found] ` <20050516021302.13bd285a.akpm-3NddpPZAyC0@public.gmane.org>
@ 2005-05-18 20:26   ` Alexander Nyberg
       [not found]     ` <1116447964.23209.26.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Alexander Nyberg @ 2005-05-18 20:26 UTC (permalink / raw)
  To: Andrew Morton
  Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA

mån 2005-05-16 klockan 02:13 -0700 skrev Andrew Morton:
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.12-rc4/2.6.12-rc4-mm2/
> 
> 
> - davem has set up a mm-commits mailing list so people can review things
>   which are added to or removed from the -mm tree.  Do
> 
> 	echo subscribe mm-commits | mail majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
> 
> - x86_64 architecture update from Andi.
> 
> - Everything up to and including `spurious-interrupt-fix.patch' is planned
>   for 2.6.12 merging.  Plus a few other things in there.
> 
> - Another DVB subsystem update
> 

I need this to be able to compile on x64 without CONFIG_ACPI (yeah it's
probably wrong all the way, but can someone that knows acpi fix it
please?). Tested on i386 & x64 w & w/o CONFIG_ACPI.


Index: kexec/include/linux/acpi.h
===================================================================
--- kexec.orig/include/linux/acpi.h	2005-05-18 22:04:11.000000000 +0200
+++ kexec/include/linux/acpi.h	2005-05-18 22:13:13.000000000 +0200
@@ -25,8 +25,6 @@
 #ifndef _LINUX_ACPI_H
 #define _LINUX_ACPI_H
 
-#ifdef CONFIG_ACPI
-
 #ifndef _LINUX
 #define _LINUX
 #endif
@@ -419,6 +417,8 @@
 
 #else	/*!CONFIG_ACPI_BOOT*/
 
+static inline int acpi_boot_init (void) { return 0; }
+static inline int acpi_boot_table_init (void) { return 0; }
 #define acpi_mp_config	0
 
 #endif 	/*!CONFIG_ACPI_BOOT*/
@@ -531,18 +531,4 @@
 
 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 */




-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_idt12&alloc_id\x16344&op=click

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: 2.6.12-rc4-mm2
       [not found]     ` <1116447964.23209.26.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
@ 2005-05-24  8:45       ` Andrew Morton
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Morton @ 2005-05-24  8:45 UTC (permalink / raw)
  To: Alexander Nyberg; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Alexander Nyberg <alexn-auIyqT/O9BSzQB+pC5nmwQ@public.gmane.org> wrote:
>
> mån 2005-05-16 klockan 02:13 -0700 skrev Andrew Morton:
> > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.12-rc4/2.6.12-rc4-mm2/
> > 
> > 
> > - davem has set up a mm-commits mailing list so people can review things
> >   which are added to or removed from the -mm tree.  Do
> > 
> > 	echo subscribe mm-commits | mail majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
> > 
> > - x86_64 architecture update from Andi.
> > 
> > - Everything up to and including `spurious-interrupt-fix.patch' is planned
> >   for 2.6.12 merging.  Plus a few other things in there.
> > 
> > - Another DVB subsystem update
> > 
> 
> I need this to be able to compile on x64 without CONFIG_ACPI (yeah it's
> probably wrong all the way, but can someone that knows acpi fix it
> please?). Tested on i386 & x64 w & w/o CONFIG_ACPI.
> 

This breaks the build on ppc64 - pci/quirks.c includes acpi.h which now
wants asm/acpi.h which doesn't exist.

So I'll drop it.  Wanna take another look at the problem?

> Index: kexec/include/linux/acpi.h
> ===================================================================
> --- kexec.orig/include/linux/acpi.h	2005-05-18 22:04:11.000000000 +0200
> +++ kexec/include/linux/acpi.h	2005-05-18 22:13:13.000000000 +0200
> @@ -25,8 +25,6 @@
>  #ifndef _LINUX_ACPI_H
>  #define _LINUX_ACPI_H
>  
> -#ifdef CONFIG_ACPI
> -
>  #ifndef _LINUX
>  #define _LINUX
>  #endif
> @@ -419,6 +417,8 @@
>  
>  #else	/*!CONFIG_ACPI_BOOT*/
>  
> +static inline int acpi_boot_init (void) { return 0; }
> +static inline int acpi_boot_table_init (void) { return 0; }
>  #define acpi_mp_config	0
>  
>  #endif 	/*!CONFIG_ACPI_BOOT*/
> @@ -531,18 +531,4 @@
>  
>  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 */
> 


-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_idt12&alloc_id\x16344&op=click

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-05-24  8:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20050516021302.13bd285a.akpm@osdl.org>
     [not found] ` <20050516021302.13bd285a.akpm-3NddpPZAyC0@public.gmane.org>
2005-05-18 20:26   ` 2.6.12-rc4-mm2 Alexander Nyberg
     [not found]     ` <1116447964.23209.26.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2005-05-24  8:45       ` 2.6.12-rc4-mm2 Andrew Morton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox