include/processor.h: define cpu_relax()
commit462cda505f304c3915e5e30429cee22418f5a6ea
authorEmilio G. Cota <cota@braap.org>
Wed, 8 Jun 2016 18:55:22 +0000 (8 14:55 -0400)
committerRichard Henderson <rth@twiddle.net>
Sat, 11 Jun 2016 23:10:17 +0000 (11 23:10 +0000)
tree5b17ecf0e03b6526e3774b4f9a3c8b1dde8be6f2
parent03719e44b6d6d559c506808e5b6c340feff867b8
include/processor.h: define cpu_relax()

Taken from the linux kernel.

Reviewed-by: Sergey Fedorov <sergey.fedorov@linaro.org>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Emilio G. Cota <cota@braap.org>
Message-Id: <1465412133-3029-5-git-send-email-cota@braap.org>
Signed-off-by: Richard Henderson <rth@twiddle.net>
include/qemu/processor.h [new file with mode: 0644]