• Russell King's avatar
    [ARM] Fix profile_pc() for SMP · 61642e3e
    Russell King authored
    profile_pc() used thread_saved_fp() with the current task.  However,
    thread_saved_fp() only returns sane values when called for threads
    which are presently sleeping, so this caused an oops.  Instead, use
    regs->ARM_fp, which correspond with the frame pointer.
    61642e3e
time.c 8.75 KB