[lkml]   [2002]   [Mar]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] generic show_stack facility
Christoph Hellwig wrote:
> On Fri, Mar 29, 2002 at 09:36:26AM -0800, Andrew Morton wrote:
> > Here's the diff. Comments?
> I don't see who having to independand declaration in the same kernel
> image are supposed to work..

It goes in lib/lib.a. The linker will only pick up
the default version if the architecture doesn't
have its own dump_stack().

bust_spinlocks() has worked that way for quite some time.

> I think you really want some HAVE_ARCH_SHOW_STACK define to disable
> the generic version..

Yup. But it's nice to be able to slot the default version
into lib.a. In the bust_spinlocks case, architectures only
need to implement a version if they have special needs.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:25    [W:0.035 / U:3.920 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site