• Olivier Deprez's avatar
    fix(el3_runtime): correct CASSERT for pauth · b4f8d445
    Olivier Deprez authored
    
    
    clang build breaks when both ENABLE_PAUTH (BRANCH_PROTECTOR=1)
    and CRASH_REPORTING (DEBUG=1) options are enabled:
    
    include/lib/el3_runtime/cpu_data.h:135:2: error: redefinition of typedef
    'assert_cpu_data_crash_stack_offset_mismatch' is a C11 feature [-Werror,
    -Wtypedef-redefinition]
            assert_cpu_data_crash_stack_offset_mismatch);
            ^
    include/lib/el3_runtime/cpu_data.h:128:2: note: previous definition is here
            assert_cpu_data_crash_stack_offset_mismatch);
            ^
    1 error generated.
    Signed-off-by: default avatarOlivier Deprez <olivier.deprez@arm.com>
    Change-Id: I22c8c45a94a64620007979d55412dbb57b11b813
    b4f8d445
cpu_data.h 5.7 KB