From: Paul Gortmaker <paul.gortmaker@windriver.com>
To: <linux-kernel@vger.kernel.org>
Cc: Paul Gortmaker <paul.gortmaker@windriver.com>,
Tony Luck <tony.luck@intel.com>,
Fenghua Yu <fenghua.yu@intel.com>,
Al Viro <viro@zeniv.linux.org.uk>, <linux-ia64@vger.kernel.org>
Subject: [PATCH RFC] ia64: export ia64_delay_loop for "allmodconfig" coverage
Date: Mon, 9 Jan 2017 18:20:25 -0500 [thread overview]
Message-ID: <20170109232025.18859-1-paul.gortmaker@windriver.com> (raw)
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 <tony.luck@intel.com>
Cc: Fenghua Yu <fenghua.yu@intel.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: linux-ia64@vger.kernel.org
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
---
[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
reply other threads:[~2017-01-09 23:20 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170109232025.18859-1-paul.gortmaker@windriver.com \
--to=paul.gortmaker@windriver.com \
--cc=fenghua.yu@intel.com \
--cc=linux-ia64@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=tony.luck@intel.com \
--cc=viro@zeniv.linux.org.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®