From b7c8cbabf9d616c4ecb1d20e0f52541efcfdd61f Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Sat, 13 Apr 2002 23:37:10 +0000 Subject: [PATCH] Add comment that sigreturn() is MPSAFE. --- sys/alpha/alpha/machdep.c | 3 +++ sys/ia64/ia64/machdep.c | 2 ++ 2 files changed, 5 insertions(+) diff --git a/sys/alpha/alpha/machdep.c b/sys/alpha/alpha/machdep.c index 0d55ec3d820..8bfd159ae52 100644 --- a/sys/alpha/alpha/machdep.c +++ b/sys/alpha/alpha/machdep.c @@ -1476,6 +1476,9 @@ osigreturn(struct thread *td, #endif /* COMPAT_43 */ } +/* + * MPSAFE + */ int sigreturn(struct thread *td, struct sigreturn_args /* { diff --git a/sys/ia64/ia64/machdep.c b/sys/ia64/ia64/machdep.c index 4d5da049b9d..dc046bd930d 100644 --- a/sys/ia64/ia64/machdep.c +++ b/sys/ia64/ia64/machdep.c @@ -957,6 +957,8 @@ osigreturn(struct thread *td, struct osigreturn_args *uap) * context left by sendsig. Check carefully to * make sure that the user has not modified the * state to gain improper privileges. + * + * MPSAFE */ int sigreturn(struct thread *td,