aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86_64/kernel/asm-offsets.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86_64/kernel/asm-offsets.c')
-rw-r--r--arch/x86_64/kernel/asm-offsets.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/x86_64/kernel/asm-offsets.c b/arch/x86_64/kernel/asm-offsets.c
index aaa6d383351..38834bbbae1 100644
--- a/arch/x86_64/kernel/asm-offsets.c
+++ b/arch/x86_64/kernel/asm-offsets.c
@@ -33,6 +33,7 @@ int main(void)
33 ENTRY(flags); 33 ENTRY(flags);
34 ENTRY(addr_limit); 34 ENTRY(addr_limit);
35 ENTRY(preempt_count); 35 ENTRY(preempt_count);
36 ENTRY(status);
36 BLANK(); 37 BLANK();
37#undef ENTRY 38#undef ENTRY
38#define ENTRY(entry) DEFINE(pda_ ## entry, offsetof(struct x8664_pda, entry)) 39#define ENTRY(entry) DEFINE(pda_ ## entry, offsetof(struct x8664_pda, entry))
@@ -42,6 +43,7 @@ int main(void)
42 ENTRY(irqcount); 43 ENTRY(irqcount);
43 ENTRY(cpunumber); 44 ENTRY(cpunumber);
44 ENTRY(irqstackptr); 45 ENTRY(irqstackptr);
46 ENTRY(data_offset);
45 BLANK(); 47 BLANK();
46#undef ENTRY 48#undef ENTRY
47#ifdef CONFIG_IA32_EMULATION 49#ifdef CONFIG_IA32_EMULATION
@@ -64,5 +66,7 @@ int main(void)
64 DEFINE(pbe_address, offsetof(struct pbe, address)); 66 DEFINE(pbe_address, offsetof(struct pbe, address));
65 DEFINE(pbe_orig_address, offsetof(struct pbe, orig_address)); 67 DEFINE(pbe_orig_address, offsetof(struct pbe, orig_address));
66 DEFINE(pbe_next, offsetof(struct pbe, next)); 68 DEFINE(pbe_next, offsetof(struct pbe, next));
69 BLANK();
70 DEFINE(TSS_ist, offsetof(struct tss_struct, ist));
67 return 0; 71 return 0;
68} 72}