Commit 58c2709c authored by Thomas Mingarelli's avatar Thomas Mingarelli Committed by Wim Van Sebroeck

Revert "[WATCHDOG] make watchdog/hpwdt.c:asminline_call() static"

The driver needs the asmlinkage tag and the CFLAGS line in the Makefile.
Without it the driver doesn't work.
Signed-off-by: default avatarThomas Mingarelli <Thomas.Mingarelli@hp.com>
Signed-off-by: default avatarWim Van Sebroeck <wim@iguana.be>
parent c8988f96
...@@ -145,8 +145,8 @@ MODULE_DEVICE_TABLE(pci, hpwdt_devices); ...@@ -145,8 +145,8 @@ MODULE_DEVICE_TABLE(pci, hpwdt_devices);
#define HPWDT_ARCH 32 #define HPWDT_ARCH 32
static void asminline_call(struct cmn_registers *pi86Regs, asmlinkage void asminline_call(struct cmn_registers *pi86Regs,
unsigned long *pRomEntry) unsigned long *pRomEntry)
{ {
asm("pushl %ebp \n\t" asm("pushl %ebp \n\t"
"movl %esp, %ebp \n\t" "movl %esp, %ebp \n\t"
...@@ -333,8 +333,8 @@ static int __devinit detect_cru_service(void) ...@@ -333,8 +333,8 @@ static int __devinit detect_cru_service(void)
#define HPWDT_ARCH 64 #define HPWDT_ARCH 64
static void asminline_call(struct cmn_registers *pi86Regs, asmlinkage void asminline_call(struct cmn_registers *pi86Regs,
unsigned long *pRomEntry) unsigned long *pRomEntry)
{ {
asm("pushq %rbp \n\t" asm("pushq %rbp \n\t"
"movq %rsp, %rbp \n\t" "movq %rsp, %rbp \n\t"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment