Rev 1854 | Rev 1891 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1854 | Rev 1860 | ||
---|---|---|---|
Line 30... | Line 30... | ||
30 | * @{ |
30 | * @{ |
31 | */ |
31 | */ |
32 | /** @file |
32 | /** @file |
33 | */ |
33 | */ |
34 | 34 | ||
35 | #ifndef __sparc64_BARRIER_H__ |
35 | #ifndef KERN_sparc64_BARRIER_H_ |
36 | #define __sparc64_BARRIER_H__ |
36 | #define KERN_sparc64_BARRIER_H_ |
37 | 37 | ||
38 | /* |
38 | /* |
39 | * TODO: Implement true SPARC V9 memory barriers for macros below. |
39 | * TODO: Implement true SPARC V9 memory barriers for macros below. |
40 | */ |
40 | */ |
41 | #define CS_ENTER_BARRIER() __asm__ volatile ("" ::: "memory") |
41 | #define CS_ENTER_BARRIER() __asm__ volatile ("" ::: "memory") |