commit | ffae3d0e3606b2e274c9ec1b969342d630b2ecae | [log] [tgz] |
---|---|---|
author | Chris Metcalf <cmetcalf@tilera.com> | Tue Apr 09 12:33:07 2013 -0400 |
committer | Chris Metcalf <cmetcalf@tilera.com> | Tue Apr 09 12:33:07 2013 -0400 |
tree | 8dbe20e674f88fa4b19a960a36ba45edef15bc86 | |
parent | 39e8202bb3b83a826e5825b1a07bbbf30ae9a140 [diff] |
tile: comment assumption about __insn_mtspr for <asm/irqflags.h> 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>