From 3c4fc3d494a8924cad72c64845de3072de586a0b Mon Sep 17 00:00:00 2001 From: Wayne Ren Date: Wed, 20 Mar 2019 14:16:45 +0800 Subject: [PATCH] arch: arc: fix compile error caused by typos Signed-off-by: Wayne Ren --- arch/arc/core/mpu/arc_mpu_v2_internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arc/core/mpu/arc_mpu_v2_internal.h b/arch/arc/core/mpu/arc_mpu_v2_internal.h index 75f69318437..82ea6273692 100644 --- a/arch/arc/core/mpu/arc_mpu_v2_internal.h +++ b/arch/arc/core/mpu/arc_mpu_v2_internal.h @@ -204,7 +204,7 @@ void arc_core_mpu_configure_thread(struct k_thread *thread) #if defined(CONFIG_MPU_STACK_GUARD) #if defined(CONFIG_USERSPACE) - if ((thread->thread_base.user_options & K_USER) != 0) { + if ((thread->base.user_options & K_USER) != 0) { /* the areas before and after the user stack of thread is * kernel only. These area can be used as stack guard. * -----------------------