-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
powerpc/mm: Move book3s64 specifics in subdirectory mm/book3s64
Many files in arch/powerpc/mm are only for book3S64. This patch creates a subdirectory for them. Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr> [mpe: Update the selftest sym links, shorten new filenames, cleanup some whitespace and formatting in the new files.] Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
- Loading branch information
Christophe Leroy
authored and
Michael Ellerman
committed
May 2, 2019
1 parent
9d9f2cc
commit 47d9994
Showing
24 changed files
with
126 additions
and
92 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# SPDX-License-Identifier: GPL-2.0 | ||
|
||
ccflags-y := $(NO_MINIMAL_TOC) | ||
|
||
CFLAGS_REMOVE_slb.o = $(CC_FLAGS_FTRACE) | ||
|
||
obj-y += hash_pgtable.o hash_utils.o slb.o \ | ||
mmu_context.o pgtable.o hash_tlb.o | ||
obj-$(CONFIG_PPC_NATIVE) += hash_native.o | ||
obj-$(CONFIG_PPC_RADIX_MMU) += radix_pgtable.o radix_tlb.o | ||
obj-$(CONFIG_PPC_4K_PAGES) += hash_4k.o | ||
obj-$(CONFIG_PPC_64K_PAGES) += hash_64k.o | ||
obj-$(CONFIG_PPC_SPLPAR) += vphn.o | ||
obj-$(CONFIG_HUGETLB_PAGE) += hash_hugetlbpage.o | ||
ifdef CONFIG_HUGETLB_PAGE | ||
obj-$(CONFIG_PPC_RADIX_MMU) += radix_hugetlbpage.o | ||
endif | ||
obj-$(CONFIG_TRANSPARENT_HUGEPAGE) += hash_hugepage.o | ||
obj-$(CONFIG_PPC_SUBPAGE_PROT) += subpage_prot.o | ||
obj-$(CONFIG_SPAPR_TCE_IOMMU) += iommu_api.o | ||
obj-$(CONFIG_PPC_MEM_KEYS) += pkeys.o | ||
|
||
# Instrumenting the SLB fault path can lead to duplicate SLB entries | ||
KCOV_INSTRUMENT_slb.o := n |
2 changes: 1 addition & 1 deletion
2
arch/powerpc/mm/hash64_4k.c → arch/powerpc/mm/book3s64/hash_4k.c
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
arch/powerpc/mm/hash64_64k.c → arch/powerpc/mm/book3s64/hash_64k.c
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
arch/powerpc/mm/hugepage-hash64.c → arch/powerpc/mm/book3s64/hash_hugepage.c
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.