[2.6 patch] make watchdog/hpwdt.c:asminline_call() static

2008-02-22 Thread Adrian Bunk
This patch makes the needlessly global asminline_call() static and 
removes the not required "asmlinkage".

Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]>

---

 drivers/watchdog/hpwdt.c |8 
 1 file changed, 4 insertions(+), 4 deletions(-)

83ff67cb18105141ba2f4a9eeb5e63d5ff0818ee diff --git a/drivers/watchdog/hpwdt.c 
b/drivers/watchdog/hpwdt.c
index a2e174b..d14cfee 100644
--- a/drivers/watchdog/hpwdt.c
+++ b/drivers/watchdog/hpwdt.c
@@ -198,8 +198,8 @@ static int __devinit bios_checksum(const char __iomem *ptr, 
int len)
 
 #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"
@@ -368,8 +368,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"

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[2.6 patch] make watchdog/hpwdt.c:asminline_call() static

2008-02-22 Thread Adrian Bunk
This patch makes the needlessly global asminline_call() static and 
removes the not required asmlinkage.

Signed-off-by: Adrian Bunk [EMAIL PROTECTED]

---

 drivers/watchdog/hpwdt.c |8 
 1 file changed, 4 insertions(+), 4 deletions(-)

83ff67cb18105141ba2f4a9eeb5e63d5ff0818ee diff --git a/drivers/watchdog/hpwdt.c 
b/drivers/watchdog/hpwdt.c
index a2e174b..d14cfee 100644
--- a/drivers/watchdog/hpwdt.c
+++ b/drivers/watchdog/hpwdt.c
@@ -198,8 +198,8 @@ static int __devinit bios_checksum(const char __iomem *ptr, 
int len)
 
 #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
@@ -368,8 +368,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

--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/