Fix an off by one in the critical section clearing code. The
authorPeter Avalos <pavalos@dragonflybsd.org>
Fri, 6 Jul 2007 02:44:30 +0000 (02:44 +0000)
committerPeter Avalos <pavalos@dragonflybsd.org>
Fri, 6 Jul 2007 02:44:30 +0000 (02:44 +0000)
commit88c7b00da3d7f88a9b3d1b4ac4a622db2f8b51fa
tree498eddab6d81d67ca150a550488c8a12febc5c5c
parentfb5acdc89a8dab9ddfbcb4fb9b8cfba9eb7d985e
Fix an off by one in the critical section clearing code.  The
code was adjusting twice for the instruction pointer indicating
the *next* instruction to execute.  The aic79xx driver had a similar
bug, but was already fixed.

Obtained-from: FreeBSD
sys/dev/disk/aic7xxx/aic7xxx.c