diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2015-03-25 20:11:56 +1100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2015-05-11 19:53:59 +1000 |
commit | f1e7c202a98cb87cc650d99d014f87e6248ae530 (patch) | |
tree | 86136e7baa250610f6bf558956f1e072ed0d7b9b /arch/powerpc/include/asm/page.h | |
parent | 2222ce0fbbcc4ebfa9995c8d23d72c8239ad712c (diff) | |
download | talos-op-linux-f1e7c202a98cb87cc650d99d014f87e6248ae530.tar.gz talos-op-linux-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.h | 4 |
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 */ |