]> err.no Git - linux-2.6/blobdiff - include/asm-x86_64/pda.h
[ARM] 3443/1: [S3C2410] Improve IRQ entry code
[linux-2.6] / include / asm-x86_64 / pda.h
index dc33d28a72dd334444a70cc2275f0da641f8de51..b47c3df9ed1dd72d792ceca2e6f8f5d6338b7556 100644 (file)
@@ -22,14 +22,15 @@ 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;
 
-extern struct x8664_pda _cpu_pda[];
+extern struct x8664_pda *_cpu_pda[];
+extern struct x8664_pda boot_cpu_pda[];
 
-#define cpu_pda(i) (&_cpu_pda[i])
+#define cpu_pda(i) (_cpu_pda[i])
 
 /* 
  * There is no fast way to get the base address of the PDA, all the accesses