[LinuxBIOS] [PATCH] v3: cpu.h improvements (take 2)

Uwe Hermann uwe at hermann-uwe.de
Sat Jun 30 18:58:31 CEST 2007


On Sat, Jun 30, 2007 at 05:30:53PM +0200, Stefan Reinauer wrote:
> * Uwe Hermann <uwe at 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 at hermann-uwe.de>
>  
> Can you test with qemu?
> 
> Otherwise
> Acked-by: Stefan Reinauer <stepan at coresystems.de>

r423.

Tested in QEMU, but that's probably not enough, as we don't use the
cpuid() function at the moment, I think.


Uwe.
-- 
http://www.hermann-uwe.de  | http://www.holsham-traders.de
http://www.crazy-hacks.org | http://www.unmaintained-free-software.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20070630/41bc8ceb/attachment.sig>


More information about the coreboot mailing list