aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/watchdog
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-02-22 14:58:02 -0500
committerWim Van Sebroeck <wim@iguana.be>2008-03-06 16:32:21 -0500
commit8b1266f43d2671cbfc240bfd38fc77c6db02de54 (patch)
treefb1fa944626134f731f44de469edf5e8e8682f23 /drivers/watchdog
parent996d62d449a7d5e691b0da22b7c877df08c2b0a4 (diff)
[WATCHDOG] make watchdog/hpwdt.c:asminline_call() static
This patch makes the needlessly global asminline_call() static and removes the not required "asmlinkage". Signed-off-by: Adrian Bunk <bunk@kernel.org> Acked-by: Thomas Mingarelli <Thomas.Mingarelli@hp.com> Signed-off-by: Wim Van Sebroeck <wim@iguana.be> Cc: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'drivers/watchdog')
-rw-r--r--drivers/watchdog/hpwdt.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/watchdog/hpwdt.c b/drivers/watchdog/hpwdt.c
index 2686f3eaeedf..6483d1066b95 100644
--- a/drivers/watchdog/hpwdt.c
+++ b/drivers/watchdog/hpwdt.c
@@ -145,8 +145,8 @@ MODULE_DEVICE_TABLE(pci, hpwdt_devices);
145 145
146#define HPWDT_ARCH 32 146#define HPWDT_ARCH 32
147 147
148asmlinkage void asminline_call(struct cmn_registers *pi86Regs, 148static void asminline_call(struct cmn_registers *pi86Regs,
149 unsigned long *pRomEntry) 149 unsigned long *pRomEntry)
150{ 150{
151 asm("pushl %ebp \n\t" 151 asm("pushl %ebp \n\t"
152 "movl %esp, %ebp \n\t" 152 "movl %esp, %ebp \n\t"
@@ -333,8 +333,8 @@ static int __devinit detect_cru_service(void)
333 333
334#define HPWDT_ARCH 64 334#define HPWDT_ARCH 64
335 335
336asmlinkage void asminline_call(struct cmn_registers *pi86Regs, 336static void asminline_call(struct cmn_registers *pi86Regs,
337 unsigned long *pRomEntry) 337 unsigned long *pRomEntry)
338{ 338{
339 asm("pushq %rbp \n\t" 339 asm("pushq %rbp \n\t"
340 "movq %rsp, %rbp \n\t" 340 "movq %rsp, %rbp \n\t"