Pull misc-2.6.39 into release branch
[pandora-kernel.git] / arch / arm / oprofile / common.c
index 2b66391..c074e66 100644 (file)
@@ -84,7 +84,7 @@ static struct frame_tail* user_backtrace(struct frame_tail *tail)
 
        /* frame pointers should strictly progress back up the stack
         * (towards higher addresses) */
-       if (tail >= buftail[0].fp)
+       if (tail + 1 >= buftail[0].fp)
                return NULL;
 
        return buftail[0].fp-1;