summaryrefslogtreecommitdiffstats
path: root/etc/etc.alpha
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>2000-10-04 18:58:46 +0000
committerbrian <brian@FreeBSD.org>2000-10-04 18:58:46 +0000
commit12f7c0812bc9307092b240ca79bd7b3670345cd6 (patch)
treea074e986be87ca2bbf5cfda73da3f9e780e2ea64 /etc/etc.alpha
parent5135c38a27d3cf791a98f149db31afd9e1a5294a (diff)
downloadFreeBSD-src-12f7c0812bc9307092b240ca79bd7b3670345cd6.zip
FreeBSD-src-12f7c0812bc9307092b240ca79bd7b3670345cd6.tar.gz
Add a unaligned_print option (alpha only)
Document osf1_enable Submitted by: Eric D. Futch <efutch@nyct.net> PR: 21649
Diffstat (limited to 'etc/etc.alpha')
-rw-r--r--etc/etc.alpha/rc.alpha8
1 files changed, 8 insertions, 0 deletions
diff --git a/etc/etc.alpha/rc.alpha b/etc/etc.alpha/rc.alpha
index 882197a..9be56e3 100644
--- a/etc/etc.alpha/rc.alpha
+++ b/etc/etc.alpha/rc.alpha
@@ -165,3 +165,11 @@ if [ -n "${allscreens_flags}" ] ; then
fi
echo '.'
+
+# knob for wether or not we should print out unaligned access warnings
+#
+case ${unaligned_print} in
+[Nn][Oo])
+ sysctl -w machdep.unaligned_print=0
+ ;;
+esac
OpenPOWER on IntegriCloud