summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-11-07 11:49:35 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-11-07 11:49:35 +0100
commita4119be4370eea352df0dad294488e60e67321cf (patch)
tree1c08ef6e25dbc0629e32b95de793942eefb5b6e7 /arch
parentb5013d084e03e82ceeab4db8ae8ceeaebe76b0eb (diff)
parent20b02fe36530a1e48dde73c80b882ae276346ea3 (diff)
downloadlinux-a4119be4370eea352df0dad294488e60e67321cf.tar.bz2
Merge tag 'coresight-fixes-v5.16' of gitolite.kernel.org:pub/scm/linux/kernel/git/coresight/linux into char-misc-linus
Mathieu writes: coresight: Fix for v5.16 This fix enables to compile the TRBE driver as a module by exporting function this_cpu_has_cap(). Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org> * tag 'coresight-fixes-v5.16' of gitolite.kernel.org:pub/scm/linux/kernel/git/coresight/linux: arm64: cpufeature: Export this_cpu_has_cap helper
Diffstat (limited to 'arch')
-rw-r--r--arch/arm64/kernel/cpufeature.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/kernel/cpufeature.c b/arch/arm64/kernel/cpufeature.c
index ecbdff795f5e..646662407a07 100644
--- a/arch/arm64/kernel/cpufeature.c
+++ b/arch/arm64/kernel/cpufeature.c
@@ -2864,6 +2864,7 @@ bool this_cpu_has_cap(unsigned int n)
return false;
}
+EXPORT_SYMBOL_GPL(this_cpu_has_cap);
/*
* This helper function is used in a narrow window when,