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]> =================================================================== --- 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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [PATCH 7/7] cleanup: make disable_acpi() valid w/o CONFIG_ACPI
- From: Len Brown <[email protected]>
- [PATCH 1/2] lguest preparation: EXPORT_SYMBOL_GPL 5 functions
- From: Rusty Russell <[email protected]>
- Re: [PATCH 7/7] cleanup: make disable_acpi() valid w/o CONFIG_ACPI
- References:
- [PATCH 1/7] cleanup: paravirt unhandled fallthrough
- From: Rusty Russell <[email protected]>
- [PATCH 2/7] cleanup: Initialize esp0 properly all the time
- From: Rusty Russell <[email protected]>
- [PATCH 3/7] cleanup: Make hvc_console.c compile on non-PowerPC
- From: Rusty Russell <[email protected]>
- [PATCH 4/7] cleanup: Move mce_disabled to asm/mce.h
- From: Rusty Russell <[email protected]>
- [PATCH 5/7] cleanup: Rename cpu_gdt_descr and remove extern declaration from smpboot.c
- From: Rusty Russell <[email protected]>
- [PATCH 6/7] cleanup: Remove extern declaration from mm/discontig.c, put in header.
- From: Rusty Russell <[email protected]>
- [PATCH 1/7] cleanup: paravirt unhandled fallthrough
- Prev by Date: [PATCH 6/7] cleanup: Remove extern declaration from mm/discontig.c, put in header.
- Next by Date: [PATCH 1/2] lguest preparation: EXPORT_SYMBOL_GPL 5 functions
- Previous by thread: [PATCH 6/7] cleanup: Remove extern declaration from mm/discontig.c, put in header.
- Next by thread: [PATCH 1/2] lguest preparation: EXPORT_SYMBOL_GPL 5 functions
- Index(es):