Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 998
b: refs/heads/master
c: 51a6b0c
h: refs/heads/master
v: v3
  • Loading branch information
Bodo Stroesser authored and Linus Torvalds committed May 5, 2005
1 parent 73ebcd1 commit c66427b
Show file tree
Hide file tree
Showing 4 changed files with 7 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: 5fd861b682785f650114f4df53060d1be7fedecd
refs/heads/master: 51a6b0c59a6170fc6a40221ef9b261b82856d315
2 changes: 2 additions & 0 deletions trunk/arch/um/include/sysdep-i386/signal.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@

#include <signal.h>

#define ARCH_SIGHDLR_PARAM int sig

#define ARCH_GET_SIGCONTEXT(sc, sig) \
do sc = (struct sigcontext *) (&sig + 1); while(0)

Expand Down
2 changes: 2 additions & 0 deletions trunk/arch/um/include/sysdep-x86_64/signal.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
#ifndef __X86_64_SIGNAL_H_
#define __X86_64_SIGNAL_H_

#define ARCH_SIGHDLR_PARAM int sig

#define ARCH_GET_SIGCONTEXT(sc, sig_addr) \
do { \
struct ucontext *__uc; \
Expand Down
4 changes: 2 additions & 2 deletions trunk/arch/um/os-Linux/signal.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#include "mode.h"
#include "sysdep/signal.h"

void sig_handler(int sig)
void sig_handler(ARCH_SIGHDLR_PARAM)
{
struct sigcontext *sc;

Expand All @@ -19,7 +19,7 @@ void sig_handler(int sig)

extern int timer_irq_inited;

void alarm_handler(int sig)
void alarm_handler(ARCH_SIGHDLR_PARAM)
{
struct sigcontext *sc;

Expand Down

0 comments on commit c66427b

Please sign in to comment.