Explorar o código

[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 %!s(int64=20) %!d(string=hai) anos
pai
achega
b91691164b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;
 	int mmu_state;     
 	unsigned apic_timer_irqs;
-} ____cacheline_aligned;
+} ____cacheline_aligned_in_smp;
 
 
 #define IRQSTACK_ORDER 2