]> git.baikalelectronics.ru Git - arm-tf.git/commit
fix(bl31): fix validate_el3_interrupt_rm preprocessor usage
authorMarco Felsch <m.felsch@pengutronix.de>
Wed, 21 Sep 2022 15:37:01 +0000 (17:37 +0200)
committerMarco Felsch <m.felsch@pengutronix.de>
Wed, 21 Sep 2022 15:54:57 +0000 (17:54 +0200)
commit6e08cffcd22b3e756503addbf8dddfa9f5740045
tree9839c504ecc84944d1617c91110f27441777f699
parent8edd190e6416ba8e3f141bbba4ef22748dcbd5d0
fix(bl31): fix validate_el3_interrupt_rm preprocessor usage

Fix the "#if defined(FOO)" usage introduced by commit 7c2fe62f1
("fix(bl31): allow use of EHF with S-EL2 SPMC") since the defines are
always passed as -DFOO=0 or as -DFOO=1. The "#if defined(FOO)" will now
always be true which is wrong.

Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
Change-Id: I84fb144debc9899727a1fc021acdd59b4a6f0171
include/bl31/interrupt_mgmt.h