Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: syssrc/sys/arch/powerpc/powerpc



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%wasabisystems.com@localhost>



Home | Main Index | Thread Index | Old Index