summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_mutex.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2006-05-12 05:04:46 +0000
committerjhb <jhb@FreeBSD.org>2006-05-12 05:04:46 +0000
commit0f921e0992f543c4aafd5604a99a6edaa059ff36 (patch)
tree9e7fa374ce86cf10beca9d2dca94fc077a700745 /sys/kern/kern_mutex.c
parent95826ec6b414b9b651fe4cf4b08cf9e0e16a11f2 (diff)
downloadFreeBSD-src-0f921e0992f543c4aafd5604a99a6edaa059ff36.zip
FreeBSD-src-0f921e0992f543c4aafd5604a99a6edaa059ff36.tar.gz
Remove various bits of conditional Alpha code and fixup a few comments.
Diffstat (limited to 'sys/kern/kern_mutex.c')
-rw-r--r--sys/kern/kern_mutex.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/kern/kern_mutex.c b/sys/kern/kern_mutex.c
index be228d6..22524aa 100644
--- a/sys/kern/kern_mutex.c
+++ b/sys/kern/kern_mutex.c
@@ -792,11 +792,6 @@ mtx_validate(struct mtx *m)
* XXX: When kernacc() does not require Giant we can reenable this check
*/
#ifdef notyet
-/*
- * XXX - When kernacc() is fixed on the alpha to handle K0_SEG memory properly
- * we can re-enable the kernacc() checks.
- */
-#ifndef __alpha__
/*
* Can't call kernacc() from early init386(), especially when
* initializing Giant mutex, because some stuff in kernacc()
@@ -807,7 +802,6 @@ mtx_validate(struct mtx *m)
VM_PROT_READ | VM_PROT_WRITE))
panic("Can't read and write to mutex %p", m);
#endif
-#endif
}
#endif
OpenPOWER on IntegriCloud