Thread (3 messages) 3 messages, 2 authors, 2004-08-25

Re: CONFIG_ACPI

From: Len Brown <hidden>
Date: 2004-08-25 06:40:43

On Tue, 2004-08-17 at 17:50, Len Brown wrote:
Looking over the ACPI config options,
it feels like time for some spring cleaning...

In 2.4 it was common to build with CONFIG_ACPI_BOOT
but without CONFIG_ACPI to enable HT.  Nobody really
does that much in 2.6; and actually quite a number
of people of complained about how bogus it is.

I'd like to make everything with "ACPI" in it
depend on CONFIG_ACPI. (except the e820 stuff,
which isn't conditionally compiled, even though
it is part of ACPI)

I think we can also get rid of
CONFIG_ACPI_BOOT
CONFIG_ACPI_INTERPRETER
CONFIG_ACPI_BUS
CONFIG_ACPI_EC

as they're synonymous with CONFIG_ACPI.

I did the above except left CONFIG_ACPI_EC alone for now;
plus I deleted
CONFIG_ACPI_POWER
CONFIG_ACPI_SYSTEM.
and stale references to CONFIG_SGI_SN

patch attached.

cheers,
-Len

arch/i386/Kconfig                |    2 -
 arch/i386/kernel/Makefile        |    2 -
 arch/i386/kernel/acpi/Makefile   |    2 -
 arch/i386/kernel/acpi/boot.c     |   12 +------
 arch/i386/kernel/dmi_scan.c      |    6 +--
 arch/i386/kernel/io_apic.c       |    4 +-
 arch/i386/kernel/mpparse.c       |   14 +++-----
 arch/i386/kernel/setup.c         |    8 ++---
 drivers/Makefile                 |    2 -
 drivers/acpi/Kconfig             |   62
+++++++--------------------------------
 drivers/acpi/Makefile            |   19 ++++++-----
 drivers/acpi/acpi_ksyms.c        |    8 -----
 drivers/char/ipmi/ipmi_si_intf.c |    4 +-
 include/acpi/acpi_bus.h          |    4 +-
 include/acpi/acpi_drivers.h      |    4 --
 include/asm-i386/acpi.h          |    4 +-
 include/asm-i386/fixmap.h        |    2 -
 include/asm-i386/io_apic.h       |    4 +-
 include/asm-i386/mpspec.h        |    4 +-
 include/linux/acpi.h             |   12 +++----
 sound/drivers/mpu401/mpu401.c    |    6 +--
 21 files changed, 63 insertions(+), 122 deletions(-)

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help