Skip to content
Commit 12eb3691 authored by Will Deacon's avatar Will Deacon
Browse files

arm64: cpufeature: Avoid warnings due to unused symbols



An allnoconfig build complains about unused symbols due to functions
that are called via conditional cpufeature and cpu_errata table entries.

Annotate these as __maybe_unused if they are likely to be generic, or
predicate their compilation on the same option as the table entry if
they are specific to a given alternative.

Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
parent ece1397c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment