summaryrefslogtreecommitdiffstats
path: root/arch/avr32/include/asm/barrier.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/avr32/include/asm/barrier.h')
-rw-r--r--arch/avr32/include/asm/barrier.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/avr32/include/asm/barrier.h b/arch/avr32/include/asm/barrier.h
index 808001c9cf8..0961275373d 100644
--- a/arch/avr32/include/asm/barrier.h
+++ b/arch/avr32/include/asm/barrier.h
@@ -8,6 +8,8 @@
#ifndef __ASM_AVR32_BARRIER_H
#define __ASM_AVR32_BARRIER_H
+#define nop() asm volatile("nop")
+
#define mb() asm volatile("" : : : "memory")
#define rmb() mb()
#define wmb() asm volatile("sync 0" : : : "memory")