> Date: Sat, 10 Sep 2016 11:14:53 -0700
> From: Philip Guenther
>
> On Sat, 10 Sep 2016, Mark Kettenis wrote:
> > ok kettenis@, but it is probably time to rewrite the comment above
> > thie function as well.
>
> Like this?
Yeah, nothing worth keeping in the bits you removed.
> Index: trap.c
>
On Sat, 10 Sep 2016, Mark Kettenis wrote:
> ok kettenis@, but it is probably time to rewrite the comment above
> thie function as well.
Like this?
Index: trap.c
===
RCS file: /cvs/src/sys/arch/sparc64/sparc64/trap.c,v
retrieving revi
> Date: Fri, 9 Sep 2016 20:47:47 -0700
> From: Philip Guenther
>
> Simplify syscall():
> - if the trapframe is of a 32bit process, just call sigexit() instead of
>returning an error
> - delete other code for 32bit processes
> - 64bit processes only, so SYS__syscall can be handled the same
Simplify syscall():
- if the trapframe is of a 32bit process, just call sigexit() instead of
returning an error
- delete other code for 32bit processes
- 64bit processes only, so SYS__syscall can be handled the same as
SYS_syscall
- delete a superfluous cast
builds and runs fine
ok?