2013-05-24 07:41:32

by Jonas Bonn

[permalink] [raw]
Subject: [PATCH 1/1] cris: remove unused current_regs

CC: Mikael Starvik <[email protected]>
CC: Jesper Nilsson <[email protected]>
CC: [email protected]
Signed-off-by: Jonas Bonn <[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(-)

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


2013-05-24 10:44:47

by Geert Uytterhoeven

[permalink] [raw]
Subject: Re: [PATCH 1/1] cris: remove unused current_regs

Hi Jonas,

On Fri, May 24, 2013 at 9:41 AM, Jonas Bonn <[email protected]> wrote:
> 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.

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

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