Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 83215
b: refs/heads/master
c: 3a24ebf
h: refs/heads/master
i:
  83213: 2280b95
  83211: 2b210b5
  83207: ee9bb4d
  83199: c9fbca1
v: v3
  • Loading branch information
Jeff Dike authored and Linus Torvalds committed Feb 5, 2008
1 parent 64162dc commit 096b1bf
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 14 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: cfef8f34e7cf57f3d278ceda79c85112dec13dc6
refs/heads/master: 3a24ebf0cb2ca44fdcdb5cae9ed2e778e5170f97
1 change: 0 additions & 1 deletion trunk/arch/um/include/os.h
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,6 @@ extern void os_free_irq_later(struct irq_fd *active_fds,
extern int os_get_pollfd(int i);
extern void os_set_pollfd(int i, int fd);
extern void os_set_ioignore(void);
extern void init_irq_signals(int on_sigstack);

/* sigio.c */
extern int add_sigio_fd(int fd);
Expand Down
11 changes: 0 additions & 11 deletions trunk/arch/um/os-Linux/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -136,14 +136,3 @@ void os_set_ioignore(void)
{
signal(SIGIO, SIG_IGN);
}

void init_irq_signals(int on_sigstack)
{
int flags;

flags = on_sigstack ? SA_ONSTACK : 0;

set_handler(SIGIO, (__sighandler_t) sig_handler, flags | SA_RESTART,
SIGUSR1, SIGIO, SIGWINCH, SIGVTALRM, -1);
signal(SIGWINCH, SIG_IGN);
}
5 changes: 4 additions & 1 deletion trunk/arch/um/os-Linux/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,10 @@ void init_new_thread_signals(void)
SIGUSR1, SIGIO, SIGWINCH, SIGVTALRM, -1);
signal(SIGHUP, SIG_IGN);

init_irq_signals(1);
set_handler(SIGIO, (__sighandler_t) sig_handler,
SA_ONSTACK | SA_RESTART, SIGUSR1, SIGIO, SIGWINCH, SIGALRM,
SIGVTALRM, -1);
signal(SIGWINCH, SIG_IGN);
}

int run_kernel_thread(int (*fn)(void *), void *arg, jmp_buf **jmp_ptr)
Expand Down

0 comments on commit 096b1bf

Please sign in to comment.