x86/unwind/orc: Don't skip the first frame for inactive tasks
[linux-2.6-microblaze.git] / arch / x86 / kernel / unwind_orc.c
index 45166fd..e9f5a20 100644 (file)
@@ -657,7 +657,7 @@ void __unwind_start(struct unwind_state *state, struct task_struct *task,
        /* Otherwise, skip ahead to the user-specified starting frame: */
        while (!unwind_done(state) &&
               (!on_stack(&state->stack_info, first_frame, sizeof(long)) ||
-                       state->sp <= (unsigned long)first_frame))
+                       state->sp < (unsigned long)first_frame))
                unwind_next_frame(state);
 
        return;