lkml.org 
[lkml]   [2008]   [Mar]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 120/148] include/asm-x86/suspend_32.h: checkpatch cleanups - formatting only
    On Sun, Mar 23, 2008 at 01:03:35AM -0700, Joe Perches wrote:
    > --- a/include/asm-x86/suspend_32.h
    > +++ b/include/asm-x86/suspend_32.h
    > @@ -32,11 +32,11 @@ extern unsigned long saved_edi;
    > static inline void acpi_save_register_state(unsigned long return_point)
    > {
    > saved_eip = return_point;
    > - asm volatile ("movl %%esp,%0" : "=m" (saved_esp));
    > - asm volatile ("movl %%ebp,%0" : "=m" (saved_ebp));
    > - asm volatile ("movl %%ebx,%0" : "=m" (saved_ebx));
    > - asm volatile ("movl %%edi,%0" : "=m" (saved_edi));
    > - asm volatile ("movl %%esi,%0" : "=m" (saved_esi));
    > + asm volatile("movl %%esp,%0" : "=m" (saved_esp));
    > + asm volatile("movl %%ebp,%0" : "=m" (saved_ebp));
    > + asm volatile("movl %%ebx,%0" : "=m" (saved_ebx));
    > + asm volatile("movl %%edi,%0" : "=m" (saved_edi));
    > + asm volatile("movl %%esi,%0" : "=m" (saved_esi));

    Since when "volatile" became a function?



    \
     
     \ /
      Last update: 2008-03-23 10:15    [W:3.768 / U:0.064 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site