* Uwe Hermann uwe@hermann-uwe.de [070630 17:17]:
Bring the file cpu.h in sync with the current version of the code in the Linux kernel (as far as possible). The code is a lot simpler and shorter now.
Also, add cpu_relax() (which is also part of the Linux file) which could be useful for busy-loops (but is currently not used). Drop the cpu_relax() from spinlock.h as it's not spinlock related in any way.
The code builds, but is otherwise untested.
Signed-off-by: Uwe Hermann uwe@hermann-uwe.de
Can you test with qemu?
Otherwise Acked-by: Stefan Reinauer stepan@coresystems.de