summaryrefslogtreecommitdiffstats
path: root/arch/sparc/include/asm/processor.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sparc/include/asm/processor.h')
-rw-r--r--arch/sparc/include/asm/processor.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/sparc/include/asm/processor.h b/arch/sparc/include/asm/processor.h
index 9da9646..2fe99e6 100644
--- a/arch/sparc/include/asm/processor.h
+++ b/arch/sparc/include/asm/processor.h
@@ -5,4 +5,7 @@
#else
#include <asm/processor_32.h>
#endif
+
+#define nop() __asm__ __volatile__ ("nop")
+
#endif
OpenPOWER on IntegriCloud