Commit eb243d1d authored by Ingo Molnar's avatar Ingo Molnar
Browse files

x86/mm/pat: Rename <asm/pat.h> => <asm/memtype.h>



pat.h is a file whose main purpose is to provide the memtype_*() APIs.

PAT is the low level hardware mechanism - but the high level abstraction
is memtype.

So name the header <memtype.h> as well - this goes hand in hand with memtype.c
and memtype_interval.c.

Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
parent ecdd6ee7
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _ASM_X86_PAT_H
#define _ASM_X86_PAT_H
#ifndef _ASM_X86_MEMTYPE_H
#define _ASM_X86_MEMTYPE_H

#include <linux/types.h>
#include <asm/pgtable_types.h>
@@ -24,4 +24,4 @@ void memtype_free_io(resource_size_t start, resource_size_t end);

bool pat_pfn_immune_to_uc_mtrr(unsigned long pfn);

#endif /* _ASM_X86_PAT_H */
#endif /* _ASM_X86_MEMTYPE_H */
+1 −1
Original line number Diff line number Diff line
@@ -24,7 +24,7 @@
#define _ASM_X86_MTRR_H

#include <uapi/asm/mtrr.h>
#include <asm/pat.h>
#include <asm/memtype.h>


/*
+1 −1
Original line number Diff line number Diff line
@@ -9,7 +9,7 @@
#include <linux/scatterlist.h>
#include <linux/numa.h>
#include <asm/io.h>
#include <asm/pat.h>
#include <asm/memtype.h>
#include <asm/x86_init.h>

struct pci_sysdata {
+1 −1
Original line number Diff line number Diff line
@@ -49,7 +49,7 @@
#include <asm/cpu.h>
#include <asm/mce.h>
#include <asm/msr.h>
#include <asm/pat.h>
#include <asm/memtype.h>
#include <asm/microcode.h>
#include <asm/microcode_intel.h>
#include <asm/intel-family.h>
+1 −1
Original line number Diff line number Diff line
@@ -15,7 +15,7 @@
#include <asm/tlbflush.h>
#include <asm/mtrr.h>
#include <asm/msr.h>
#include <asm/pat.h>
#include <asm/memtype.h>

#include "mtrr.h"

Loading