[lkml]   [2017]   [Jan]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subject[PATCH RFC] ia64: export ia64_delay_loop for "allmodconfig" coverage
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 <>
Signed-off-by: Paul Gortmaker <>

[Note: Al had this export in the early version of a patch in patchwork 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)
br.ret.sptk.many rp

* Return a CPU-local timestamp in nano-seconds. This timestamp is
 \ /
  Last update: 2017-01-10 00:21    [W:0.067 / U:7.728 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site