lkml.org 
[lkml]   [2008]   [Mar]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 055/148] include/asm-x86/irqflags.h: checkpatch cleanups - formatting only
    Date

    Signed-off-by: Joe Perches <joe@perches.com>
    ---
    include/asm-x86/irqflags.h | 30 +++++++++++++-----------------
    1 files changed, 13 insertions(+), 17 deletions(-)

    diff --git a/include/asm-x86/irqflags.h b/include/asm-x86/irqflags.h
    index 92021c1..c242527 100644
    --- a/include/asm-x86/irqflags.h
    +++ b/include/asm-x86/irqflags.h
    @@ -12,25 +12,21 @@ static inline unsigned long native_save_fl(void)
    {
    unsigned long flags;

    - __asm__ __volatile__(
    - "# __raw_save_flags\n\t"
    - "pushf ; pop %0"
    - : "=g" (flags)
    - : /* no input */
    - : "memory"
    - );
    + asm volatile("# __raw_save_flags\n\t"
    + "pushf ; pop %0"
    + : "=g" (flags)
    + : /* no input */
    + : "memory");

    return flags;
    }

    static inline void native_restore_fl(unsigned long flags)
    {
    - __asm__ __volatile__(
    - "push %0 ; popf"
    - : /* no output */
    - :"g" (flags)
    - :"memory", "cc"
    - );
    + asm volatile("push %0 ; popf"
    + : /* no output */
    + :"g" (flags)
    + :"memory", "cc");
    }

    static inline void native_irq_disable(void)
    @@ -131,11 +127,11 @@ static inline unsigned long __raw_local_irq_save(void)
    #endif /* CONFIG_PARAVIRT */

    #ifndef __ASSEMBLY__
    -#define raw_local_save_flags(flags) \
    - do { (flags) = __raw_local_save_flags(); } while (0)
    +#define raw_local_save_flags(flags) \
    + do { (flags) = __raw_local_save_flags(); } while (0)

    -#define raw_local_irq_save(flags) \
    - do { (flags) = __raw_local_irq_save(); } while (0)
    +#define raw_local_irq_save(flags) \
    + do { (flags) = __raw_local_irq_save(); } while (0)

    static inline int raw_irqs_disabled_flags(unsigned long flags)
    {
    --
    1.5.4.rc2


    \
     
     \ /
      Last update: 2008-03-23 09:21    [W:0.021 / U:61.048 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site