mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
Merge pull request #14798 from bergzand/pr/core/sched_no_mpu_enable
sched: Remove extra mpu_enable during context switch
This commit is contained in:
commit
593568ca21
@ -155,8 +155,6 @@ int __attribute__((used)) sched_run(void)
|
|||||||
(uintptr_t)sched_active_thread->stack_start + 31, /* Base Address (rounded up) */
|
(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_ATTR(1, AP_RO_RO, 0, 1, 0, 1, MPU_SIZE_32B) /* Attributes and Size */
|
||||||
);
|
);
|
||||||
|
|
||||||
mpu_enable();
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
DEBUG("sched_run: done, changed sched_active_thread.\n");
|
DEBUG("sched_run: done, changed sched_active_thread.\n");
|
||||||
|
Loading…
Reference in New Issue
Block a user