• Michael Ellerman's avatar
    powerpc/kernel: Make syscall_exit a local label · 4c3b2168
    Michael Ellerman authored
    Currently when we back trace something that is in a syscall we see
    something like this:
    
    [c000000000000000] [c000000000000000] SyS_read+0x6c/0x110
    [c000000000000000] [c000000000000000] syscall_exit+0x0/0x98
    
    Although it's entirely correct, seeing syscall_exit at the bottom can be
    confusing - we were exiting from a syscall and then called SyS_read() ?
    
    If we instead change syscall_exit to be a local label we get something
    more intuitive:
    
    [c0000001fa46fde0] [c00000000026719c] SyS_read+0x6c/0x110
    [c0000001fa46fe30] [c000000000009264] system_call+0x38/0xd0
    
    ie. we were handling a system call, and it was SyS_read().
    Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
    4c3b2168
entry_64.S 29.6 KB