Skip to content

Commit

Permalink
[PATCH] x86: make using_apic_timer __read_mostly
Browse files Browse the repository at this point in the history
Signed-off-by: Andreas Mohr <andi@lisas.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Andreas Mohr authored and Linus Torvalds committed Jun 23, 2006
1 parent 2152845 commit acae9d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion arch/i386/kernel/apic.c
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ void __init apic_intr_init(void)
}

/* Using APIC to generate smp_local_timer_interrupt? */
int using_apic_timer = 0;
int using_apic_timer __read_mostly = 0;

static int enabled_via_apicbase;

Expand Down
2 changes: 1 addition & 1 deletion arch/x86_64/kernel/apic.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ int disable_apic_timer __initdata;
static cpumask_t timer_interrupt_broadcast_ipi_mask;

/* Using APIC to generate smp_local_timer_interrupt? */
int using_apic_timer = 0;
int using_apic_timer __read_mostly = 0;

static void apic_pm_activate(void);

Expand Down

0 comments on commit acae9d3

Please sign in to comment.