Home
last modified time | relevance | path

Searched hist:"19583169 e248fb62ea5d512d193223aa34d9535b" (Results 1 – 1 of 1) sorted by relevance

/rk3399_ARM-atf/include/plat/arm/common/
H A Dplat_arm.h19583169e248fb62ea5d512d193223aa34d9535b Wed Aug 23 13:12:59 UTC 2017 Jeenu Viswambharan <jeenu.viswambharan@arm.com> plat/arm: Fix ARM_INSTANTIATE_LOCK syntax anomaly

The current definition of ARM_INSTANTIATE_LOCK macro includes a
semicolon, which means it's omitted where it's used. This is anomalous
for a C statement in global scope.

Fix this by removing semicolon from the definition; and where it's a
NOP, declare a file-scoped variable explicitly tagged as unused to avoid
compiler warning.

No functional changes.

Change-Id: I2c1d92ece4777e272a025011e03b8003f3543335
Signed-off-by: Jeenu Viswambharan <jeenu.viswambharan@arm.com>