public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] ACPI: improve modularity and remove initcalls
@ 2008-11-14 23:02 Bjorn Helgaas
  2008-11-14 23:02 ` [PATCH 1/4] ACPI: pci: make new pci.h header local to driver Bjorn Helgaas
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Bjorn Helgaas @ 2008-11-14 23:02 UTC (permalink / raw)
  To: linux-acpi; +Cc: Zhao Yakui, Alexey Starikovskiy

I'm on a quest to improve modularity and remove initcalls.

When possible, we should avoid initcalls because the order they
happen depends on the module link order, so innocuous makefile
changes can break things.

Yakui, I think I addressed your comments about sysfs duplicate
filenames (I think the link order dependency was removed by
commit 9b473de87209fa86eb421b23386693b461612f30).  But if not,
let me know.

Len, instead of making drivers/acpi/acpi.h, I made a
drivers/acpi/acpi_core.h.  The things in there shouldn't be
visible outside of drivers/acpi, so I don't really want to
put them in include/acpi/acpi_drivers.h.

I also added new pci.h and processor.h header files in drivers/acpi
for those drivers.  You mentioned Bob's ongoing header clean-up,
but I assume he's concentrating on the ACPI CA, whereas the ones
I added are for Linux drivers.

Comments welcome.

Bjorn

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-11-14 23:03 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-14 23:02 [PATCH 0/4] ACPI: improve modularity and remove initcalls Bjorn Helgaas
2008-11-14 23:02 ` [PATCH 1/4] ACPI: pci: make new pci.h header local to driver Bjorn Helgaas
2008-11-14 23:02 ` [PATCH 2/4] ACPI: processor: make new processor.h " Bjorn Helgaas
2008-11-14 23:02 ` [PATCH 3/4] ACPI: move internal core declaration to private header Bjorn Helgaas
2008-11-14 23:03 ` [PATCH 4/4] ACPI: call core init functions explicitly instead of using initcalls Bjorn Helgaas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox