projects
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
184e6f7
)
nds32/ag101/watchdog.S: add linkage support
author
Macpaul Lin
<macpaul@andestech.com>
Wed, 30 Nov 2011 08:01:28 +0000
(16:01 +0800)
committer
Macpaul Lin
<macpaul@gmail.com>
Tue, 28 Feb 2012 05:09:23 +0000
(13:09 +0800)
Add linkage support to watchdog.S.
Signed-off-by: Macpaul Lin <macpaul@andestech.com>
arch/nds32/cpu/n1213/ag101/watchdog.S
patch
|
blob
|
history
diff --git
a/arch/nds32/cpu/n1213/ag101/watchdog.S
b/arch/nds32/cpu/n1213/ag101/watchdog.S
index
fc39f3f
..
18f0b66
100644
(file)
--- a/
arch/nds32/cpu/n1213/ag101/watchdog.S
+++ b/
arch/nds32/cpu/n1213/ag101/watchdog.S
@@
-22,12
+22,12
@@
*/
#include <asm/arch-ag101/ag101.h>
+#include <linux/linkage.h>
.text
#ifndef CONFIG_SKIP_TRUNOFF_WATCHDOG
-.globl turnoff_watchdog
-turnoff_watchdog:
+ENTRY(turnoff_watchdog)
#define WD_CR 0xC
#define WD_ENABLE 0x1
@@
-45,4
+45,5
@@
turnoff_watchdog:
ret
+ENDPROC(turnoff_watchdog)
#endif