target/arm: Make set_feature() available for other files
commit5fda95041d7237ab35733ceb66e0cb89f6107169
authorThomas Huth <thuth@redhat.com>
Mon, 4 May 2020 17:24:45 +0000 (4 19:24 +0200)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 11 May 2020 10:45:59 +0000 (11 11:45 +0100)
tree79bef294fc7fb0bb2bff83712df6fc59a015d377
parentf5cbb280bdd2cb5b8f44db015571591ef3c42665
target/arm: Make set_feature() available for other files

Move the common set_feature() and unset_feature() functions
from cpu.c and cpu64.c to cpu.h.

Suggested-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-id: 20200504172448.9402-3-philmd@redhat.com
Message-ID: <20190921150420.30743-2-thuth@redhat.com>
[PMD: Split Thomas's patch in two: set_feature, cpu_register]
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/cpu.c
target/arm/cpu.h
target/arm/cpu64.c