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 Add the missing kpreempt_enable to ...



details:   https://anonhg.NetBSD.org/src/rev/78455bea0f19
branches:  trunk
changeset: 365290:78455bea0f19
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sun Apr 17 15:20:36 2022 +0000

description:
Add the missing kpreempt_enable to pmap_deactivate_efirt

diffstat:

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

diffs (27 lines):

diff -r fff4eb7cb5b7 -r 78455bea0f19 sys/arch/aarch64/aarch64/pmap.c
--- a/sys/arch/aarch64/aarch64/pmap.c   Sun Apr 17 13:17:56 2022 +0000
+++ b/sys/arch/aarch64/aarch64/pmap.c   Sun Apr 17 15:20:36 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.c,v 1.134 2022/04/10 10:01:15 skrll Exp $ */
+/*     $NetBSD: pmap.c,v 1.135 2022/04/17 15:20:36 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.134 2022/04/10 10:01:15 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.135 2022/04/17 15:20:36 skrll Exp $");
 
 #include "opt_arm_debug.h"
 #include "opt_cpuoptions.h"
@@ -1577,6 +1577,8 @@
        pm->pm_activated = false;
 
        PMAP_COUNT(deactivate);
+
+       kpreempt_enable();
 }
 #endif
 



Home | Main Index | Thread Index | Old Index