diff options
author | Mark Brown <broonie@kernel.org> | 2022-06-15 20:15:04 +0100 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2022-06-16 18:42:26 +0100 |
commit | 3f77a1d0570e62cfce8d472319df00008bbeab38 (patch) | |
tree | 9a2815727500a0bd6b303aa409037c91b4cd9efe /arch | |
parent | 0d8116ccd83b7e5384cf04de570ae19771e8a3d0 (diff) | |
download | lwn-3f77a1d0570e62cfce8d472319df00008bbeab38.tar.gz lwn-3f77a1d0570e62cfce8d472319df00008bbeab38.zip |
arm64/cpufeature: Unexport set_cpu_feature()
We currently export set_cpu_feature() to modules but there are no in tree
users that can be built as modules and it is hard to see cases where it
would make sense for there to be any such users. Remove the export to avoid
anyone else having to worry about why it is there and ensure that any users
that do get added get a bit more visiblity.
Signed-off-by: Mark Brown <broonie@kernel.org>
Acked-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Reviewed-by: Mark Rutland <mark.rutland@arm.com>
Link: https://lore.kernel.org/r/20220615191504.626604-1-broonie@kernel.org
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm64/kernel/cpufeature.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm64/kernel/cpufeature.c b/arch/arm64/kernel/cpufeature.c index 42ea2bd856c6..d76fd95376f0 100644 --- a/arch/arm64/kernel/cpufeature.c +++ b/arch/arm64/kernel/cpufeature.c @@ -3109,7 +3109,6 @@ void cpu_set_feature(unsigned int num) WARN_ON(num >= MAX_CPU_FEATURES); elf_hwcap |= BIT(num); } -EXPORT_SYMBOL_GPL(cpu_set_feature); bool cpu_have_feature(unsigned int num) { |