diff --git a/sys/arch/vax/vax/intvec.S b/sys/arch/vax/vax/intvec.S index c8814a9dedf1..fb156af7568d 100644 --- a/sys/arch/vax/vax/intvec.S +++ b/sys/arch/vax/vax/intvec.S @@ -1,4 +1,4 @@ -/* $NetBSD: intvec.S,v 1.11 2007/03/12 02:21:22 matt Exp $ */ +/* $NetBSD: intvec.S,v 1.12 2007/04/06 17:45:41 matt Exp $ */ /* * Copyright (c) 1994, 1997 Ludd, University of Lule}, Sweden. @@ -350,9 +350,7 @@ softintr_dispatch: beql 3f # nope return pushl %r7 # we need to use %r7 so save it movl %r0, %r7 # move first item to %r7 -1: tstl SH_PENDING(%r7) # need call this one? - beql 2f # nope, go to next one - clrl SH_PENDING(%r7) # clear pending flag +1: bbcc $0,SH_PENDING(%r7),2f # need call this one? pushl SH_ARG(%r7) # push function argument calls $1, *SH_FUNC(%r7) # call function 2: movl SH_NEXT(%r7), %r7 # get next handler