lkml.org 
[lkml]   [2010]   [Jun]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH 2/5] x86: Split __show_regs()
From
On Wed, Jun 2, 2010 at 10:39 AM, Vitaly Mayatskikh
<v.mayatskih@gmail.com> 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@gmail.com>

[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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2010-06-02 11:53    [W:0.907 / U:0.156 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site