dect
/
linux-2.6
Archived
13
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
linux-2.6/arch/x86/kernel/cpu/cpufreq
Ingo Molnar bfa318ad52 fix: crash: IP: __bitmap_intersects+0x48/0x73
-tip testing found this crash:

> [   35.258515] calling  acpi_cpufreq_init+0x0/0x127 @ 1
> [   35.264127] BUG: unable to handle kernel NULL pointer dereference at (null)
> [   35.267554] IP: [<ffffffff80478092>] __bitmap_intersects+0x48/0x73
> [   35.267554] PGD 0
> [   35.267554] Oops: 0000 [#1] SMP DEBUG_PAGEALLOC

arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c is still broken: there's no
allocation of the variable mask, so we pass in an uninitialized cmd.mask
field to drv_read(), which then passes it to the scheduler which then
crashes ...

Switch it over to the much simpler constant-cpumask-pointers approach.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
2009-01-20 00:17:01 +01:00
..
Kconfig [CPUFREQ] Remove EXPERIMENTAL annotation from VIA C7 powersaver kconfig. 2008-08-08 16:00:48 -04:00
Makefile i386: move kernel/cpu/cpufreq 2007-10-11 11:16:27 +02:00
acpi-cpufreq.c fix: crash: IP: __bitmap_intersects+0x48/0x73 2009-01-20 00:17:01 +01:00
cpufreq-nforce2.c x86: coding style fixes to x86/kernel/cpu/cpufreq/cpufreq-nforce2.c 2008-06-18 15:00:14 +02:00
e_powersaver.c [CPUFREQ] Remove debugging message from e_powersaver 2008-03-05 14:45:31 -05:00
elanfreq.c [CPUFREQ] Coding style fixes to arch/x86/kernel/cpu/cpufreq/elanfreq.c 2008-10-09 13:52:42 -04:00
gx-suspmod.c [CPUFREQ] gx-suspmod.c: use boot_cpu_data instead of current_cpu_data 2008-02-06 22:57:58 -05:00
longhaul.c remove lots of double-semicolons 2009-01-08 08:31:14 -08:00
longhaul.h i386: move kernel/cpu/cpufreq 2007-10-11 11:16:27 +02:00
longrun.c [CPUFREQ] Crusoe: longrun cpufreq module reports false min freq 2008-05-19 18:17:28 -04:00
p4-clockmod.c cpumask: convert struct cpufreq_policy to cpumask_var_t 2009-01-06 09:05:31 +01:00
powernow-k6.c Update email addresses. 2008-10-20 12:50:03 -07:00
powernow-k7.c cpumask: convert shared_cpu_map in acpi_processor* structs to cpumask_var_t 2009-01-03 19:15:40 +01:00
powernow-k7.h [CPUFREQ] cpufreq: remove CVS keywords 2008-05-19 18:17:49 -04:00
powernow-k8.c cpumask: convert struct cpufreq_policy to cpumask_var_t 2009-01-06 09:05:31 +01:00
powernow-k8.h cpumask: convert struct cpufreq_policy to cpumask_var_t 2009-01-06 09:05:31 +01:00
sc520_freq.c x86: convert cpuinfo_x86 array to a per_cpu array 2007-10-19 20:35:04 +02:00
speedstep-centrino.c cpumask: convert struct cpufreq_policy to cpumask_var_t 2009-01-06 09:05:31 +01:00
speedstep-ich.c cpumask: convert struct cpufreq_policy to cpumask_var_t 2009-01-06 09:05:31 +01:00
speedstep-lib.c [CPUFREQ] add to speedstep-lib additional fsb values for core processors 2008-12-05 15:20:11 -05:00
speedstep-lib.h i386: move kernel/cpu/cpufreq 2007-10-11 11:16:27 +02:00
speedstep-smi.c x86, cpufreq: fix Speedfreq-SMI call that clobbers ECX 2008-03-26 22:23:40 +01:00