Skip to content

Commit 3f77a1d

Browse files
brooniectmarinas
authored andcommitted
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 <[email protected]> Acked-by: Suzuki K Poulose <[email protected]> Reviewed-by: Mark Rutland <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Catalin Marinas <[email protected]>
1 parent 0d8116c commit 3f77a1d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

arch/arm64/kernel/cpufeature.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3109,7 +3109,6 @@ void cpu_set_feature(unsigned int num)
31093109
WARN_ON(num >= MAX_CPU_FEATURES);
31103110
elf_hwcap |= BIT(num);
31113111
}
3112-
EXPORT_SYMBOL_GPL(cpu_set_feature);
31133112

31143113
bool cpu_have_feature(unsigned int num)
31153114
{

0 commit comments

Comments
 (0)