summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2015-01-04 13:01:43 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2015-01-04 13:01:43 +0000
commitb5aa09b33d64540760172d36438ee5864c0b24f4 (patch)
treed4b642b74030caea41fe90cdecbd3e87b8104afb /share
parent11e22c6125c49fc01f5752389ca129e42973f458 (diff)
Implement splassert(9) for powerpc.
This changes the logic to prevent a recursion when processing soft interrupts. Previously a per-CPU flag was set before re-enabling interrupts. Now the IPL level is raised to SOFTTTY which makes splsoftassert() happy, greatly inspired by mips64. As a side effect, the ppc_intr_{disable,enable}() dance is now done only once instead of twice per splx(9). While here, make use of dosoftint() instead of having 3 different functions for dispatching soft interrupts. Tested by deraadt@ on G4 smp and by myself G5 smp, G3, G4 and socppc. No objection from the usual (and over busy) suspects.
Diffstat (limited to 'share')
0 files changed, 0 insertions, 0 deletions