]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[SPARC64]: Make debugging spinlocks usable again.
authorDavid S. Miller <davem@davemloft.net>
Mon, 29 Aug 2005 19:46:07 +0000 (12:46 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 29 Aug 2005 19:46:07 +0000 (12:46 -0700)
commit442464a50077ff00454ff8d7628cbe1b8eacc034
treed076c18c8f9d860ee9f357a78b87d0ede8286585
parentca7c8d2c1e2a2f2445cb5e00f45b93af57f22c1b
[SPARC64]: Make debugging spinlocks usable again.

When the spinlock routines were moved out of line into
kernel/spinlock.c this made it so that the debugging
spinlocks record lock acquisition program counts in the
kernel/spinlock.c functions not in their callers.
This makes the debugging info kind of useless.

So record the correct caller's program counter and
now this feature is useful once more.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc64/kernel/sparc64_ksyms.c
arch/sparc64/lib/debuglocks.c
include/asm-sparc64/spinlock.h