31 lines
1.0 KiB
Diff
31 lines
1.0 KiB
Diff
From: Ben Hutchings <ben@decadent.org.uk>
|
|
Date: Sat, 20 Feb 2016 17:24:36 +0000
|
|
Subject: powerpc/mm: Fix HAVE_ARCH_SOFT_DIRTY dependencies
|
|
|
|
Soft dirty bit support was only implemented for 64-bit Book3S, and
|
|
32-bit configurations currently fail to build.
|
|
|
|
Fixes: 7207f43665b8 ("powerpc/mm: Add page soft dirty tracking")
|
|
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
|
|
---
|
|
--- a/arch/powerpc/Kconfig
|
|
+++ b/arch/powerpc/Kconfig
|
|
@@ -557,7 +557,7 @@ choice
|
|
|
|
config PPC_4K_PAGES
|
|
bool "4k page size"
|
|
- select HAVE_ARCH_SOFT_DIRTY if CHECKPOINT_RESTORE && PPC_BOOK3S
|
|
+ select HAVE_ARCH_SOFT_DIRTY if CHECKPOINT_RESTORE && PPC_BOOK3S_64
|
|
|
|
config PPC_16K_PAGES
|
|
bool "16k page size"
|
|
@@ -566,7 +566,7 @@ config PPC_16K_PAGES
|
|
config PPC_64K_PAGES
|
|
bool "64k page size"
|
|
depends on !PPC_FSL_BOOK3E && (44x || PPC_STD_MMU_64 || PPC_BOOK3E_64)
|
|
- select HAVE_ARCH_SOFT_DIRTY if CHECKPOINT_RESTORE && PPC_BOOK3S
|
|
+ select HAVE_ARCH_SOFT_DIRTY if CHECKPOINT_RESTORE && PPC_BOOK3S_64
|
|
|
|
config PPC_256K_PAGES
|
|
bool "256k page size"
|