提交 b9169116 编写于 作者: A Andi Kleen 提交者: Linus Torvalds

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

Suggested by someone I forgot who sorry.
Signed-off-by: NAndi Kleen <ak@suse.de>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 8675b1a4
...@@ -22,7 +22,7 @@ struct x8664_pda { ...@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册