diff options
Diffstat (limited to 'include/asm-x86/pda.h')
| -rw-r--r-- | include/asm-x86/pda.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/asm-x86/pda.h b/include/asm-x86/pda.h index 101fb9e11954..b34e9a7cc80b 100644 --- a/include/asm-x86/pda.h +++ b/include/asm-x86/pda.h | |||
| @@ -22,6 +22,8 @@ struct x8664_pda { | |||
| 22 | offset 40!!! */ | 22 | offset 40!!! */ |
| 23 | #endif | 23 | #endif |
| 24 | char *irqstackptr; | 24 | char *irqstackptr; |
| 25 | short nodenumber; /* number of current node (32k max) */ | ||
| 26 | short in_bootmem; /* pda lives in bootmem */ | ||
| 25 | unsigned int __softirq_pending; | 27 | unsigned int __softirq_pending; |
| 26 | unsigned int __nmi_count; /* number of NMI on this CPUs */ | 28 | unsigned int __nmi_count; /* number of NMI on this CPUs */ |
| 27 | short mmu_state; | 29 | short mmu_state; |
| @@ -37,8 +39,7 @@ struct x8664_pda { | |||
| 37 | unsigned irq_spurious_count; | 39 | unsigned irq_spurious_count; |
| 38 | } ____cacheline_aligned_in_smp; | 40 | } ____cacheline_aligned_in_smp; |
| 39 | 41 | ||
| 40 | extern struct x8664_pda *_cpu_pda[]; | 42 | extern struct x8664_pda **_cpu_pda; |
| 41 | extern struct x8664_pda boot_cpu_pda[]; | ||
| 42 | extern void pda_init(int); | 43 | extern void pda_init(int); |
| 43 | 44 | ||
| 44 | #define cpu_pda(i) (_cpu_pda[i]) | 45 | #define cpu_pda(i) (_cpu_pda[i]) |
