• 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
cleanup.c 27.4 KB