<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/acpi/internal.h, branch linux-2.6.31.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.31.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.31.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2009-03-27T16:51:31Z</updated>
<entry>
<title>ACPI: call acpi_wakeup_device_init() explicitly rather than as initcall</title>
<updated>2009-03-27T16:51:31Z</updated>
<author>
<name>Bjorn Helgaas</name>
</author>
<published>2009-03-24T22:50:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=201b8c655f7a48563f6a0b66f9e388460a1ea611'/>
<id>urn:sha1:201b8c655f7a48563f6a0b66f9e388460a1ea611</id>
<content type='text'>
This patch makes acpi_init() call acpi_wakeup_device_init() directly.
Previously, acpi_wakeup_device_init() was a late_initcall (sequence 7).

acpi_wakeup_device_init() depends on acpi_wakeup_device_list, which
is populated when ACPI devices are enumerated by acpi_init() -&gt;
acpi_scan_init().  Using late_initcall is certainly enough to make
sure acpi_wakeup_device_list is populated, but it is more than
necessary.  We can just as easily call acpi_wakeup_device_init()
directly from acpi_init(), which avoids the initcall magic.

Signed-off-by: Bjorn Helgaas &lt;bjorn.helgaas@hp.com&gt;
CC: Li Shaohua &lt;shaohua.li@intel.com&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>ACPI: call acpi_sleep_proc_init() explicitly rather than as initcall</title>
<updated>2009-03-27T16:51:23Z</updated>
<author>
<name>Bjorn Helgaas</name>
</author>
<published>2009-03-24T22:50:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9cee43e07940bee13462e63bd75ce4430b155886'/>
<id>urn:sha1:9cee43e07940bee13462e63bd75ce4430b155886</id>
<content type='text'>
This patch makes acpi_init() call acpi_sleep_proc_init() directly.
Previously, acpi_sleep_proc_init() was a late_initcall (sequence 7),
apparently to make sure that the /proc hierarchy already exists:

    2003/02/13 12:38:03-06:00 mochel
    acpi sleep: demote sleep proc file creation.

    - Make acpi_sleep_proc_init() a late_initcall(), and not called from
      acpi_sleep_init(). This guarantees that the acpi proc hierarchy is at
      least there when we create the dang file.

This should no longer be an issue because acpi_bus_init() (called early
in acpi_init()) creates acpi_root_dir (/proc/acpi).

Signed-off-by: Bjorn Helgaas &lt;bjorn.helgaas@hp.com&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>ACPI: call init_acpi_device_notify() explicitly rather than as initcall</title>
<updated>2009-03-27T16:51:16Z</updated>
<author>
<name>Bjorn Helgaas</name>
</author>
<published>2009-03-24T22:50:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0e46517d9660ee6ae0a0c5d8a4e50451bc84d61d'/>
<id>urn:sha1:0e46517d9660ee6ae0a0c5d8a4e50451bc84d61d</id>
<content type='text'>
This patch makes acpi_init() call init_acpi_device_notify() directly.
Previously, init_acpi_device_notify() was an arch_initcall (sequence 3),
so it was called before acpi_init() (a subsys_initcall at sequence 4).

init_acpi_device_notify() sets the platform_notify and
platform_notify_remove function pointers.  These pointers
are not used until acpi_init() enumerates ACPI devices in
this path:

    acpi_init()
	    acpi_scan_init()
		acpi_bus_scan()
		    acpi_add_single_object()
			acpi_device_register()
			    device_add()
				&lt;use platform_notify&gt;

So it is sufficient to have acpi_init() call init_acpi_device_notify()
directly before it enumerates devices.

Signed-off-by: Bjorn Helgaas &lt;bjorn.helgaas@hp.com&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>ACPI: call acpi_debug_init() explicitly rather than as initcall</title>
<updated>2009-03-27T16:50:29Z</updated>
<author>
<name>Bjorn Helgaas</name>
</author>
<published>2009-03-24T22:50:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=84f810c33f695e020776ce66c903e0b41872f1b2'/>
<id>urn:sha1:84f810c33f695e020776ce66c903e0b41872f1b2</id>
<content type='text'>
This patch makes acpi_init() call acpi_debug_init() directly.
Previously, both were subsys_initcalls.  acpi_debug_init()
must happen after acpi_init(), and it's better to call it
explicitly rather than rely on link ordering.

