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 Use the isb macro - missed in previ...



details:   https://anonhg.NetBSD.org/src/rev/8e15e30c1d4e
branches:  trunk
changeset: 941465:8e15e30c1d4e
user:      skrll <skrll%NetBSD.org@localhost>
date:      Thu Oct 22 07:34:18 2020 +0000

description:
Use the isb macro - missed in previous commit

diffstat:

 sys/arch/aarch64/aarch64/pmap.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r e798df2450c2 -r 8e15e30c1d4e sys/arch/aarch64/aarch64/pmap.c
--- a/sys/arch/aarch64/aarch64/pmap.c   Thu Oct 22 07:31:15 2020 +0000
+++ b/sys/arch/aarch64/aarch64/pmap.c   Thu Oct 22 07:34:18 2020 +0000
@@ -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 <ryo%nerv.org@localhost>
@@ -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 @@
        /* 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;



Home | Main Index | Thread Index | Old Index