diff options
author | simokawa <simokawa@FreeBSD.org> | 1999-04-13 15:42:34 +0000 |
---|---|---|
committer | simokawa <simokawa@FreeBSD.org> | 1999-04-13 15:42:34 +0000 |
commit | 57906549b48b979bb03518c2ede3411467f709b1 (patch) | |
tree | fcc8b9ffa2c9fbc335b7e6908bda30216d2c4e65 /sys/alpha | |
parent | afbee37e7f8d8623c9af6430469fe0936d7dd5bc (diff) | |
download | FreeBSD-src-57906549b48b979bb03518c2ede3411467f709b1.zip FreeBSD-src-57906549b48b979bb03518c2ede3411467f709b1.tar.gz |
Initialize alpha_unaligned_* as I intended.
I misunderstood SYSCTL_INT in previous revision.
Diffstat (limited to 'sys/alpha')
-rw-r--r-- | sys/alpha/alpha/machdep.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/alpha/alpha/machdep.c b/sys/alpha/alpha/machdep.c index 2e9cdb1..be36a26 100644 --- a/sys/alpha/alpha/machdep.c +++ b/sys/alpha/alpha/machdep.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: machdep.c,v 1.35 1999/04/03 22:19:50 jdp Exp $ + * $Id: machdep.c,v 1.36 1999/04/11 12:48:15 simokawa Exp $ */ /*- * Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -176,15 +176,15 @@ SYSCTL_STRING(_hw, HW_MODEL, model, CTLFLAG_RD, cpu_model, 0, ""); void *ksym_start, *ksym_end; #endif -int alpha_unaligned_print; /* warn about unaligned accesses */ -int alpha_unaligned_fix; /* fix up unaligned accesses */ -int alpha_unaligned_sigbus; /* SIGBUS on fixed-up accesses */ +int alpha_unaligned_print = 1; /* warn about unaligned accesses */ +int alpha_unaligned_fix = 1; /* fix up unaligned accesses */ +int alpha_unaligned_sigbus = 0; /* don't SIGBUS on fixed-up accesses */ SYSCTL_INT(_machdep, CPU_UNALIGNED_PRINT, unaligned_print, - CTLFLAG_RW, &alpha_unaligned_print, 1, ""); + CTLFLAG_RW, &alpha_unaligned_print, 0, ""); SYSCTL_INT(_machdep, CPU_UNALIGNED_FIX, unaligned_fix, - CTLFLAG_RW, &alpha_unaligned_fix, 1, ""); + CTLFLAG_RW, &alpha_unaligned_fix, 0, ""); SYSCTL_INT(_machdep, CPU_UNALIGNED_SIGBUS, unaligned_sigbus, CTLFLAG_RW, &alpha_unaligned_sigbus, 0, ""); |