Module Name: src
Committed By: skrll
Date: Thu Oct 22 07:34:18 UTC 2020
Modified Files:
src/sys/arch/aarch64/aarch64: pmap.c
Log Message:
Use the isb macro - missed in previous commit
To generate a diff of this commit:
cvs rdiff -u -r1.92 -r1.93 src/sys/arch/aarch64/aarch64/pmap.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/aarch64/aarch64/pmap.c
diff -u src/sys/arch/aarch64/aarch64/pmap.c:1.92 src/sys/arch/aarch64/aarch64/pmap.c:1.93
--- src/sys/arch/aarch64/aarch64/pmap.c:1.92 Thu Oct 22 07:31:15 2020
+++ src/sys/arch/aarch64/aarch64/pmap.c Thu Oct 22 07:34:18 2020
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.c,v 1.92 2020/10/22 07:31:15 skrll Exp $ */
+/* $NetBSD: pmap.c,v 1.93 2020/10/22 07:34:18 skrll Exp $ */
/*
* Copyright (c) 2017 Ryo Shimizu <[email protected]>
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.92 2020/10/22 07:31:15 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.93 2020/10/22 07:34:18 skrll Exp $");
#include "opt_arm_debug.h"
#include "opt_ddb.h"
@@ -1478,7 +1478,7 @@ pmap_deactivate(struct lwp *l)
/* Disable translation table walks using TTBR0 */
tcr = reg_tcr_el1_read();
reg_tcr_el1_write(tcr | TCR_EPD0);
- __asm __volatile("isb" ::: "memory");
+ isb();
/* XXX */
pm->pm_activated = false;