]> xenbits.xensource.com Git - xen.git/commit
xen/arm: Surround HSR_SYSREG macro value with ()
authorJulien Grall <julien.grall@linaro.org>
Wed, 29 Nov 2017 17:46:35 +0000 (17:46 +0000)
committerStefano Stabellini <sstabellini@kernel.org>
Fri, 8 Dec 2017 21:15:41 +0000 (13:15 -0800)
commitac2d8d402370f6f93f82871f3b34ddb9a9ccae05
treec4b3937319a93d7ffc6898cbd5715d5de07522bf
parentb819187a15ecea7fe00cffded1bf454b8a6d7dd2
xen/arm: Surround HSR_SYSREG macro value with ()

The value of the macro HCR_SYSREG is not surrounded by (). This means
the behavior may change depend on how it is used.

Thanksfully recent GCC will issue a warning for that.

Signed-off-by: Julien Grall <julien.grall@linaro.org>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
xen/include/asm-arm/arm64/sysregs.h