* [PATCH v2] cris: remove unused wp_works_ok macro
@ 2017-04-05 19:24 Mathias Krause
2017-04-05 21:05 ` Jesper Nilsson
0 siblings, 1 reply; 2+ messages in thread
From: Mathias Krause @ 2017-04-05 19:24 UTC (permalink / raw)
To: linux-cris-kernel
Cc: linux-kernel, Mathias Krause, Jesper Nilsson, Mikael Starvik
It had no use since it's introduction in v2.4.1.2. Get rid of it.
Cc: Mikael Starvik <starvik@axis.com>
Signed-off-by: Mathias Krause <minipli@googlemail.com>
Acked-by: Jesper Nilsson <jesper.nilsson@axis.com>
---
Same patch as v1 but as the tip folks took only the x86 parts, I think,
this one should go through the CRIS tree.
Cheers,
Mathias
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v2] cris: remove unused wp_works_ok macro
2017-04-05 19:24 [PATCH v2] cris: remove unused wp_works_ok macro Mathias Krause
@ 2017-04-05 21:05 ` Jesper Nilsson
0 siblings, 0 replies; 2+ messages in thread
From: Jesper Nilsson @ 2017-04-05 21:05 UTC (permalink / raw)
To: Mathias Krause
Cc: linux-cris-kernel, linux-kernel, Jesper Nilsson, Mikael Starvik
On Wed, Apr 05, 2017 at 09:24:35PM +0200, Mathias Krause wrote:
> It had no use since it's introduction in v2.4.1.2. Get rid of it.
>
> Cc: Mikael Starvik <starvik@axis.com>
> Signed-off-by: Mathias Krause <minipli@googlemail.com>
> Acked-by: Jesper Nilsson <jesper.nilsson@axis.com>
> ---
> Same patch as v1 but as the tip folks took only the x86 parts, I think,
> this one should go through the CRIS tree.
Allright, I'll take it through the CRIS tree.
Thanks,
> Cheers,
> Mathias
/^JN - Jesper Nilsson
--
Jesper Nilsson -- jesper.nilsson@axis.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-04-05 21:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-05 19:24 [PATCH v2] cris: remove unused wp_works_ok macro Mathias Krause
2017-04-05 21:05 ` Jesper Nilsson
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.