]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - kernel/trace/trace_stack.c
regression: disable timer peek-ahead for 2.6.28
[linux-2.6-omap-h63xx.git] / kernel / trace / trace_stack.c
index 74c5d9a3afae790d436c5dd3135488c535ac0981..be682b62fe586285c77c36d7e7c6d6beb929541f 100644 (file)
@@ -44,6 +44,10 @@ static inline void check_stack(void)
        if (this_size <= max_stack_size)
                return;
 
+       /* we do not handle interrupt stacks yet */
+       if (!object_is_on_stack(&this_size))
+               return;
+
        raw_local_irq_save(flags);
        __raw_spin_lock(&max_stack_lock);