summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/feature-fixups.h
diff options
context:
space:
mode:
authorAneesh Kumar K.V <aneesh.kumar@linux.ibm.com>2020-11-27 10:14:03 +0530
committerMichael Ellerman <mpe@ellerman.id.au>2020-12-04 01:01:23 +1100
commitc3d35ddd1ec874690a4e8da5a18497256f1ffa9a (patch)
tree1e7d908d2ef59a7263c25b3818c835b3d68daaee /arch/powerpc/include/asm/feature-fixups.h
parent865ae6f27789dcc3f92341d935f4439e8730a9fe (diff)
downloadlinux-c3d35ddd1ec874690a4e8da5a18497256f1ffa9a.tar.gz
linux-c3d35ddd1ec874690a4e8da5a18497256f1ffa9a.tar.bz2
linux-c3d35ddd1ec874690a4e8da5a18497256f1ffa9a.zip
powerpc: Add new macro to handle NESTED_IFCLR
This will be used by the following patches Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20201127044424.40686-2-aneesh.kumar@linux.ibm.com
Diffstat (limited to 'arch/powerpc/include/asm/feature-fixups.h')
-rw-r--r--arch/powerpc/include/asm/feature-fixups.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/feature-fixups.h b/arch/powerpc/include/asm/feature-fixups.h
index c509f784a5f6..f6d2acb57425 100644
--- a/arch/powerpc/include/asm/feature-fixups.h
+++ b/arch/powerpc/include/asm/feature-fixups.h
@@ -116,6 +116,9 @@ label##5: \
#define END_MMU_FTR_SECTION_NESTED_IFSET(msk, label) \
END_MMU_FTR_SECTION_NESTED((msk), (msk), label)
+#define END_MMU_FTR_SECTION_NESTED_IFCLR(msk, label) \
+ END_MMU_FTR_SECTION_NESTED((msk), 0, label)
+
#define END_MMU_FTR_SECTION_IFSET(msk) END_MMU_FTR_SECTION((msk), (msk))
#define END_MMU_FTR_SECTION_IFCLR(msk) END_MMU_FTR_SECTION((msk), 0)