Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=a795ca5852fb944f21bd71c1230fcc5456e7d5ef
Commit:     a795ca5852fb944f21bd71c1230fcc5456e7d5ef
Parent:     615d5f235b6c402ca01098a828c3d67e79e57cb6
Author:     Rusty Russell <[EMAIL PROTECTED]>
AuthorDate: Mon Feb 12 14:39:38 2007 +1100
Committer:  Len Brown <[EMAIL PROTECTED]>
CommitDate: Tue Feb 13 00:09:13 2007 -0500

    ACPI: cleanup: make disable_acpi() valid w/o CONFIG_ACPI
    
    Len Brown <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]>
    Signed-off-by: Len Brown <[EMAIL PROTECTED]>
---
 include/asm-i386/acpi.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/include/asm-i386/acpi.h b/include/asm-i386/acpi.h
index 5e657eb..449f3f2 100644
--- a/include/asm-i386/acpi.h
+++ b/include/asm-i386/acpi.h
@@ -127,6 +127,7 @@ extern int acpi_irq_balance_set(char *str);
 #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 git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to