mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-17 01:34:00 +08:00
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: Thomas Mingarelli <Thomas.Mingarelli@hp.com> Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
This commit is contained in:
parent
c8988f9682
commit
58c2709c2b
@ -145,7 +145,7 @@ MODULE_DEVICE_TABLE(pci, hpwdt_devices);
|
||||
|
||||
#define HPWDT_ARCH 32
|
||||
|
||||
static void asminline_call(struct cmn_registers *pi86Regs,
|
||||
asmlinkage void asminline_call(struct cmn_registers *pi86Regs,
|
||||
unsigned long *pRomEntry)
|
||||
{
|
||||
asm("pushl %ebp \n\t"
|
||||
@ -333,7 +333,7 @@ static int __devinit detect_cru_service(void)
|
||||
|
||||
#define HPWDT_ARCH 64
|
||||
|
||||
static void asminline_call(struct cmn_registers *pi86Regs,
|
||||
asmlinkage void asminline_call(struct cmn_registers *pi86Regs,
|
||||
unsigned long *pRomEntry)
|
||||
{
|
||||
asm("pushq %rbp \n\t"
|
||||
|
Loading…
Reference in New Issue
Block a user