soc: xtensa/dc233c: remove xtensa_dc233c_stack_ptr_is_sane
The generic stack pointer checker in the architecture code is enough so we can remove the platform specific one. Besides, xtensa_dc233c_stack_ptr_is_sane() does not do much checking either. Signed-off-by: Daniel Leung <daniel.leung@intel.com>
This commit is contained in:
parent
31c96cf395
commit
c44c922198
2 changed files with 0 additions and 7 deletions
|
@ -20,9 +20,4 @@ static inline bool xtensa_dc233c_ptr_executable(const void *p)
|
|||
return (in_text || in_vecbase);
|
||||
}
|
||||
|
||||
static inline bool xtensa_dc233c_stack_ptr_is_sane(uint32_t sp)
|
||||
{
|
||||
return ((char *)sp >= __text_region_start);
|
||||
}
|
||||
|
||||
#endif /* ZEPHYR_SOC_XTENSA_DC233C_BACKTRACE_HELPERS_H_ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue