From: Huang, Ying Date: Thu, 31 Jan 2008 21:05:45 +0000 (+0100) Subject: x86: c_p_a clflush_cache_range fix X-Git-Tag: v2.6.25-rc1~1128^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d4387bd3fa1d27e03bc87533c1650e24417c8016;p=pandora-kernel.git x86: c_p_a clflush_cache_range fix Because in i386 early boot stage, boot_cpu_data may be not available, which makes clflush_cach_range() into infinite loop, which is called by change_page_attr(). This patch fixes this by setting boot_cpu_data.x86_clflush_size in early_cpu_detect(). Signed-off-by: Huang Ying Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed