|
@@ -60,15 +60,12 @@ struct task_struct;
|
|
#ifndef CONFIG_EZNPS_MTM_EXT
|
|
#ifndef CONFIG_EZNPS_MTM_EXT
|
|
|
|
|
|
#define cpu_relax() barrier()
|
|
#define cpu_relax() barrier()
|
|
-#define cpu_relax_yield() cpu_relax()
|
|
|
|
|
|
|
|
#else
|
|
#else
|
|
|
|
|
|
#define cpu_relax() \
|
|
#define cpu_relax() \
|
|
__asm__ __volatile__ (".word %0" : : "i"(CTOP_INST_SCHD_RW) : "memory")
|
|
__asm__ __volatile__ (".word %0" : : "i"(CTOP_INST_SCHD_RW) : "memory")
|
|
|
|
|
|
-#define cpu_relax_yield() cpu_relax()
|
|
|
|
-
|
|
|
|
#endif
|
|
#endif
|
|
|
|
|
|
#define copy_segments(tsk, mm) do { } while (0)
|
|
#define copy_segments(tsk, mm) do { } while (0)
|