From: Yinghai Lu Date: Thu, 17 Feb 2011 13:46:37 +0000 (+0100) Subject: x86-64, NUMA: Don't call __pa() with invalid address in numa_reset_distance() X-Git-Tag: v2.6.39-rc1~499^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2ca230baeb7c61864cab9b53e37a3da28a2ca7e5;p=pandora-kernel.git x86-64, NUMA: Don't call __pa() with invalid address in numa_reset_distance() Do not call __pa(numa_distance) if it was not allocated before. Calling with invalid address triggers VIRTUAL_BUG_ON() in __phys_addr() if CONFIG_DEBUG_VIRTUAL. Also reported by Ingo. http://thread.gmane.org/gmane.linux.kernel/1101306/focus=1101785 - v2: Change to check existing path as tj requested. - tj: Description update. Signed-off-by: Yinghai Lu Signed-off-by: Tejun Heo Reported-by: Ingo Molnar --- Reading git-diff-tree failed