Commit e1fffdc5 authored by David S. Miller's avatar David S. Miller

[SPARC64]: Now the brlocks are gone, the udelay garbage in cpu_relax() can go.

parent 7b667938
...@@ -196,7 +196,7 @@ extern unsigned long get_wchan(struct task_struct *task); ...@@ -196,7 +196,7 @@ extern unsigned long get_wchan(struct task_struct *task);
#define KSTK_EIP(tsk) ((tsk)->thread_info->kregs->tpc) #define KSTK_EIP(tsk) ((tsk)->thread_info->kregs->tpc)
#define KSTK_ESP(tsk) ((tsk)->thread_info->kregs->u_regs[UREG_FP]) #define KSTK_ESP(tsk) ((tsk)->thread_info->kregs->u_regs[UREG_FP])
#define cpu_relax() do { udelay(1 + smp_processor_id()); barrier(); } while (0) #define cpu_relax() barrier()
#endif /* !(__ASSEMBLY__) */ #endif /* !(__ASSEMBLY__) */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment