On 4/3/2013 3:14 PM, Tejun Heo wrote:
> show_regs() is inherently arch-dependent but it does make sense to
> print generic debug information and some archs already do albeit in
> slightly different forms.  This patch introduces a generic function to
> print debug information from show_regs() so that different archs print
> out the same information and it's much easier to modify what's
> printed.
>
> show_regs_print_info() prints out the same debug info as dump_stack()
> does plus task and thread_info pointers.
>
> * Archs which didn't print debug info now do.
>
>   alpha, arc, blackfin, c6x, cris, frv, h8300, hexagon, ia64, m32r,
>   metag, microblaze, mn10300, openrisc, parisc, score, sh64, sparc,
>   um, xtensa
>
> * Already prints debug info.  Replaced with show_regs_print_info().
>   The printed information is superset of what used to be there.
>
>   arm, arm64, avr32, mips, powerpc, sh32, tile, unicore32, x86

Acked-by: Chris Metcalf <[email protected]> [for tile]

-- 
Chris Metcalf, Tilera Corp.
http://www.tilera.com

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to