Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/aarch64/aarch64 Switch discriminates between fsc va...
details: https://anonhg.NetBSD.org/src/rev/54fca1cb8df5
branches: trunk
changeset: 997772:54fca1cb8df5
user: mlelstv <mlelstv%NetBSD.org@localhost>
date: Tue Mar 26 08:01:21 2019 +0000
description:
Switch discriminates between fsc values and should check the masked fsc value,
not the whole register.
diffstat:
sys/arch/aarch64/aarch64/fault.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r b2c8cd6bda7a -r 54fca1cb8df5 sys/arch/aarch64/aarch64/fault.c
--- a/sys/arch/aarch64/aarch64/fault.c Tue Mar 26 06:59:11 2019 +0000
+++ b/sys/arch/aarch64/aarch64/fault.c Tue Mar 26 08:01:21 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fault.c,v 1.7 2018/10/12 01:28:57 ryo Exp $ */
+/* $NetBSD: fault.c,v 1.8 2019/03/26 08:01:21 mlelstv Exp $ */
/*
* Copyright (c) 2017 Ryo Shimizu <ryo%nerv.org@localhost>
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: fault.c,v 1.7 2018/10/12 01:28:57 ryo Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fault.c,v 1.8 2019/03/26 08:01:21 mlelstv Exp $");
#include "opt_compat_netbsd32.h"
#include "opt_ddb.h"
@@ -244,7 +244,7 @@
/*
* fatal abort in usermode
*/
- switch (esr) {
+ switch (fsc) {
case ESR_ISS_FSC_TLB_CONFLICT_FAULT:
case ESR_ISS_FSC_LOCKDOWN_ABORT:
case ESR_ISS_FSC_UNSUPPORTED_EXCLUSIVE:
Home |
Main Index |
Thread Index |
Old Index