mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
[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 <[email protected]> Acked-by: Thomas Mingarelli <[email protected]> Signed-off-by: Wim Van Sebroeck <[email protected]> Cc: Andrew Morton <[email protected]>
This commit is contained in:
parent
996d62d449
commit
8b1266f43d
1 changed files with 4 additions and 4 deletions
|
|
@ -145,8 +145,8 @@ MODULE_DEVICE_TABLE(pci, hpwdt_devices);
|
|||
|
||||
#define HPWDT_ARCH 32
|
||||
|
||||
asmlinkage void asminline_call(struct cmn_registers *pi86Regs,
|
||||
unsigned long *pRomEntry)
|
||||
static 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
|
||||
|
||||
asmlinkage void asminline_call(struct cmn_registers *pi86Regs,
|
||||
unsigned long *pRomEntry)
|
||||
static void asminline_call(struct cmn_registers *pi86Regs,
|
||||
unsigned long *pRomEntry)
|
||||
{
|
||||
asm("pushq %rbp \n\t"
|
||||
"movq %rsp, %rbp \n\t"
|
||||
|
|
|
|||
Loading…
Reference in a new issue