[PATCH] fix OOM killing of swapoff
[linux-2.6.22.y-op.git] / include / asm-m32r / sigcontext.h
blob62537dc4dec903cd3f9cfdc1cb08f578df8c24c0
1 #ifndef _ASM_M32R_SIGCONTEXT_H
2 #define _ASM_M32R_SIGCONTEXT_H
4 /* $Id$ */
7 struct sigcontext {
8 /* CPU registers */
9 /* Saved main processor registers. */
10 unsigned long sc_r4;
11 unsigned long sc_r5;
12 unsigned long sc_r6;
13 struct pt_regs *sc_pt_regs;
14 unsigned long sc_r0;
15 unsigned long sc_r1;
16 unsigned long sc_r2;
17 unsigned long sc_r3;
18 unsigned long sc_r7;
19 unsigned long sc_r8;
20 unsigned long sc_r9;
21 unsigned long sc_r10;
22 unsigned long sc_r11;
23 unsigned long sc_r12;
25 /* Saved main processor status and miscellaneous context registers. */
26 unsigned long sc_acc0h;
27 unsigned long sc_acc0l;
28 unsigned long sc_acc1h; /* ISA_DSP_LEVEL2 only */
29 unsigned long sc_acc1l; /* ISA_DSP_LEVEL2 only */
30 unsigned long sc_psw;
31 unsigned long sc_bpc; /* saved PC for TRAP syscalls */
32 unsigned long sc_bbpsw;
33 unsigned long sc_bbpc;
34 unsigned long sc_spu; /* saved user stack */
35 unsigned long sc_fp;
36 unsigned long sc_lr; /* saved PC for JL syscalls */
37 unsigned long sc_spi; /* saved kernel stack */
39 unsigned long oldmask;
42 #endif /* _ASM_M32R_SIGCONTEXT_H */