From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1424278AbWKIXow (ORCPT ); Thu, 9 Nov 2006 18:44:52 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1424250AbWKIXoi (ORCPT ); Thu, 9 Nov 2006 18:44:38 -0500 Received: from www.osadl.org ([213.239.205.134]:55452 "EHLO mail.tglx.de") by vger.kernel.org with ESMTP id S1161864AbWKIXjG (ORCPT ); Thu, 9 Nov 2006 18:39:06 -0500 Message-Id: <20061109233034.641665000@cruncher.tec.linutronix.de> References: <20061109233030.915859000@cruncher.tec.linutronix.de> Date: Thu, 09 Nov 2006 23:38:22 -0000 From: Thomas Gleixner To: Andrew Morton Cc: LKML , Ingo Molnar , Len Brown , John Stultz , Arjan van de Ven , Andi Kleen , Roman Zippel Subject: [patch 05/19] ACPI: Include apic.h Content-Disposition: inline; filename=acpi-include-apic-h.patch Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org From: Thomas Gleixner apic.h does not get included on UP compiles. That way the APICTIMER_STOPS_ON_C3 is not there and UP boxen have no support for timer broadcasting. This was never noticed, because the lapic timer is only used for profiling on UP. Signed-off-by: Thomas Gleixner Signed-off-by: Ingo Molnar Index: linux-2.6.19-rc5-mm1/drivers/acpi/processor_idle.c =================================================================== --- linux-2.6.19-rc5-mm1.orig/drivers/acpi/processor_idle.c 2006-11-09 17:47:58.000000000 +0100 +++ linux-2.6.19-rc5-mm1/drivers/acpi/processor_idle.c 2006-11-09 20:20:06.000000000 +0100 @@ -40,6 +40,16 @@ #include /* need_resched() */ #include +/* + * Include the apic definitions for x86 to have the APIC timer related defines + * available also for UP (on SMP it gets magically included via linux/smp.h). + * asm/acpi.h is not an option, as it would require more include magic. Also + * creating an empty asm-ia64/apic.h would just trade pest vs. cholera. + */ +#ifdef CONFIG_X86 +#include +#endif + #include #include --