Skip to content

Commit

Permalink
x86, um: get rid of uml signal.h
Browse files Browse the repository at this point in the history
the only theoretical reason for it these days is ppc; aside of uml/ppc
being dead, do_signal() would be happier in arch/powerpc/kernel/signal.h
anyway.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
  • Loading branch information
Al Viro authored and H. Peter Anvin committed Oct 23, 2008
1 parent 3be311e commit 2e07400
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 30 deletions.
1 change: 0 additions & 1 deletion arch/powerpc/include/asm/signal.h
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,6 @@ typedef struct sigaltstack {

#ifdef __KERNEL__
struct pt_regs;
extern void do_signal(struct pt_regs *regs, unsigned long thread_info_flags);
#define ptrace_signal_deliver(regs, cookie) do { } while (0)
#endif /* __KERNEL__ */

Expand Down
2 changes: 2 additions & 0 deletions arch/powerpc/kernel/signal.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@

#define _BLOCKABLE (~(sigmask(SIGKILL) | sigmask(SIGSTOP)))

extern void do_signal(struct pt_regs *regs, unsigned long thread_info_flags);

extern void __user * get_sigframe(struct k_sigaction *ka, struct pt_regs *regs,
size_t frame_size);
extern void restore_sigmask(sigset_t *set);
Expand Down
29 changes: 0 additions & 29 deletions arch/um/include/asm/signal.h

This file was deleted.

0 comments on commit 2e07400

Please sign in to comment.