diff options
Diffstat (limited to 'arch/mips/mach-octeon/include/mach/cvmx-regs.h')
-rw-r--r-- | arch/mips/mach-octeon/include/mach/cvmx-regs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/mach-octeon/include/mach/cvmx-regs.h b/arch/mips/mach-octeon/include/mach/cvmx-regs.h index 56528bc1bf..9e86be8f63 100644 --- a/arch/mips/mach-octeon/include/mach/cvmx-regs.h +++ b/arch/mips/mach-octeon/include/mach/cvmx-regs.h @@ -68,6 +68,7 @@ #define CVMX_POP(result, input) \ asm("pop %[rd],%[rs]" : [rd] "=d"(result) : [rs] "d"(input)) +#define CVMX_SYNC asm volatile("sync\n" : : : "memory") #define CVMX_SYNCW asm volatile("syncw\nsyncw\n" : : : "memory") #define CVMX_SYNCS asm volatile("syncs\n" : : : "memory") #define CVMX_SYNCWS asm volatile("syncws\n" : : : "memory") |