diff --git a/arch/posix/core/offsets/offsets.c b/arch/posix/core/offsets/offsets.c index 0dc46135c55..3efbdb2e3bb 100644 --- a/arch/posix/core/offsets/offsets.c +++ b/arch/posix/core/offsets/offsets.c @@ -28,8 +28,4 @@ #include #include -#if defined(CONFIG_FPU_SHARING) -GEN_OFFSET_SYM(_thread_arch_t, excNestCount); -#endif - GEN_ABS_SYM_END diff --git a/arch/posix/include/offsets_short_arch.h b/arch/posix/include/offsets_short_arch.h index 9d5e4157ee4..b33414b3f6e 100644 --- a/arch/posix/include/offsets_short_arch.h +++ b/arch/posix/include/offsets_short_arch.h @@ -11,22 +11,10 @@ /* kernel */ -#define _kernel_offset_to_isf \ - (___kernel_t_arch_OFFSET + ___kernel_arch_t_isf_OFFSET) - /* end - kernel */ /* threads */ -#define _thread_offset_to_excNestCount \ - (___thread_t_arch_OFFSET + ___thread_arch_t_excNestCount_OFFSET) - -#define _thread_offset_to_esp \ - (___thread_t_callee_saved_OFFSET + ___callee_saved_t_esp_OFFSET) - -#define _thread_offset_to_preempFloatReg \ - (___thread_t_arch_OFFSET + ___thread_arch_t_preempFloatReg_OFFSET) - /* end - threads */ #endif /* ZEPHYR_ARCH_POSIX_INCLUDE_OFFSETS_SHORT_ARCH_H_ */