• David S. Miller's avatar
    [SPARC64]: Make debugging spinlocks usable again. · 442464a5
    David S. Miller authored
    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: default avatarDavid S. Miller <davem@davemloft.net>
    442464a5
debuglocks.c 7.87 KB