summaryrefslogtreecommitdiffstats
path: root/arch/hexagon/include
diff options
context:
space:
mode:
authorChen Gang <gang.chen.5i5j@gmail.com>2013-11-19 11:10:43 +0800
committerRichard Kuo <rkuo@codeaurora.org>2014-04-04 18:19:59 -0500
commit196b933d295975ada570dd8cc6e10b420cc83882 (patch)
tree41fe1317b382c579ab2b7f0f6b7b12142a4b8e79 /arch/hexagon/include
parentd811d8cc549fcb4b5f19f4daeb0d08b57aa15627 (diff)
downloadop-kernel-dev-196b933d295975ada570dd8cc6e10b420cc83882.zip
op-kernel-dev-196b933d295975ada570dd8cc6e10b420cc83882.tar.gz
arch: hexagon: kernel: add export symbol function __delay()
Need add __delay() implementation, or can not pass allmodconfig in next-20131118 tree. The related error: CC kernel/locking/spinlock_debug.o kernel/locking/spinlock_debug.c: In function '__spin_lock_debug': kernel/locking/spinlock_debug.c:114:3: error: implicit declaration of function '__delay' [-Werror=implicit-function-declaration] Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com> Signed-off-by: Richard Kuo <rkuo@codeaurora.org>
Diffstat (limited to 'arch/hexagon/include')
-rw-r--r--arch/hexagon/include/asm/delay.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/hexagon/include/asm/delay.h b/arch/hexagon/include/asm/delay.h
index 5307971..8933b9b1 100644
--- a/arch/hexagon/include/asm/delay.h
+++ b/arch/hexagon/include/asm/delay.h
@@ -21,6 +21,7 @@
#include <asm/param.h>
+extern void __delay(unsigned long cycles);
extern void __udelay(unsigned long usecs);
#define udelay(usecs) __udelay((usecs))
OpenPOWER on IntegriCloud