From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S942517AbdAIXUn (ORCPT ); Mon, 9 Jan 2017 18:20:43 -0500 Received: from mail5.windriver.com ([192.103.53.11]:45892 "EHLO mail5.wrs.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753839AbdAIXUk (ORCPT ); Mon, 9 Jan 2017 18:20:40 -0500 From: Paul Gortmaker To: CC: Paul Gortmaker , Tony Luck , Fenghua Yu , Al Viro , Subject: [PATCH RFC] ia64: export ia64_delay_loop for "allmodconfig" coverage Date: Mon, 9 Jan 2017 18:20:25 -0500 Message-ID: <20170109232025.18859-1-paul.gortmaker@windriver.com> X-Mailer: git-send-email 2.11.0 MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Currently we see: ERROR: "ia64_delay_loop" [drivers/spi/spi-thunderx.ko] undefined! ERROR: "ia64_delay_loop" [drivers/net/phy/mdio-cavium.ko] undefined! ...on ia64 allmodconfig builds. While it is true nobody would ever load/use these !ia64 drivers on ia64 kit, they probably won't be the only ones enabled via COMPILE_TEST or non-strict dependencies as time goes on. So just export the symbol, right from the assembly file, now that we can do that. Cc: Tony Luck Cc: Fenghua Yu Cc: Al Viro Cc: linux-ia64@vger.kernel.org Signed-off-by: Paul Gortmaker --- [Note: Al had this export in the early version of a patch in patchwork https://patchwork.kernel.org/patch/8166731/ but then the export was removed in the mainline version in e007c53397ac -- hence RFC tag. ] arch/ia64/kernel/head.S | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/ia64/kernel/head.S b/arch/ia64/kernel/head.S index c9b5e942f671..640294cbe227 100644 --- a/arch/ia64/kernel/head.S +++ b/arch/ia64/kernel/head.S @@ -993,6 +993,7 @@ GLOBAL_ENTRY(ia64_delay_loop) mov ar.lc=r2 br.ret.sptk.many rp END(ia64_delay_loop) +EXPORT_SYMBOL(ia64_delay_loop) /* * Return a CPU-local timestamp in nano-seconds. This timestamp is -- 2.11.0