Browse Source

[PATCH] x86-64: Don't cache align PDA on UP builds

Suggested by someone I forgot who sorry.

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Andi Kleen 19 years ago
parent
commit
b91691164b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      include/asm-x86_64/pda.h

+ 1 - 1
include/asm-x86_64/pda.h

@@ -22,7 +22,7 @@ struct x8664_pda {
 	struct mm_struct *active_mm;
 	struct mm_struct *active_mm;
 	int mmu_state;     
 	int mmu_state;     
 	unsigned apic_timer_irqs;
 	unsigned apic_timer_irqs;
-} ____cacheline_aligned;
+} ____cacheline_aligned_in_smp;
 
 
 
 
 #define IRQSTACK_ORDER 2
 #define IRQSTACK_ORDER 2