sched: Remove extra mpu_enable during context switch
This commit is contained in:
parent
7f359612e9
commit
e6fd3630eb
@ -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…
x
Reference in New Issue
Block a user