summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorthorpej <thorpej@NetBSD.org>2021-03-04 03:13:54 +0000
committerthorpej <thorpej@NetBSD.org>2021-03-04 03:13:54 +0000
commit82f5a1eb5c9b8dd1256dfd84ff06b397e83a437a (patch)
tree8963d42ad7ab099bc0882b7b8c5a6466f46f4d31 /sys
parente805aa3ad7a4fd5b187d7ac21256ebb98a6380f0 (diff)
Don't forget to 0-terminate the BAT mapping list passed to oea_batinit()!
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/evbppc/ev64260/machdep.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/evbppc/ev64260/machdep.c b/sys/arch/evbppc/ev64260/machdep.c
index bc58d451663..420fe175bc9 100644
--- a/sys/arch/evbppc/ev64260/machdep.c
+++ b/sys/arch/evbppc/ev64260/machdep.c
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.33 2018/07/15 05:16:42 maxv Exp $ */
+/* $NetBSD: machdep.c,v 1.34 2021/03/04 03:13:54 thorpej Exp $ */
/*
* Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.33 2018/07/15 05:16:42 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.34 2021/03/04 03:13:54 thorpej Exp $");
#include "opt_marvell.h"
#include "opt_modular.h"
@@ -214,7 +214,7 @@ initppc(u_int startkernel, u_int endkernel, u_int args, void *btinfo)
ev64260_gt_bs_tag.pbs_offset = gt_base;
ev64260_gt_bs_tag.pbs_base = gt_base;
ev64260_gt_bs_tag.pbs_limit += gt_base;
- oea_batinit(gt_base, BAT_BL_256M);
+ oea_batinit(gt_base, BAT_BL_256M, 0);
oea_init(NULL);