tile: comment assumption about __insn_mtspr for <asm/irqflags.h>
authorChris Metcalf <cmetcalf@tilera.com>
Tue, 9 Apr 2013 16:33:07 +0000 (12:33 -0400)
committerChris Metcalf <cmetcalf@tilera.com>
Tue, 9 Apr 2013 16:33:07 +0000 (12:33 -0400)
The arch_local_irq_save(), etc., routines are required to function
as compiler barriers.  They do, but it's subtle and requires knowing
that the gcc builtin __insn_mtspr() is marked as a memory clobber.
Provide a comment explaining the assumption.

Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>

No differences found