From: Mike Travis Date: Wed, 30 Jan 2008 12:30:55 +0000 (+0100) Subject: x86: prevent dereferencing non-allocated per_cpu variables X-Git-Tag: v2.6.25-rc1~1143^2~684 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7bf0c23ed24b0d95a2a717f86dce1f210e16f8a5;p=pandora-kernel.git x86: prevent dereferencing non-allocated per_cpu variables 'for_each_possible_cpu(i)' when there's a _remote possibility_ of dereferencing a non-allocated per_cpu variable involved. All files except mm/vmstat.c are x86 arch. Thanks to pageexec@freemail.hu for pointing this out. Signed-off-by: Mike Travis Cc: Christoph Lameter Cc: Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner --- Reading git-diff-tree failed