From e6fd3630eb9f86ffadffe1016a107643ea111c25 Mon Sep 17 00:00:00 2001 From: Koen Zandberg Date: Wed, 19 Aug 2020 20:13:28 +0200 Subject: [PATCH] sched: Remove extra mpu_enable during context switch --- core/sched.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/core/sched.c b/core/sched.c index 2080985c14..f099c5f15b 100644 --- a/core/sched.c +++ b/core/sched.c @@ -155,8 +155,6 @@ int __attribute__((used)) sched_run(void) (uintptr_t)sched_active_thread->stack_start + 31, /* Base Address (rounded up) */ MPU_ATTR(1, AP_RO_RO, 0, 1, 0, 1, MPU_SIZE_32B) /* Attributes and Size */ ); - - mpu_enable(); #endif DEBUG("sched_run: done, changed sched_active_thread.\n");