Move the code to update cpu_cx_count out of acpi_cpu_generic_cx_probe().
commit9a9b8f25f3d9cba03eef5fb64a0df336a796167e
authorHasso Tepper <hasso@estpak.ee>
Mon, 4 May 2009 08:43:29 +0000 (4 11:43 +0300)
committerHasso Tepper <hasso@estpak.ee>
Mon, 4 May 2009 08:50:49 +0000 (4 11:50 +0300)
treef1748d528ff82cd13385ba942f7cb954a3fd7044
parentc599bc91b0efcf5cacbf34102572106d6462b4c0
Move the code to update cpu_cx_count out of acpi_cpu_generic_cx_probe().

Put it into acpi_cpu_startup() which is where all the other code to update
this global variable lives.  This fixes a bug where cpu_cx_count was not
updated correctly if acpi_cpu_generic_cx_probe() returned early.

Obtained-from: FreeBSD
sys/dev/acpica5/acpi_cpu.c