~kris/9p

9hist

a6502d52edddfa1430f786e87b917543cbd8668e — David du Colombier 32 years ago 59bd979
Plan 9 from Bell Labs 1994-06-23
1 files changed, 3 insertions(+), 0 deletions(-)

M pc/trap.c
M pc/trap.c => pc/trap.c +3 -0
@@ 445,6 445,9 @@ syscall(Ureg *ur, void *arg)
	if(up->scallnr == NOTED)
		noted(ur, *(ulong*)(sp+BY2WD));

	if(up->nerrlab != 0)
		panic("nerrlab = %d syscall = %d\n", up->nerrlab, up->scallnr);

	splhi(); /* avoid interrupts during the iret */
	if(up->scallnr!=RFORK && (up->procctl || up->nnote))
		notify(ur);