Messages in this thread | | | Date | Wed, 2 Jun 2010 12:50:03 +0300 | Subject | Re: [PATCH 2/5] x86: Split __show_regs() | From | Pekka Enberg <> |
| |
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/
| |