arch: arc: Replace CONFIG_APP_SHARED_MEM with CONFIG_USERSPACE

CONFIG_APP_SHARED_MEM was removed in commit 4ce652e4b2 ("userspace:
remove APP_SHARED_MEM Kconfig").

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
This commit is contained in:
Ulf Magnusson 2019-02-27 03:28:45 +01:00 committed by Kumar Gala
commit 775993a61a

View file

@ -461,7 +461,7 @@ void arc_core_mpu_configure_user_context(struct k_thread *thread)
arc_core_mpu_configure(THREAD_STACK_USER_REGION, base, size);
#if defined(CONFIG_APP_SHARED_MEM) && CONFIG_ARC_MPU_VER == 3
#if defined(CONFIG_USERSPACE) && CONFIG_ARC_MPU_VER == 3
/*
* here, need to clear THREAD_APP_DATA_REGION for user thread as it will
* be set by kernel thread to to access app_shared mem. For user thread