1 Nov 2002 01:48
Re: CVS commit: syssrc/sys/arch/powerpc/powerpc
Jason R Thorpe <thorpej <at> wasabisystems.com>
2002-11-01 00:48:33 GMT
2002-11-01 00:48:33 GMT
On Fri, Nov 01, 2002 at 02:02:41AM +0200, Matt Thomas wrote: > Module Name: syssrc > Committed By: matt > Date: Fri Nov 1 00:02:40 UTC 2002 > > Modified Files: > syssrc/sys/arch/powerpc/powerpc: syscall.c > > Log Message: > In struct emul, e_nsysent is *not* initialized to *SYS_NSYSENT but > *SYS_MAXSYSCALL. Adjust to this and simply compare 'code' to it instead > of doing the p-o-2 dance. Hm... the p-o-2 dance is to allow it to simple mask-and-jump, to save the comparison and branch.... I think it *should* actually be NSYSENT. -- -- -- Jason R. Thorpe <thorpej <at> wasabisystems.com>
RSS Feed