summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorjake <jake@FreeBSD.org>2001-09-03 22:19:04 +0000
committerjake <jake@FreeBSD.org>2001-09-03 22:19:04 +0000
commit64bd7a7631cf964be3ccc81e44bb06de2c23ef0d (patch)
tree2e8c99621c35e834815ccc2056346372575fe901 /sys
parent511df0c9cdc5d834f5c497a79294372ee54837c4 (diff)
downloadFreeBSD-src-64bd7a7631cf964be3ccc81e44bb06de2c23ef0d.zip
FreeBSD-src-64bd7a7631cf964be3ccc81e44bb06de2c23ef0d.tar.gz
mtx_savecrit is a pil level, not a pstate value, thus mtx_intr_enable
was not doing its thing.
Diffstat (limited to 'sys')
-rw-r--r--sys/sparc64/include/mutex.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sparc64/include/mutex.h b/sys/sparc64/include/mutex.h
index 64cbd93..293f8d6 100644
--- a/sys/sparc64/include/mutex.h
+++ b/sys/sparc64/include/mutex.h
@@ -33,7 +33,7 @@ static __inline void
mtx_intr_enable(struct mtx *mtx)
{
- mtx->mtx_savecrit |= PSTATE_IE;
+ mtx->mtx_savecrit = 0;
}
#endif /* !_MACHINE_MUTEX_H_ */
OpenPOWER on IntegriCloud