[PATCH] m32r: remove rep_nop()
Remove rep_nop() from include/asm-m32r/processor.h, because REP NOP (PAUSE) is a x86 specific instuction. Instead of rep_nop(), barrier() should be used for cpu_relax() as well as other architecuture. * include/asm-m32r/processor.h: - Change not to include "cachectl.h". - Remove rep_nop() and redefine cpu_relax() as barrier(). * arch/m32r/kernel/smpboot.h: - Use cpu_relax() instead of rep_nop(). Signed-off-by: Hirokazu Takata <takata@linux-m32r.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Showing
Please register or sign in to comment