x86: Adjust section placement in AMD northbridge related code
[linux/fpc-iii.git] / arch / x86 / include / asm / suspend_32.h
blobfd921c3a68414e341fe8fffa8b1df1326eba2ba7
1 /*
2 * Copyright 2001-2002 Pavel Machek <pavel@suse.cz>
3 * Based on code
4 * Copyright 2001 Patrick Mochel <mochel@osdl.org>
5 */
6 #ifndef _ASM_X86_SUSPEND_32_H
7 #define _ASM_X86_SUSPEND_32_H
9 #include <asm/desc.h>
10 #include <asm/i387.h>
12 static inline int arch_prepare_suspend(void) { return 0; }
14 /* image of the saved processor state */
15 struct saved_context {
16 u16 es, fs, gs, ss;
17 unsigned long cr0, cr2, cr3, cr4;
18 u64 misc_enable;
19 bool misc_enable_saved;
20 struct desc_ptr gdt;
21 struct desc_ptr idt;
22 u16 ldt;
23 u16 tss;
24 unsigned long tr;
25 unsigned long safety;
26 unsigned long return_address;
27 } __attribute__((packed));
29 #endif /* _ASM_X86_SUSPEND_32_H */