[PATCH 1/1] cris: remove unused current_regs

From: Jonas Bonn
Date: Fri May 24 2013 - 03:41:37 EST


CC: Mikael Starvik <starvik@xxxxxxxx>
CC: Jesper Nilsson <jesper.nilsson@xxxxxxxx>
CC: linux-cris-kernel@xxxxxxxx
Signed-off-by: Jonas Bonn <jonas@xxxxxxxxxxxx>
---

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(-)

diff --git a/arch/cris/include/asm/processor.h b/arch/cris/include/asm/processor.h
index c0a29b9..15b815d 100644
--- a/arch/cris/include/asm/processor.h
+++ b/arch/cris/include/asm/processor.h
@@ -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);

--
1.8.1.2

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/