lkml.org 
[lkml]   [2002]   [Sep]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject2.4.20pre5 trivial assembler warning fix for apm.c
    trivial fix for "Warning: indirect lcall without `*'" assembler warnings
    attached.
    --
    Andreas Steinmetz
    D.O.M. Datenverarbeitung GmbH

    --- 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"
    \
     
     \ /
      Last update: 2005-03-22 13:28    [W:0.022 / U:0.840 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site