1. 04 7月, 2009 1 次提交
    • J
      x86: Clean up mtrr/cleanup.c · 63f9600f
      Jaswinder Singh Rajput 提交于
      Fix trivial style problems:
      
        WARNING: Use #include <linux/uaccess.h> instead of <asm/uaccess.h>
        WARNING: Use #include <linux/kvm_para.h> instead of <asm/kvm_para.h>
      
      Also, nr_mtrr_spare_reg should be unsigned long.
      
      arch/x86/kernel/cpu/mtrr/cleanup.o:
      
         text	   data	    bss	    dec	    hex	filename
         6241	   8992	   2056	  17289	   4389	cleanup.o.before
         6241	   8992	   2056	  17289	   4389	cleanup.o.after
      
      The md5 has changed:
         1a7a27513aef1825236daf29110fe657  cleanup.o.before.asm
         bcea358efa2532b6020e338e158447af  cleanup.o.after.asm
      
      Because a WARN_ON()'s __LINE__ value changed by 3 lines.
      Suggested-by: NAlan Cox <alan@lxorguk.ukuu.org.uk>
      Signed-off-by: NJaswinder Singh Rajput <jaswinderrajput@gmail.com>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Cc: Yinghai Lu <yinghai@kernel.org>
      LKML-Reference: <20090703164225.GA21447@elte.hu>
      [ Did lots of other cleanups to make the code look more consistent. ]
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      63f9600f
  2. 15 5月, 2009 1 次提交
  3. 18 3月, 2009 1 次提交
  4. 17 3月, 2009 1 次提交
  5. 13 3月, 2009 2 次提交
  6. 29 1月, 2009 1 次提交
  7. 31 12月, 2008 1 次提交
  8. 26 12月, 2008 1 次提交
  9. 28 10月, 2008 1 次提交
  10. 05 10月, 2008 3 次提交
  11. 03 10月, 2008 2 次提交
  12. 30 9月, 2008 4 次提交
  13. 28 9月, 2008 4 次提交
  14. 19 9月, 2008 1 次提交
    • Y
      x86: fix arch/x86/kernel/cpu/mtrr/main.c warning · 279b0bbb
      Yinghai Lu 提交于
      fix this warning reported by Andrew Morton:
      
      > arch/x86/kernel/cpu/mtrr/main.c: In function 'mtrr_bp_init':
      > arch/x86/kernel/cpu/mtrr/main.c:1170: warning: 'extra_remove_base' may be used uninitialized in this function
      
      the warning is bogus but the logic that prevents uninitialized use
      is a bit convoluted so simplify it all.
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      279b0bbb
  15. 21 8月, 2008 1 次提交
  16. 22 7月, 2008 1 次提交
  17. 08 7月, 2008 1 次提交
  18. 26 6月, 2008 1 次提交
  19. 25 5月, 2008 6 次提交
  20. 17 4月, 2008 1 次提交
  21. 22 3月, 2008 1 次提交
  22. 26 2月, 2008 2 次提交
  23. 07 2月, 2008 1 次提交
    • Y
      x86: fix mttr trimming · 20651af9
      Yinghai Lu 提交于
      Pavel Emelyanov reported that his networking card did not work
      and bisected it down to:
      
      "
      The commit
      
        093af8d7
        x86_32: trim memory by updating e820
      
      broke my e1000 card: on loading driver says that
      
        e1000: probe of 0000:04:03.0 failed with error -5
      
      and the interface doesn't appear.
      "
      
      on a 32-bit kernel, base will overflow when try to do PAGE_SHIFT,
      and highest_addr will always less 4G.
      
      So use pfn instead of address to avoid the overflow when more than
      4g RAM is installed on a 32-bit kernel.
      
      Many thanks to Pavel Emelyanov for reporting and testing it.
      Bisected-by: NPavel Emelyanov <xemul@openvz.org>
      Signed-off-by: NYinghai Lu <yinghai.lu@sun.com>
      Tested-by: NPavel Emelyanov <xemul@openvz.org>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      20651af9
  24. 04 2月, 2008 1 次提交