* 2.4.20pre5 trivial assembler warning fix for apm.c
@ 2002-09-05 20:15 Andreas Steinmetz
0 siblings, 0 replies; only message in thread
From: Andreas Steinmetz @ 2002-09-05 20:15 UTC (permalink / raw)
To: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 136 bytes --]
trivial fix for "Warning: indirect lcall without `*'" assembler warnings
attached.
--
Andreas Steinmetz
D.O.M. Datenverarbeitung GmbH
[-- Attachment #2: apm.c.diff --]
[-- Type: text/plain, Size: 687 bytes --]
--- arch/i386/kernel/apm.c.orig 2002-09-05 22:09:58.000000000 +0200
+++ arch/i386/kernel/apm.c 2002-09-05 22:10:32.000000000 +0200
@@ -577,7 +577,7 @@
__asm__ __volatile__(APM_DO_ZERO_SEGS
"pushl %%edi\n\t"
"pushl %%ebp\n\t"
- "lcall %%cs:" SYMBOL_NAME_STR(apm_bios_entry) "\n\t"
+ "lcall *%%cs:" SYMBOL_NAME_STR(apm_bios_entry) "\n\t"
"setc %%al\n\t"
"popl %%ebp\n\t"
"popl %%edi\n\t"
@@ -624,7 +624,7 @@
__asm__ __volatile__(APM_DO_ZERO_SEGS
"pushl %%edi\n\t"
"pushl %%ebp\n\t"
- "lcall %%cs:" SYMBOL_NAME_STR(apm_bios_entry) "\n\t"
+ "lcall *%%cs:" SYMBOL_NAME_STR(apm_bios_entry) "\n\t"
"setc %%bl\n\t"
"popl %%ebp\n\t"
"popl %%edi\n\t"
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-09-05 21:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-05 20:15 2.4.20pre5 trivial assembler warning fix for apm.c Andreas Steinmetz
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.