Skip to contentSkip to conversation

cris: remove unused current_regs

PATCH In review Jonas Bonn 2 participants 2 messages May 24, 2013

lore
Share & tools
lore

Jonas Bonn

author
#0 lore raw

PATCH 1/1 cris: remove unused current_regs

CC Mikael Starvik <[email protected]>
CC Jesper Nilsson <[email protected]>

---

Hi Geert,

As your 'exotic' branch seems to show you're doing some work on CRIS, how about taking this rather trivial patch into your branch as well. I sent this to the CRIS maintainers/mailing list six months ago but never got any response back.

Thanks,
Jonas

 arch/cris/include/asm/processor.h | 1 -
 1 file changed, 1 deletion(-)
arch/cris/include/asm/processor.h +0 -1
index c0a29b9..15b815d 100644
@@ -47,7 +47,6 @@ struct task_struct;
  */
 
 #define task_pt_regs(task) user_regs(task_thread_info(task))
-#define current_regs() task_pt_regs(current)
 
 unsigned long get_wchan(struct task_struct *p);
 
Signature · 1 line
1.8.1.2
#1 lore raw

Hi Jonas,

Quoted 4 lines · Jonas Bonn

As your 'exotic' branch seems to show you're doing some work on CRIS, how about taking this rather trivial patch into your branch as well. I sent this to the CRIS maintainers/mailing list six months ago but never got any response back.

It's queued on their cris/for-next branch, though.

arch/cris/include/asm/processor.h struct task_struct; · line 51

Quoted 11 lines
arch/cris/include/asm/processor.h +0 -1
index c0a29b9..15b815d 100644
@@ -47,7 +47,6 @@ struct task_struct;
  */
 
 #define task_pt_regs(task) user_regs(task_thread_info(task))
-#define current_regs() task_pt_regs(current)
 
 unsigned long get_wchan(struct task_struct *p);

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds