|
@@ -60,6 +60,8 @@ struct thread_info {
|
|
|
register struct thread_info *__current_thread_info __asm__("$28");
|
|
|
#define current_thread_info() __current_thread_info
|
|
|
|
|
|
+#endif /* !__ASSEMBLY__ */
|
|
|
+
|
|
|
/* thread information allocation */
|
|
|
#if defined(CONFIG_PAGE_SIZE_4KB) && defined(CONFIG_32BIT)
|
|
|
#define THREAD_SIZE_ORDER (1)
|
|
@@ -85,8 +87,6 @@ register struct thread_info *__current_thread_info __asm__("$28");
|
|
|
|
|
|
#define STACK_WARN (THREAD_SIZE / 8)
|
|
|
|
|
|
-#endif /* !__ASSEMBLY__ */
|
|
|
-
|
|
|
#define PREEMPT_ACTIVE 0x10000000
|
|
|
|
|
|
/*
|