| 57 | #endif |
| 58 | |
| 59 | static __inline void |
| 60 | mips_sync(void) |
| 61 | { |
| 62 | __asm __volatile (".set noreorder\n" |
| 63 | "\tsync\n" |
| 64 | __MIPS_PLATFORM_SYNC_NOPS |
| 65 | ".set reorder\n" |
| 66 | : : : "memory"); |
| 67 | } |
| 68 | |
| 69 | #define mb() mips_sync() |
| 70 | #define wmb() mips_sync() |
no outgoing calls
no test coverage detected