Will Deacon 66552949c8 arm64: cpufeature: Avoid warnings due to unused symbols
commit 12eb369125abe92bfc55e9ce198200f5807b63ff upstream.

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: Will Deacon <will.deacon@arm.com>
[Just a portion of the original patch]
Signed-off-by: Jisheng Zhang <Jisheng.Zhang@synaptics.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-01-14 20:05:47 +01:00
..
2019-02-20 10:20:53 +01:00
2019-12-01 09:14:21 +01:00
2018-02-28 10:19:44 +01:00
2020-01-12 12:11:54 +01:00
2019-12-05 15:37:49 +01:00
2020-01-12 12:11:58 +01:00
2019-12-21 10:47:43 +01:00