target/arm: Use FIELD macros for clearing ID_DFR0 PERFMON field
commitd52c061e541982a3663ad5c65bd3b518dbe85b87
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 14 Feb 2020 17:51:02 +0000 (14 17:51 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 21 Feb 2020 16:07:01 +0000 (21 16:07 +0000)
tree1bb47af40b616b3d297b629d1faf55ede701437f
parentceb2744b47a1ef4184dca56a158eb3156b6eba36
target/arm: Use FIELD macros for clearing ID_DFR0 PERFMON field

We already define FIELD macros for ID_DFR0, so use them in the
one place where we're doing direct bit value manipulation.

Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 20200214175116.9164-8-peter.maydell@linaro.org
target/arm/cpu.c