summaryrefslogtreecommitdiff
path: root/arch/sparc/include/asm/processor_32.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2017-04-08 01:42:05 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2017-04-08 01:42:05 -0700
commit8b65bb57d87a66cd156f856f28f2bd72d7b2395e (patch)
tree476525df2e81648751ff8f3595a4c10ea88aea05 /arch/sparc/include/asm/processor_32.h
parent542380a208c5eda9c27f9db099daa9d544626960 (diff)
parent86e1066fe2af51dce4351c2357223e0d902dfc7a (diff)
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc
Pull sparc fixes from David Miller: "Several fixes here, mostly having to due with either build errors or memory corruptions depending upon whether you have THP enabled or not" * git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc: sparc: remove unused wp_works_ok macro sparc32: Export vac_cache_size to fix build error sparc64: Fix memory corruption when THP is enabled sparc64: Fix kernel panic due to erroneous #ifdef surrounding pmd_write() arch/sparc: Avoid DCTI Couples sparc64: kern_addr_valid regression sparc64: Add support for 2G hugepages sparc64: Fix size check in huge_pte_alloc
Diffstat (limited to 'arch/sparc/include/asm/processor_32.h')
-rw-r--r--arch/sparc/include/asm/processor_32.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/sparc/include/asm/processor_32.h b/arch/sparc/include/asm/processor_32.h
index 365d4cb267b4..dd27159819eb 100644
--- a/arch/sparc/include/asm/processor_32.h
+++ b/arch/sparc/include/asm/processor_32.h
@@ -18,12 +18,6 @@
#include <asm/signal.h>
#include <asm/page.h>
-/*
- * The sparc has no problems with write protection
- */
-#define wp_works_ok 1
-#define wp_works_ok__is_a_macro /* for versions in ksyms.c */
-
/* Whee, this is STACK_TOP + PAGE_SIZE and the lowest kernel address too...
* That one page is used to protect kernel from intruders, so that
* we can make our access_ok test faster