Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 120923
b: refs/heads/master
c: cabf503
h: refs/heads/master
i:
  120921: c84139b
  120919: e93fdbf
v: v3
  • Loading branch information
Hiroshi Shimamoto authored and Ingo Molnar committed Oct 30, 2008
1 parent 5100b9a commit 85ed3bc
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 96bf84b71255b0ee4fcee91e9acd1b5e73030eaf
refs/heads/master: cabf503588961d202a33b3fd872767e9f6abbef7
12 changes: 12 additions & 0 deletions trunk/arch/x86/kernel/signal_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -512,10 +512,22 @@ static int signr_convert(int sig)
return sig;
}

#ifdef CONFIG_X86_32

#define is_ia32 1
#define ia32_setup_frame __setup_frame
#define ia32_setup_rt_frame __setup_rt_frame

#else /* !CONFIG_X86_32 */

#ifdef CONFIG_IA32_EMULATION
#define is_ia32 test_thread_flag(TIF_IA32)
#else /* !CONFIG_IA32_EMULATION */
#define is_ia32 0
#endif /* CONFIG_IA32_EMULATION */

#endif /* CONFIG_X86_32 */

static int
setup_rt_frame(int sig, struct k_sigaction *ka, siginfo_t *info,
sigset_t *set, struct pt_regs *regs)
Expand Down
14 changes: 12 additions & 2 deletions trunk/arch/x86/kernel/signal_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -304,11 +304,21 @@ static int signr_convert(int sig)
return sig;
}

#ifdef CONFIG_X86_32

#define is_ia32 1
#define ia32_setup_frame __setup_frame
#define ia32_setup_rt_frame __setup_rt_frame

#else /* !CONFIG_X86_32 */

#ifdef CONFIG_IA32_EMULATION
#define is_ia32 test_thread_flag(TIF_IA32)
#else
#else /* !CONFIG_IA32_EMULATION */
#define is_ia32 0
#endif
#endif /* CONFIG_IA32_EMULATION */

#endif /* CONFIG_X86_32 */

static int
setup_rt_frame(int sig, struct k_sigaction *ka, siginfo_t *info,
Expand Down

0 comments on commit 85ed3bc

Please sign in to comment.