linux_dsm_epyc7002/arch/x86/kernel/cpu/mtrr
Jaswinder Singh Rajput 63f9600fad x86: Clean up mtrr/cleanup.c
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: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Jaswinder 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: Ingo Molnar <mingo@elte.hu>
2009-07-04 11:10:46 +02:00
..
amd.c x86: Clean up mtrr/amd.c: 2009-07-04 11:10:45 +02:00
centaur.c x86: Clean up mtrr/centaur.c 2009-07-04 11:10:45 +02:00
cleanup.c x86: Clean up mtrr/cleanup.c 2009-07-04 11:10:46 +02:00
cyrix.c x86: remove long dead cyrix mtrr code 2008-02-04 16:48:01 +01:00
generic.c Merge branch 'x86-cleanups-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip 2009-06-10 15:49:36 -07:00
if.c proc 2/2: remove struct proc_dir_entry::owner 2009-03-31 01:14:44 +04:00
main.c x86, mtrr: replace MTRRcap_MSR with msr-index's MSR_MTRRcap 2009-05-15 07:49:00 -07:00
Makefile x86: separate mtrr cleanup/mtrr_e820 trim to separate file 2009-03-13 02:52:19 +01:00
mtrr.h x86, mtrr: replace MTRRdefType_MSR with msr-index's MSR_MTRRdefType 2009-05-15 07:49:01 -07:00
state.c x86, mtrr: replace MTRRdefType_MSR with msr-index's MSR_MTRRdefType 2009-05-15 07:49:01 -07:00