[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20130329.232931.1102770871482547907.davem@davemloft.net>
Date: Fri, 29 Mar 2013 23:29:31 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: tj@...nel.org
Cc: linux-arch@...r.kernel.org, linux-kernel@...r.kernel.org,
akpm@...ux-foundation.org, mingo@...hat.com, x86@...nel.org,
rth@...ddle.net, linux@....linux.org.uk, msalter@...hat.com,
starvik@...s.com, dhowells@...hat.com, tony.luck@...el.com,
benh@...nel.crashing.org, takata@...ux-m32r.org,
geert@...ux-m68k.org, james.hogan@...tec.com, monstr@...str.eu,
ralf@...ux-mips.org, jonas@...thpole.se, rkuo@...eaurora.org,
schwidefsky@...ibm.com, liqin.chen@...plusct.com,
lethal@...ux-sh.org, vgupta@...opsys.com, chris@...kel.net,
cmetcalf@...era.com, ysato@...rs.sourceforge.jp,
gxt@...c.pku.edu.cn, jdike@...toit.com
Subject: Re: [PATCH 2/5] sparc32: make show_stack() acquire %fp if @_ksp is
not specified
From: Tejun Heo <tj@...nel.org>
Date: Fri, 29 Mar 2013 19:27:05 -0700
> show_stack(current or NULL, NULL) is used by arch-independent code to
> dump backtrace of the current task; however, sparc32 show_stack()
> doesn't implement it and wouldn't print any backtrace when NULL @_ksp
> is specfied.
>
> Make show_stack() acquire and use %fp if @tsk is NULL or current and
> @_ksp is NULL. This makes %fp fetching in dump_stack() unnecessary.
> Make it use NULL for @_ksp instead.
>
> Only compile tested.
>
> Signed-off-by: Tejun Heo <tj@...nel.org>
Acked-by: David S. Miller <davem@...emloft.net>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists