lkml.org 
[lkml]   [2008]   [Mar]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [PATCH 0/79] smpboot integration

the small fix below was needed - it is possible to build ACPI on 32-bit
with APIC support disabled. Otherwise it's looking good in my testing.

Ingo

-----------------
Subject: x86: smp unify2 include mach apic h in smpboot 64 c and smpboot c fix
From: Ingo Molnar <mingo@elte.hu>
Date: Wed Mar 19 19:25:58 CET 2008

Signed-off-by: Ingo Molnar <mingo@elte.hu>
---
arch/x86/kernel/acpi/boot.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)

Index: linux-x86.q/arch/x86/kernel/acpi/boot.c
===================================================================
--- linux-x86.q.orig/arch/x86/kernel/acpi/boot.c
+++ linux-x86.q/arch/x86/kernel/acpi/boot.c
@@ -40,7 +40,9 @@
#include <asm/io.h>
#include <asm/mpspec.h>

-#include <mach_apic.h>
+#ifdef CONFIG_X86_LOCAL_APIC
+# include <mach_apic.h>
+#endif

static int __initdata acpi_force = 0;


\
 
 \ /
  Last update: 2008-03-19 23:47    [W:1.537 / U:0.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site