[Patch 7 of 8] Finish PDA offset annotations

From: Arjan van de Ven
Date: Fri Mar 17 2006 - 11:17:01 EST


Finish annotating the PDA members with offsets

Signed-off-by: Arjan van de Ven <arjan@xxxxxxxxxxxxxxx>
---
include/asm-x86_64/pda.h | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)

Index: linux-2.6.16-rc6-stack-protector/include/asm-x86_64/pda.h
===================================================================
--- linux-2.6.16-rc6-stack-protector.orig/include/asm-x86_64/pda.h
+++ linux-2.6.16-rc6-stack-protector/include/asm-x86_64/pda.h
@@ -19,14 +19,14 @@ struct x8664_pda {
/* Note: this canary MUST be at offset 40!!! */
#endif
int irqcount; /* 48 */ /* Irq nesting counter. Starts with -1 */
- int cpunumber; /* Logical CPU number */
- char *irqstackptr; /* top of irqstack */
- int nodenumber; /* number of current node */
- unsigned int __softirq_pending;
- unsigned int __nmi_count; /* number of NMI on this CPUs */
- int mmu_state;
- struct mm_struct *active_mm;
- unsigned apic_timer_irqs;
+ int cpunumber; /* 52 */ /* Logical CPU number */
+ char *irqstackptr; /* 56 */ /* top of irqstack */
+ int nodenumber; /* 64 */ /* number of current node */
+ unsigned int __softirq_pending; /* 68 */
+ unsigned int __nmi_count; /* 72 */ /* number of NMI on this CPUs */
+ int mmu_state; /* 76 */
+ struct mm_struct *active_mm; /* 80 */
+ unsigned apic_timer_irqs; /* 88 */
} ____cacheline_aligned_in_smp;

extern struct x8664_pda *_cpu_pda[];

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/