x86: Sort headers

... prior to making changes.

mtrr/main.c absolutely does not need to include asm/uaccess.h

No functional change.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
This commit is contained in:
Andrew Cooper committed 2026-09-24 20:54:37 +01:00
1 parent 384a4d98f8
commit a76479836d
3 files changed
+23 -18

No files matched your search

+6 -4
View File
@@ -1,17 +1,19 @@
/* This only handles 32bit MTRR on 32bit hosts. This is strictly wrong
because MTRRs can span upto 40 bits (36bits on most modern x86) */
#include <xen/lib.h>
#include <xen/init.h>
#include <xen/lib.h>
#include <xen/mm.h>
#include <xen/param.h>
#include <xen/stdbool.h>
#include <asm/cpufeature.h>
#include <asm/flushtlb.h>
#include <asm/invpcid.h>
#include <asm/io.h>
#include <asm/mtrr.h>
#include <asm/msr.h>
#include <asm/mtrr.h>
#include <asm/system.h>
#include <asm/cpufeature.h>
#include "mtrr.h"
static const struct fixed_range_block {
+4 -3
View File
@@ -34,11 +34,12 @@
#include <xen/lib.h>
#include <xen/smp.h>
#include <xen/spinlock.h>
#include <asm/atomic.h>
#include <asm/mtrr.h>
#include <asm/uaccess.h>
#include <asm/processor.h>
#include <asm/msr.h>
#include <asm/mtrr.h>
#include <asm/processor.h>
#include "mtrr.h"
/* No blocking mutexes in Xen. Spin instead. */
+13 -11
View File
@@ -5,22 +5,24 @@
*/
#include <xen/domain_page.h>
#include <xen/iommu.h>
#include <xen/keyhandler.h>
#include <xen/sched.h>
#include <public/hvm/dm_op.h>
#include <xen/softirq.h>
#include <asm/altp2m.h>
#include <asm/current.h>
#include <asm/iocap.h>
#include <asm/paging.h>
#include <asm/domain.h>
#include <asm/p2m.h>
#include <asm/hvm/vmx/vmx.h>
#include <asm/hvm/vmx/vmcs.h>
#include <asm/hvm/nestedhvm.h>
#include <xen/iommu.h>
#include <asm/mtrr.h>
#include <asm/hvm/cacheattr.h>
#include <xen/keyhandler.h>
#include <xen/softirq.h>
#include <asm/hvm/nestedhvm.h>
#include <asm/hvm/vmx/vmcs.h>
#include <asm/hvm/vmx/vmx.h>
#include <asm/iocap.h>
#include <asm/mtrr.h>
#include <asm/p2m.h>
#include <asm/paging.h>
#include <public/hvm/dm_op.h>
#include "mm-locks.h"
#include "p2m.h"
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.