Rev 3742 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3742 | Rev 4130 | ||
---|---|---|---|
Line 80... | Line 80... | ||
80 | static inline void membar(void) |
80 | static inline void membar(void) |
81 | { |
81 | { |
82 | asm volatile ("membar #Sync\n"); |
82 | asm volatile ("membar #Sync\n"); |
83 | } |
83 | } |
84 | 84 | ||
85 | #if defined (US) |
85 | #if defined (SUN4V) || defined (US) |
86 | 86 | ||
87 | #define smc_coherence(a) \ |
87 | #define smc_coherence(a) \ |
88 | { \ |
88 | { \ |
89 | write_barrier(); \ |
89 | write_barrier(); \ |
90 | flush((a)); \ |
90 | flush((a)); \ |