linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Build Broken for 2.6.0-test3-bk8
@ 2003-08-20 20:22 Emilio Jesús Gallego Arias
  2003-08-20 22:40 ` Alex Goddard
  0 siblings, 1 reply; 2+ messages in thread
From: Emilio Jesús Gallego Arias @ 2003-08-20 20:22 UTC (permalink / raw)
  To: agoddard; +Cc: linux-kernel

I got the same error, and applied this patch. Don't know if it's the way
to go:

# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or
higher.
# This patch includes the following deltas:
#                  ChangeSet    1.1279  -> 1.1280
#       arch/i386/kernel/setup.c        1.92    -> 1.93
#       arch/i386/kernel/acpi/boot.c    1.27    -> 1.28
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 03/08/20      emilio@ellugar.(none)   1.1280
# - Fix build error due a missing include.
# --------------------------------------------
#
diff -Nru a/arch/i386/kernel/acpi/boot.c b/arch/i386/kernel/acpi/boot.c
--- a/arch/i386/kernel/acpi/boot.c      Wed Aug 20 22:18:04 2003
+++ b/arch/i386/kernel/acpi/boot.c      Wed Aug 20 22:18:04 2003
@@ -34,6 +34,7 @@
 #if defined (CONFIG_X86_LOCAL_APIC)
 #include <mach_apic.h>
 #include <mach_mpparse.h>
+#include <asm/io_apic.h>
 #endif
  
 #define PREFIX                 "ACPI: "
diff -Nru a/arch/i386/kernel/setup.c b/arch/i386/kernel/setup.c
--- a/arch/i386/kernel/setup.c  Wed Aug 20 22:18:04 2003
+++ b/arch/i386/kernel/setup.c  Wed Aug 20 22:18:04 2003
@@ -43,6 +43,7 @@
 #include <asm/setup.h>
 #include <asm/arch_hooks.h>
 #include <asm/sections.h>
+#include <asm/io_apic.h>
 #include "setup_arch_pre.h"
 #include "mach_resources.h"



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

* Re: [PATCH] Build Broken for 2.6.0-test3-bk8
  2003-08-20 20:22 [PATCH] Build Broken for 2.6.0-test3-bk8 Emilio Jesús Gallego Arias
@ 2003-08-20 22:40 ` Alex Goddard
  0 siblings, 0 replies; 2+ messages in thread
From: Alex Goddard @ 2003-08-20 22:40 UTC (permalink / raw)
  To: Emilio Jesús Gallego Arias; +Cc: linux-kernel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: TEXT/PLAIN; charset=X-UNKNOWN, Size: 1959 bytes --]

On Wed, 20 Aug 2003, Emilio [ISO-8859-1] Jesús Gallego Arias wrote:

> I got the same error, and applied this patch. Don't know if it's the way
> to go:
> 
> # This is a BitKeeper generated patch for the following project:
> # Project Name: Linux kernel tree
> # This patch format is intended for GNU patch command version 2.5 or
> higher.
> # This patch includes the following deltas:
> #                  ChangeSet    1.1279  -> 1.1280
> #       arch/i386/kernel/setup.c        1.92    -> 1.93
> #       arch/i386/kernel/acpi/boot.c    1.27    -> 1.28
> #
> # The following is the BitKeeper ChangeSet Log
> # --------------------------------------------
> # 03/08/20      emilio@ellugar.(none)   1.1280
> # - Fix build error due a missing include.
> # --------------------------------------------
> #
> diff -Nru a/arch/i386/kernel/acpi/boot.c b/arch/i386/kernel/acpi/boot.c
> --- a/arch/i386/kernel/acpi/boot.c      Wed Aug 20 22:18:04 2003
> +++ b/arch/i386/kernel/acpi/boot.c      Wed Aug 20 22:18:04 2003
> @@ -34,6 +34,7 @@
>  #if defined (CONFIG_X86_LOCAL_APIC)
>  #include <mach_apic.h>
>  #include <mach_mpparse.h>
> +#include <asm/io_apic.h>
>  #endif
>   
>  #define PREFIX                 "ACPI: "
> diff -Nru a/arch/i386/kernel/setup.c b/arch/i386/kernel/setup.c
> --- a/arch/i386/kernel/setup.c  Wed Aug 20 22:18:04 2003
> +++ b/arch/i386/kernel/setup.c  Wed Aug 20 22:18:04 2003
> @@ -43,6 +43,7 @@
>  #include <asm/setup.h>
>  #include <asm/arch_hooks.h>
>  #include <asm/sections.h>
> +#include <asm/io_apic.h>
>  #include "setup_arch_pre.h"
>  #include "mach_resources.h"

I'd already tried this (see my second post to the other thread).  This
only works if you've got APIC enabled.  I don't feel like mucking around
in the library and moving the extern int skip_ioapic_setup out of the
proper ifdef (which is I think what's going on.  That variable gets
ifdef'd out without APIC enabled, I think).

-- 
Alex Goddard
agoddard at purdue.edu

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

end of thread, other threads:[~2003-08-20 22:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-20 20:22 [PATCH] Build Broken for 2.6.0-test3-bk8 Emilio Jesús Gallego Arias
2003-08-20 22:40 ` Alex Goddard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).