Re: [PATCH 2/5] x86: Split __show_regs()

From: Pekka Enberg
Date: Wed Jun 02 2010 - 05:50:14 EST


On Wed, Jun 2, 2010 at 10:39 AM, Vitaly Mayatskikh
<v.mayatskih@xxxxxxxxx> wrote:
> __show_regs dumps content of pt_regs and does other things beside
> it. This patch moves pt_regs dumping part into separate function:
> __show_main_regs.
>
> Signed-off-by: Vitaly Mayatskikh <v.mayatskih@xxxxxxxxx>

[snip]

> +void __show_regs(struct pt_regs *regs, int all)
> +{
> +       unsigned long cr0 = 0L, cr2 = 0L, cr3 = 0L, cr4 = 0L;
> +       unsigned long d0, d1, d2, d3, d6, d7;
> +
> +

Nitpick: extra newline here.

> +       show_regs_common();
> +
> +       __show_main_regs(regs);
>
>        if (!all)
>                return;
--
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/