Re: sparc64: delete 32bit process support from syscall()

2016-09-10 Thread Mark Kettenis
> 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 >

Re: sparc64: delete 32bit process support from syscall()

2016-09-10 Thread 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? Index: trap.c === RCS file: /cvs/src/sys/arch/sparc64/sparc64/trap.c,v retrieving revi

Re: sparc64: delete 32bit process support from syscall()

2016-09-10 Thread Mark Kettenis
> 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

sparc64: delete 32bit process support from syscall()

2016-09-09 Thread 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 as SYS_syscall - delete a superfluous cast builds and runs fine ok?