[lkml]   [2006]   [Nov]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Patch in this message
    Subject[patch 05/19] ACPI: Include apic.h
    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 <linux/sched.h> /* need_resched() */
    #include <linux/latency.h>

    + * 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 <asm/apic.h>
    #include <asm/io.h>
    #include <asm/uaccess.h>


    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2006-11-10 00:49    [W:0.021 / U:39.132 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site