Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 138489
b: refs/heads/master
c: a465f9b
h: refs/heads/master
i:
  138487: 4d12764
v: v3
  • Loading branch information
Anton Blanchard authored and Benjamin Herrenschmidt committed Feb 23, 2009
1 parent 754c3fb commit 3f7ff8d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 11 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: 4c4ece3cf8391e842f2c67a4760885e0acb3a461
refs/heads/master: a465f9b694bcfa4957d06751c0274ded49421c82
7 changes: 7 additions & 0 deletions trunk/arch/powerpc/include/asm/thread_info.h
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,13 @@ static inline void set_restore_sigmask(void)
ti->local_flags |= _TLF_RESTORE_SIGMASK;
set_bit(TIF_SIGPENDING, &ti->flags);
}

#ifdef CONFIG_PPC64
#define is_32bit_task() (test_thread_flag(TIF_32BIT))
#else
#define is_32bit_task() (1)
#endif

#endif /* !__ASSEMBLY__ */

#endif /* __KERNEL__ */
Expand Down
10 changes: 0 additions & 10 deletions trunk/arch/powerpc/kernel/signal.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,22 +39,12 @@ extern unsigned long copy_vsx_from_user(struct task_struct *task,

#ifdef CONFIG_PPC64

static inline int is_32bit_task(void)
{
return test_thread_flag(TIF_32BIT);
}

extern int handle_rt_signal64(int signr, struct k_sigaction *ka,
siginfo_t *info, sigset_t *set,
struct pt_regs *regs);

#else /* CONFIG_PPC64 */

static inline int is_32bit_task(void)
{
return 1;
}

static inline int handle_rt_signal64(int signr, struct k_sigaction *ka,
siginfo_t *info, sigset_t *set,
struct pt_regs *regs)
Expand Down

0 comments on commit 3f7ff8d

Please sign in to comment.