Re: [PATCH 1/1] cris: remove unused current_regs

From: Geert Uytterhoeven
Date: Fri May 24 2013 - 06:44:50 EST


Hi Jonas,

On Fri, May 24, 2013 at 9:41 AM, Jonas Bonn <jonas@xxxxxxxxxxxx> 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 -- geert@xxxxxxxxxxxxxx

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
--
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/