aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/page.h
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2015-03-25 20:11:56 +1100
committerMichael Ellerman <mpe@ellerman.id.au>2015-05-11 19:53:59 +1000
commitf1e7c202a98cb87cc650d99d014f87e6248ae530 (patch)
tree86136e7baa250610f6bf558956f1e072ed0d7b9b /arch/powerpc/include/asm/page.h
parentpowerpc/pseries: Fix possible leaked device node reference (diff)
downloadlinux-dev-f1e7c202a98cb87cc650d99d014f87e6248ae530.tar.xz
linux-dev-f1e7c202a98cb87cc650d99d014f87e6248ae530.zip
powerpc: Make STRICT_MM_TYPECHECKS a config option
The STRICT_MM_TYPECHECKS code has bit-rotted over the years. To make it possible to easily build test it, make it a CONFIG option. Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/include/asm/page.h')
-rw-r--r--arch/powerpc/include/asm/page.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/powerpc/include/asm/page.h b/arch/powerpc/include/asm/page.h
index 69c059887a2c..71294a6e976e 100644
--- a/arch/powerpc/include/asm/page.h
+++ b/arch/powerpc/include/asm/page.h
@@ -278,9 +278,7 @@ extern long long virt_phys_offset;
#ifndef __ASSEMBLY__
-#undef STRICT_MM_TYPECHECKS
-
-#ifdef STRICT_MM_TYPECHECKS
+#ifdef CONFIG_STRICT_MM_TYPECHECKS
/* These are used to make use of C type-checking. */
/* PTE level */