linux/arch/x86/kernel/cpu
Greg KH 213eca7f48 kobj: fix threshold_init_device/kobject_uevent_env oops
the logic in this function is just crazy.  It's recursive, but we
can circumvent the creation for the kobject and whole creation of the
threshold_block if some conditions are met.  That's why we see the
allocate_threshold_blocks so many times in the callstack, yet only a few
kobjects created.

Then we blow up in kobject_uevent_env() on the first debug printk.
Which means that we are just passing in garbage.

Man, this is one time that comments in code would have been very nice to
have, and why forward goto's into major code blocks are just evil...

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2008-01-30 13:29:58 +01:00
..
cpufreq Merge master.kernel.org:/pub/scm/linux/kernel/git/davej/cpufreq 2007-11-16 18:30:26 -08:00
mcheck kobj: fix threshold_init_device/kobject_uevent_env oops 2008-01-30 13:29:58 +01:00
mtrr cpu-hotplug: replace lock_cpu_hotplug() with get_online_cpus() 2008-01-25 21:08:02 +01:00
Makefile x86: prepare consolidation of cpu/ related Makefiles 2007-10-23 22:37:23 +02:00
addon_cpuid_features.c
amd.c spelling fixes: arch/i386/ 2007-10-20 01:13:56 +02:00
bugs.c Delete filenames in comments. 2007-10-13 10:01:23 -07:00
centaur.c spelling fixes: arch/i386/ 2007-10-20 01:13:56 +02:00
common.c spelling fixes: arch/i386/ 2007-10-20 01:13:56 +02:00
cpu.h
cyrix.c spelling fixes: arch/i386/ 2007-10-20 01:13:56 +02:00
intel.c i386: fix section mismatch warning in intel.c 2007-10-17 20:15:26 +02:00
intel_cacheinfo.c Kobject: convert arch/* from kobject_unregister() to kobject_put() 2008-01-24 20:40:39 -08:00
nexgen.c
perfctr-watchdog.c i386: do not BUG_ON() when MSR is unknown 2007-10-19 20:35:04 +02:00
proc.c x86: show cpuinfo only for online CPUs 2007-11-17 16:27:00 +01:00
transmeta.c
umc.c