]> git.proxmox.com Git - mirror_qemu.git/commit
target-arm: Refactor CPU affinity handling
authorPavel Fedin <p.fedin@samsung.com>
Mon, 7 Sep 2015 09:39:31 +0000 (10:39 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 7 Sep 2015 09:39:31 +0000 (10:39 +0100)
commit0f4a9e45ec35811ee250ac232d84d3c6d4fcd7fc
treef4699d367397ab732d340d13e8822d620f12c240
parentd4e26d106a1ea35a81176cb5398406b08316adc7
target-arm: Refactor CPU affinity handling

Introduces reusable definitions for CPU affinity masks/shifts and gets rid
of hardcoded magic numbers.

Signed-off-by: Pavel Fedin <p.fedin@samsung.com>
Message-id: 7e6def4d0d91ae64615cdd2035b94d408d0a23c6.1441366248.git.p.fedin@samsung.com
[PMM: folded overlong line]
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target-arm/cpu-qom.h
target-arm/cpu.c
target-arm/kvm32.c
target-arm/kvm64.c