Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm/arm32 Another missing kpreempt_enable



details:   https://anonhg.NetBSD.org/src/rev/177b669b9f5d
branches:  trunk
changeset: 960613:177b669b9f5d
user:      skrll <skrll%NetBSD.org@localhost>
date:      Tue Mar 23 10:21:49 2021 +0000

description:
Another missing kpreempt_enable

diffstat:

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

diffs (27 lines):

diff -r bec955e78af0 -r 177b669b9f5d sys/arch/arm/arm32/pmap.c
--- a/sys/arch/arm/arm32/pmap.c Tue Mar 23 08:07:23 2021 +0000
+++ b/sys/arch/arm/arm32/pmap.c Tue Mar 23 10:21:49 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.c,v 1.427 2021/03/23 06:35:24 skrll Exp $ */
+/*     $NetBSD: pmap.c,v 1.428 2021/03/23 10:21:49 skrll Exp $ */
 
 /*
  * Copyright 2003 Wasabi Systems, Inc.
@@ -192,7 +192,7 @@
 #endif
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.427 2021/03/23 06:35:24 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.428 2021/03/23 10:21:49 skrll Exp $");
 
 #include <sys/param.h>
 #include <sys/types.h>
@@ -3985,6 +3985,8 @@
                 */
                KDASSERT(pm == pmap_kernel());
                pmap_release_pmap_lock(pm);
+               kpreempt_enable();
+
 #if (ARM_MMU_V6 + ARM_MMU_V7) > 0
                if (l1pte_supersection_p(pde)) {
                        pa = (pde & L1_SS_FRAME) | (va & L1_SS_OFFSET);



Home | Main Index | Thread Index | Old Index