mirror of
https://github.com/apache/nuttx.git
synced 2026-05-19 03:03:37 +08:00
ARM: Remove some obsolete and incorrect conditional compilation
This commit is contained in:
@@ -46,7 +46,7 @@
|
||||
#include "cp15.h"
|
||||
#include "sctlr.h"
|
||||
|
||||
#if defined(CONFIG_SMP) && !defined(CONFIG_TLS)
|
||||
#ifdef CONFIG_SMP
|
||||
|
||||
/****************************************************************************
|
||||
* Public Functions
|
||||
@@ -83,4 +83,4 @@ int up_cpu_index(void)
|
||||
return (mpidr & MPIDR_CPUID_MASK) >> MPIDR_CPUID_SHIFT;
|
||||
}
|
||||
|
||||
#endif /* CONFIG_SMP && !CONFIG_TLS */
|
||||
#endif /* CONFIG_SMP */
|
||||
|
||||
Reference in New Issue
Block a user