commit | d4387bd3fa1d27e03bc87533c1650e24417c8016 | [log] [tgz] |
---|---|---|
author | Huang, Ying <ying.huang@intel.com> | Thu Jan 31 22:05:45 2008 +0100 |
committer | Ingo Molnar <mingo@elte.hu> | Thu Jan 31 22:05:45 2008 +0100 |
tree | 14103cb3d7d19f05c70ca5747c2c1c452c013dc9 | |
parent | 5827040df095d8dd6b5ca155dc4bfb5bafcb6ca2 [diff] |
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 <ying.huang@intel.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>