Commit b8c3b554 authored by Anton Blanchard's avatar Anton Blanchard

ppc64: workaround for gcc 3.1, otherwise we busy loop in pte_chain_lock()

parent 361ede9f
......@@ -692,7 +692,12 @@ unsigned long get_wchan(struct task_struct *p);
#define KSTK_EIP(tsk) ((tsk)->thread.regs? (tsk)->thread.regs->nip: 0)
#define KSTK_ESP(tsk) ((tsk)->thread.regs? (tsk)->thread.regs->gpr[1]: 0)
/* XXX Temporary work around for a gcc 3.1 bug - Anton */
#if 0
#define cpu_relax() do { } while (0)
#else
#define cpu_relax() barrier()
#endif
/*
* Prefetch macros.
......
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