x86: c_p_a clflush_cache_range fix
authorHuang, Ying <ying.huang@intel.com>
Thu, 31 Jan 2008 21:05:45 +0000 (22:05 +0100)
committerIngo Molnar <mingo@elte.hu>
Thu, 31 Jan 2008 21:05:45 +0000 (22:05 +0100)
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 <ying.huang@intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

No differences found