diff options
| author | Chris Metcalf <[email protected]> | 2013-04-09 16:33:07 +0000 |
|---|---|---|
| committer | Chris Metcalf <[email protected]> | 2013-04-09 16:33:07 +0000 |
| commit | ffae3d0e3606b2e274c9ec1b969342d630b2ecae (patch) | |
| tree | 8dbe20e674f88fa4b19a960a36ba45edef15bc86 /security/selinux/hooks.c | |
| parent | tile: ns2cycles should use __raw_get_cpu_var (diff) | |
| download | kernel-ffae3d0e3606b2e274c9ec1b969342d630b2ecae.tar.gz kernel-ffae3d0e3606b2e274c9ec1b969342d630b2ecae.zip | |
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 <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions
