From: Fenghua Yu Date: Tue, 7 Aug 2007 22:40:30 +0000 (-0400) Subject: acpi-cpufreq: Fix some x86/x86-64 acpi-cpufreq driver issues X-Git-Tag: v2.6.23-rc3~5^2~1^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=501092929ccb8a1d2eb0ed700e38df4ae0de7108;p=pandora-kernel.git acpi-cpufreq: Fix some x86/x86-64 acpi-cpufreq driver issues This patch addresses some issues in x86/x86-64 acpi-cpufreq driver: 1. Current memory allocation for acpi_perf_data is actually open-coded alloc_percpu(). The patch defines and handles acpi_perf_data as percpu data. The code will be cleaner and easier to be maintained with this change. 2. Won't load driver in acpi_cpufreq_early_init() failure case. 3. Add __init for acpi_cpufreq_early_init(). Signed-off-by: Fenghua Yu Acked-by: Venkatesh Pallipadi Cc: Dave Jones Signed-off-by: Andrew Morton Signed-off-by: Len Brown --- Reading git-diff-tree failed