From: Brian Gerst Date: Sun, 8 Feb 2009 14:58:40 +0000 (-0500) Subject: x86: fix abuse of per_cpu_offset X-Git-Tag: v2.6.30-rc1~2^2~50^2~41 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=44581a28e805a31661469c4b466b9cd14b36e7b6;p=pandora-kernel.git x86: fix abuse of per_cpu_offset Impact: bug fix Don't use per_cpu_offset() to determine if it valid to access a per-cpu variable for a given cpu number. It is not a valid assumption on x86-64 anymore. Use cpu_possible() instead. Signed-off-by: Brian Gerst Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed