[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20211029113023.760421-1-arnd@kernel.org>
Date: Fri, 29 Oct 2021 13:30:16 +0200
From: Arnd Bergmann <arnd@...nel.org>
To: Catalin Marinas <catalin.marinas@....com>,
Will Deacon <will@...nel.org>,
Mathieu Poirier <mathieu.poirier@...aro.org>,
Suzuki K Poulose <suzuki.poulose@....com>,
Anshuman Khandual <anshuman.khandual@....com>
Cc: Arnd Bergmann <arnd@...db.de>, Marc Zyngier <maz@...nel.org>,
Mark Rutland <mark.rutland@....com>,
David Brazdil <dbrazdil@...gle.com>,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: [PATCH] [RFC] arm64: export this_cpu_has_cap
From: Arnd Bergmann <arnd@...db.de>
It's now used in a coresight driver that can be a loadable module:
ERROR: modpost: "this_cpu_has_cap" [drivers/hwtracing/coresight/coresight-trbe.ko] undefined!
Fixes: 8a1065127d95 ("coresight: trbe: Add infrastructure for Errata handling")
Signed-off-by: Arnd Bergmann <arnd@...db.de>
---
Not sure if we actually want this to be exported, this is my local
workaround for the randconfig build bot.
---
arch/arm64/kernel/cpufeature.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/kernel/cpufeature.c b/arch/arm64/kernel/cpufeature.c
index ecbdff795f5e..beccbcfa7391 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(this_cpu_has_cap);
/*
* This helper function is used in a narrow window when,
--
2.29.2
Powered by blists - more mailing lists