[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1486933932-585-6-git-send-email-minipli@googlemail.com>
Date: Sun, 12 Feb 2017 22:12:11 +0100
From: Mathias Krause <minipli@...glemail.com>
To: Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>,
"H. Peter Anvin" <hpa@...or.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
Borislav Petkov <bp@...en8.de>,
"David S. Miller" <davem@...emloft.net>,
Jesper Nilsson <jesper.nilsson@...s.com>,
Mikael Starvik <starvik@...s.com>,
Geert Uytterhoeven <geert@...ux-m68k.org>, x86@...nel.org,
linux-kernel@...r.kernel.org,
Mathias Krause <minipli@...glemail.com>,
linux-cris-kernel@...s.com
Subject: [PATCH 5/6] cris: remove unused wp_works_ok macro
It had no use since it's introduction in v2.4.1.2. Get rid of it.
Cc: Jesper Nilsson <jesper.nilsson@...s.com>
Cc: Mikael Starvik <starvik@...s.com>
Signed-off-by: Mathias Krause <minipli@...glemail.com>
---
arch/cris/include/arch-v10/arch/processor.h | 3 ---
1 file changed, 3 deletions(-)
diff --git a/arch/cris/include/arch-v10/arch/processor.h b/arch/cris/include/arch-v10/arch/processor.h
index 93feb2a487d8..58f75bee1d6c 100644
--- a/arch/cris/include/arch-v10/arch/processor.h
+++ b/arch/cris/include/arch-v10/arch/processor.h
@@ -7,9 +7,6 @@
*/
#define current_text_addr() ({void *pc; __asm__ ("move.d $pc,%0" : "=rm" (pc)); pc; })
-/* CRIS has no problems with write protection */
-#define wp_works_ok 1
-
/* CRIS thread_struct. this really has nothing to do with the processor itself, since
* CRIS does not do any hardware task-switching, but it's here for legacy reasons.
* The thread_struct here is used when task-switching using _resume defined in entry.S.
--
1.7.10.4
Powered by blists - more mailing lists