Signed-off-by: Bjorn Helgaas &lt;bjorn.helgaas@hp.com&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>ACPI: call acpi_system_init() explicitly rather than as initcall</title>
<updated>2009-03-27T16:50:19Z</updated>
<author>
<name>Bjorn Helgaas</name>
</author>
<published>2009-03-24T22:49:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=141a0af3cab7de690816b17aad1682050219f774'/>
<id>urn:sha1:141a0af3cab7de690816b17aad1682050219f774</id>
<content type='text'>
This patch makes acpi_init() call acpi_system_init() directly.
Previously, both were subsys_initcalls.  acpi_system_init()
must happen after acpi_init(), and it's better to call it
explicitly rather than rely on link ordering.

Signed-off-by: Bjorn Helgaas &lt;bjorn.helgaas@hp.com&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>ACPI: call acpi_power_init() explicitly rather than as initcall</title>
<updated>2009-03-27T16:50:11Z</updated>
<author>
<name>Bjorn Helgaas</name>
</author>
<published>2009-03-24T22:49:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=44515374cba9e46d5622256b43eb06b9c349cee1'/>
<id>urn:sha1:44515374cba9e46d5622256b43eb06b9c349cee1</id>
<content type='text'>
This patch makes acpi_init() call acpi_power_init() directly.
Previously, both were subsys_initcalls.  acpi_power_init()
must happen after acpi_init(), and it's better to call it
explicitly rather than rely on link ordering.

Signed-off-by: Bjorn Helgaas &lt;bjorn.helgaas@hp.com&gt;
CC: Zhao Yakui &lt;yakui.zhao@intel.com&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>ACPI: call acpi_ec_init() explicitly rather than as initcall</title>
<updated>2009-03-27T16:50:02Z</updated>
<author>
<name>Bjorn Helgaas</name>
</author>
<published>2009-03-24T22:49:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a5f820feb54a59fcdaf4a67a6381ea1ddb36cc6e'/>
<id>urn:sha1:a5f820feb54a59fcdaf4a67a6381ea1ddb36cc6e</id>
<content type='text'>
This patch makes acpi_init() call acpi_ec_init() directly.
Previously, both were subsys_initcalls.  acpi_ec_init()
must happen after acpi_init(), and it's better to call it
explicitly rather than rely on link ordering.

Signed-off-by: Bjorn Helgaas &lt;bjorn.helgaas@hp.com&gt;
CC: Alexey Starikovskiy &lt;astarikovskiy@suse.de&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>ACPI: call acpi_scan_init() explicitly rather than as initcall</title>
<updated>2009-03-27T16:49:47Z</updated>
<author>
<name>Bjorn Helgaas</name>
</author>
<published>2009-03-24T22:49:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e747f274951507b5a0850155c3d709e26d20de5b'/>
<id>urn:sha1:e747f274951507b5a0850155c3d709e26d20de5b</id>
<content type='text'>
This patch makes acpi_init() call acpi_scan_init() directly.

Previously, both acpi_init() and acpi_scan_init() were subsys_initcalls,
and acpi_init() was called first based on the link order from the
makefile (bus.o before scan.o).

acpi_scan_init() registers the ACPI bus type, creates the root device,
and enumerates fixed-feature and namespace devices.  All of this must
be done after acpi_init(), and it's better to call acpi_scan_init()
explicitly rather than rely on the link ordering.

Signed-off-by: Bjorn Helgaas &lt;bjorn.helgaas@hp.com&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>ACPI: move private declarations to internal.h</title>
<updated>2009-03-17T06:09:24Z</updated>
<author>
<name>Bjorn Helgaas</name>
</author>
<published>2009-03-13T18:08:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e60cc7a6f02598fc23c68a656fe9c263d6531ca0'/>
<id>urn:sha1:e60cc7a6f02598fc23c68a656fe9c263d6531ca0</id>
<content type='text'>
A number of things that shouldn't be exposed outside the ACPI core
were declared in include/acpi/acpi_drivers.h, where anybody can
see them.  This patch moves those declarations to a new "internal.h"
inside drivers/acpi.

Signed-off-by: Bjorn Helgaas &lt;bjorn.helgaas@hp.com&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
</feed>
