[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>
This commit is contained in:
Adrian Bunk 2008-02-22 21:58:02 +02:00 коммит произвёл Wim Van Sebroeck
Родитель 996d62d449
Коммит 8b1266f43d
1 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -145,7 +145,7 @@ MODULE_DEVICE_TABLE(pci, hpwdt_devices);
#define HPWDT_ARCH 32 #define HPWDT_ARCH 32
asmlinkage void asminline_call(struct cmn_registers *pi86Regs, static void asminline_call(struct cmn_registers *pi86Regs,
unsigned long *pRomEntry) unsigned long *pRomEntry)
{ {
asm("pushl %ebp \n\t" asm("pushl %ebp \n\t"
@ -333,7 +333,7 @@ static int __devinit detect_cru_service(void)
#define HPWDT_ARCH 64 #define HPWDT_ARCH 64
asmlinkage void asminline_call(struct cmn_registers *pi86Regs, static void asminline_call(struct cmn_registers *pi86Regs,
unsigned long *pRomEntry) unsigned long *pRomEntry)
{ {
asm("pushq %rbp \n\t" asm("pushq %rbp \n\t"