On Tue, Jan 19, 2010 at 05:13,  <[email protected]> wrote:
> Modified: trunk/arch/blackfin/mach-common/interrupt.S (8189 => 8190)
>
> @@ -88,7 +88,13 @@
>  #else
>       cli r1;
>  #endif
> -     TRACE_IRQS_OFF
> +#ifdef CONFIG_TRACE_IRQFLAGS
> +     [--sp] = r0;
> +     sp += -12;
> +     call _trace_hardirqs_off;
> +     sp += 12;
> +     r0 = [sp++];
> +#endif

i dont think you need to save r0 here.  if you look below, you'll see
places where r0 gets clobbered and then finally restored.  no one uses
it.
-mike
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits

Reply via email to