lkml.org 
[lkml]   [2007]   [Feb]   [13]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
    /
    FromLen Brown <>
    SubjectRe: [PATCH 7/7] cleanup: make disable_acpi() valid w/o CONFIG_ACPI
    DateTue, 13 Feb 2007 00:09:36 -0500
    Applied.
    
    thanks,
    -Len
    
    On Sunday 11 February 2007 22:39, Rusty Russell wrote:
    > Len Brown <lenb@kernel.org> said:
    > > Okay, but better to use disable_acpi()
    > > indeed, since this would be the first code not already inside CONFIG_ACPI
    > > to invoke disable_acpi(), we could define the inline as empty and you could
    > > then scratch the #ifdef too.
    > 
    > Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
    > 
    > ===================================================================
    > --- a/include/asm-i386/acpi.h
    > +++ b/include/asm-i386/acpi.h
    > @@ -127,6 +127,7 @@ extern int acpi_irq_balance_set(char *st
    >  #define acpi_ioapic 0
    >  static inline void acpi_noirq_set(void) { }
    >  static inline void acpi_disable_pci(void) { }
    > +static inline void disable_acpi(void) { }
    > 
    >  #endif	/* !CONFIG_ACPI */
    > 
    > 
    > 
    > -
    > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    > the body of a message to majordomo@vger.kernel.org
    > More majordomo info at  http://vger.kernel.org/majordomo-info.html
    > Please read the FAQ at  http://www.tux.org/lkml/
    > 
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at  http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at  http://www.tux.org/lkml/
    
    
    \
     
     \ /
      Last update: 2007-02-13 06:13    [from the cache]
    ©2003-2008