From: Arjan van de Ven Date: Sat, 25 Mar 2006 15:31:01 +0000 (+0100) Subject: [PATCH] x86_64: Reorder one field of the PDA to reduce padding X-Git-Tag: v2.6.17-rc1~688 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=df92004ce60a0bb60c8315903c0765873c34a702;p=linux-2.6-omap-h63xx.git [PATCH] x86_64: Reorder one field of the PDA to reduce padding This reorders the mmu_state int in the pda, such that there is no more padding (there currently is 4 bytes of padding). Boot tested. Signed-off-by: Arjan van de Ven Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds --- diff --git a/include/asm-x86_64/pda.h b/include/asm-x86_64/pda.h index c7ab38a601a..b47c3df9ed1 100644 --- a/include/asm-x86_64/pda.h +++ b/include/asm-x86_64/pda.h @@ -22,8 +22,8 @@ struct x8664_pda { int nodenumber; /* number of current node */ unsigned int __softirq_pending; unsigned int __nmi_count; /* number of NMI on this CPUs */ - struct mm_struct *active_mm; int mmu_state; + struct mm_struct *active_mm; unsigned apic_timer_irqs; } ____cacheline_aligned_in_smp;