commit | ec28297a562f2b022115b9eb82e4ea724d996240 | [log] [tgz] |
---|---|---|
author | Venki Pallipadi <venkatesh.pallipadi@intel.com> | Mon Mar 26 12:03:19 2007 -0700 |
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | Tue Mar 27 08:55:56 2007 -0700 |
tree | 37443cab75290b45b65b491f6dd56882fad38dec | |
parent | 703071b5b93d88d5acb0edd5b9dd86c69ad970f2 [diff] |
[PATCH] Fix maxcpus=1 trigerring BUG() in cpufreq Ingo reported it on lkml in the thread "2.6.21-rc5: maxcpus=1 crash in cpufreq: kernel BUG at drivers/cpufreq/cpufreq.c:82!" This check added to remove_dev is symmetric to one in add_dev and handles callbacks for offline cpus cleanly. Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com> Acked-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>