x86/mm/pat: Move the memtype related files to arch/x86/mm/pat/
authorIngo Molnar <mingo@kernel.org>
Tue, 10 Dec 2019 09:08:09 +0000 (10:08 +0100)
committerIngo Molnar <mingo@kernel.org>
Tue, 10 Dec 2019 09:12:55 +0000 (10:12 +0100)
commitf9b57cf80c8b585614ba223732be0d8f19d558d8
treeab630d0ae380c9a9d09da746086a8e811b563174
parentd891b9219d2a73640d2f2a216ecb6fb29d832013
x86/mm/pat: Move the memtype related files to arch/x86/mm/pat/

- pat.c offers, dominantly, the memtype APIs - so rename it to memtype.c.

- pageattr.c is offering, primarily, the set_memory*() page attribute APIs,
  which is offered via the <asm/set_memory.h> header: name the .c file
  along the same pattern.

I.e. perform these renames, and move them all next to each other in arch/x86/mm/pat/:

    pat.c             => memtype.c
    pat_internal.h    => memtype.h
    pat_interval.c    => memtype_interval.c

    pageattr.c        => set_memory.c
    pageattr-test.c   => cpa-test.c

Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/mm/Makefile
arch/x86/mm/pat/Makefile [new file with mode: 0644]
arch/x86/mm/pat/cpa-test.c [moved from arch/x86/mm/pageattr-test.c with 100% similarity]
arch/x86/mm/pat/memtype.c [moved from arch/x86/mm/pat.c with 99% similarity]
arch/x86/mm/pat/memtype.h [moved from arch/x86/mm/pat_internal.h with 94% similarity]
arch/x86/mm/pat/memtype_interval.c [moved from arch/x86/mm/pat_interval.c with 99% similarity]
arch/x86/mm/pat/set_memory.c [moved from arch/x86/mm/pageattr.c with 99% similarity]