1. 01 2月, 2008 5 次提交
    • H
      x86: fix sparse warning in kernel/scx200_32.c · 706b7e15
      Harvey Harrison 提交于
      arch/x86/kernel/scx200_32.c:68:72: warning: Using plain integer as NULL pointer
      Signed-off-by: NHarvey Harrison <harvey.harrison@gmail.com>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      706b7e15
    • H
      x86: early_ioremap_reset fix 2 · 1fd6a53d
      Huang, Ying 提交于
      This patch fixes a bug of early_ioremap_reset(), which had been fixed
      before by "convert the boot time page table to the kernels native
      format" patch. But that patch has been reverted now.
      Signed-off-by: NHuang Ying <ying.huang@intel.com>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      1fd6a53d
    • H
      x86: c_p_a clflush_cache_range fix · d4387bd3
      Huang, Ying 提交于
      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: NHuang Ying <ying.huang@intel.com>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      d4387bd3
    • H
      x86: change_page_attr_clear fix · 5827040d
      Huang, Ying 提交于
      This patch replaces __change_page_attr_set_clr() with
      change_page_attr_set_clr() in change_page_attr_clear() to flush the
      TLB/cache properly.
      Signed-off-by: NHuang Ying <ying.huang@intel.com>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      5827040d
    • H
      x86: fix sparse warnings in intel_cacheinfo.c · c1666e66
      Harvey Harrison 提交于
      arch/x86/kernel/cpu/intel_cacheinfo.c:355:7: warning: symbol 'i' shadows an earlier one
      arch/x86/kernel/cpu/intel_cacheinfo.c:296:39: originally declared here
      arch/x86/kernel/cpu/intel_cacheinfo.c:367:18: warning: incorrect type in argument 2 (different signedness)
      arch/x86/kernel/cpu/intel_cacheinfo.c:367:18:    expected unsigned int *eax
      arch/x86/kernel/cpu/intel_cacheinfo.c:367:18:    got int *
      arch/x86/kernel/cpu/intel_cacheinfo.c:367:28: warning: incorrect type in argument 3 (different signedness)
      arch/x86/kernel/cpu/intel_cacheinfo.c:367:28:    expected unsigned int *ebx
      arch/x86/kernel/cpu/intel_cacheinfo.c:367:28:    got int *
      arch/x86/kernel/cpu/intel_cacheinfo.c:367:38: warning: incorrect type in argument 4 (different signedness)
      arch/x86/kernel/cpu/intel_cacheinfo.c:367:38:    expected unsigned int *ecx
      arch/x86/kernel/cpu/intel_cacheinfo.c:367:38:    got int *
      arch/x86/kernel/cpu/intel_cacheinfo.c:367:48: warning: incorrect type in argument 5 (different signedness)
      arch/x86/kernel/cpu/intel_cacheinfo.c:367:48:    expected unsigned int *edx
      arch/x86/kernel/cpu/intel_cacheinfo.c:367:48:    got int *
      Signed-off-by: NHarvey Harrison <harvey.harrison@gmail.com>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      c1666e66
  2. 31 1月, 2008 35 次提交