Skip to contentSkip to conversation

sparc: remove unused wp_works_ok macro

PATCH In review Mathias Krause 2 participants 2 messages Apr 5, 2017 – Apr 6, 2017 SPARC + UltraSPARC (sparc/sparc64)

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 sparc: remove unused wp_works_ok macro

It's unused for ages, used to be required for ksyms.c back in the v1.1 times.

---
Hi Dave,

same patch as v1 but as the tip folks took only the x86 parts, I think, this one should go through the SPARC tree.

Cheers,
Mathias

 arch/sparc/include/asm/processor_32.h |    6 ------
 arch/sparc/include/asm/processor_64.h |    4 ----
 2 files changed, 10 deletions(-)
arch/sparc/include/asm/processor_32.h +0 -6
index 365d4cb267b4..dd27159819eb 100644
@@ -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
arch/sparc/include/asm/processor_64.h +0 -4
index 6448cfc8292f..b58ee9018433 100644
@@ -18,10 +18,6 @@
 #include <asm/ptrace.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 */
-
 /*
  * User lives in his very own context, and cannot reference us. Note
  * that TASK_SIZE is a misnomer, it really gives maximum user virtual
Signature · 1 line
1.7.10.4