]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
Revert "[WATCHDOG] make watchdog/hpwdt.c:asminline_call() static"
authorThomas Mingarelli <Thomas.Mingarelli@hp.com>
Thu, 12 Jun 2008 20:20:32 +0000 (20:20 +0000)
committerWim Van Sebroeck <wim@iguana.be>
Tue, 17 Jun 2008 20:43:48 +0000 (20:43 +0000)
The driver needs the asmlinkage tag and the CFLAGS line in the Makefile.
Without it the driver doesn't work.

Signed-off-by: Thomas Mingarelli <Thomas.Mingarelli@hp.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/hpwdt.c

index 6a63535fc04d31832304084d57f917c927b50cc6..2bc1f74433ce1a0fe0ffebd634dd81586601f586 100644 (file)
@@ -145,8 +145,8 @@ MODULE_DEVICE_TABLE(pci, hpwdt_devices);
 
 #define HPWDT_ARCH     32
 
-static void asminline_call(struct cmn_registers *pi86Regs,
-                          unsigned long *pRomEntry)
+asmlinkage void asminline_call(struct cmn_registers *pi86Regs,
+                              unsigned long *pRomEntry)
 {
        asm("pushl       %ebp               \n\t"
            "movl        %esp, %ebp         \n\t"
@@ -333,8 +333,8 @@ static int __devinit detect_cru_service(void)
 
 #define HPWDT_ARCH     64
 
-static void asminline_call(struct cmn_registers *pi86Regs,
-                          unsigned long *pRomEntry)
+asmlinkage void asminline_call(struct cmn_registers *pi86Regs,
+                              unsigned long *pRomEntry)
 {
        asm("pushq      %rbp            \n\t"
            "movq       %rsp, %rbp      \n\t"