Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Takao Shinohara <shin@netbsd.org>
List: source-changes
Date: 02/12/2001 12:32:15
Module Name:	syssrc
Committed By:	shin
Date:		Mon Feb 12 10:32:15 UTC 2001

Modified Files:
	syssrc/sys/arch/mips/mips: syscall.c

Log Message:
keep V0 value (system call number) and restore it in exception frame,
when error is ERESTART. otherwise, user process will re-issue syscall
with broken system call number and get SIGSYS signal and terminate.

patch made by Jason R Thorpe <thorpej@zembu.com>. tested by me.


To generate a diff of this commit:
cvs rdiff -r1.2 -r1.3 syssrc/sys/arch/mips/mips/syscall.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.