Skip to content
Commit d77d128f authored by Peter Xu's avatar Peter Xu Committed by Paolo Bonzini
Browse files

x86/asm: add cpu_relax()



This will be useful to be put inside loops.

Suggested-by: Andrew Jones's avatarAndrew Jones <drjones@redhat.com>
Reviewed-by: Andrew Jones's avatarAndrew Jones <drjones@redhat.com>
Signed-off-by: default avatarPeter Xu <peterx@redhat.com>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 7d4c532d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment