diff options
Diffstat (limited to 'arch/mips/kernel/signal_n32.c')
-rw-r--r-- | arch/mips/kernel/signal_n32.c | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/arch/mips/kernel/signal_n32.c b/arch/mips/kernel/signal_n32.c index b28646b3ceae..192073ee098f 100644 --- a/arch/mips/kernel/signal_n32.c +++ b/arch/mips/kernel/signal_n32.c | |||
@@ -66,20 +66,27 @@ struct ucontextn32 { | |||
66 | sigset_t uc_sigmask; /* mask last for extensibility */ | 66 | sigset_t uc_sigmask; /* mask last for extensibility */ |
67 | }; | 67 | }; |
68 | 68 | ||
69 | #if ICACHE_REFILLS_WORKAROUND_WAR == 0 | ||
70 | |||
69 | struct rt_sigframe_n32 { | 71 | struct rt_sigframe_n32 { |
70 | u32 rs_ass[4]; /* argument save space for o32 */ | 72 | u32 rs_ass[4]; /* argument save space for o32 */ |
71 | #if ICACHE_REFILLS_WORKAROUND_WAR | ||
72 | u32 rs_pad[2]; | ||
73 | #else | ||
74 | u32 rs_code[2]; /* signal trampoline */ | 73 | u32 rs_code[2]; /* signal trampoline */ |
75 | #endif | ||
76 | struct siginfo rs_info; | 74 | struct siginfo rs_info; |
77 | struct ucontextn32 rs_uc; | 75 | struct ucontextn32 rs_uc; |
78 | #if ICACHE_REFILLS_WORKAROUND_WAR | 76 | }; |
77 | |||
78 | #else /* ICACHE_REFILLS_WORKAROUND_WAR */ | ||
79 | |||
80 | struct rt_sigframe_n32 { | ||
81 | u32 rs_ass[4]; /* argument save space for o32 */ | ||
82 | u32 rs_pad[2]; | ||
83 | struct siginfo rs_info; | ||
84 | struct ucontextn32 rs_uc; | ||
79 | u32 rs_code[8] ____cacheline_aligned; /* signal trampoline */ | 85 | u32 rs_code[8] ____cacheline_aligned; /* signal trampoline */ |
80 | #endif | ||
81 | }; | 86 | }; |
82 | 87 | ||
88 | #endif /* !ICACHE_REFILLS_WORKAROUND_WAR */ | ||
89 | |||
83 | extern void sigset_from_compat (sigset_t *set, compat_sigset_t *compat); | 90 | extern void sigset_from_compat (sigset_t *set, compat_sigset_t *compat); |
84 | 91 | ||
85 | save_static_function(sysn32_rt_sigsuspend); | 92 | save_static_function(sysn32_rt_sigsuspend); |