cris: remove unused wp_works_ok macro
PATCH v2 1/1 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 Mikael Starvik <[email protected]>
Signed-off-by Mathias Krause <[email protected]>
Acked-by Jesper Nilsson <[email protected]>
---
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(-)
arch/cris/include/arch-v10/arch/processor.h +0 -3
@@ -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.
Signature · 1 line
1.7.10.4
Quoted 8 lines · Mathias Krause
It had no use since it's introduction in v2.4.1.2. Get rid of it.
Cc Mikael Starvik <[email protected]>Signed-off-by Mathias Krause <[email protected]>Acked-by Jesper Nilsson <[email protected]>---
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,
Quoted 2 lines
Cheers,
Mathias
/^JN - Jesper Nilsson
Signature · 1 line
Jesper Nilsson -- [email protected]