summaryrefslogtreecommitdiff
path: root/softmmu_header.h
diff options
context:
space:
mode:
Diffstat (limited to 'softmmu_header.h')
-rw-r--r--softmmu_header.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/softmmu_header.h b/softmmu_header.h
index 12306a6667..36cf9f0a11 100644
--- a/softmmu_header.h
+++ b/softmmu_header.h
@@ -49,8 +49,8 @@
#if MEMUSER == 0
-DATA_TYPE __attribute((regparm(1))) glue(glue(__ld, SUFFIX), _mmu)(unsigned long addr);
-void __attribute((regparm(2))) glue(glue(__st, SUFFIX), _mmu)(unsigned long addr, DATA_TYPE v);
+DATA_TYPE REGPARM(1) glue(glue(__ld, SUFFIX), _mmu)(unsigned long addr);
+void REGPARM(2) glue(glue(__st, SUFFIX), _mmu)(unsigned long addr, DATA_TYPE v);
#endif
static inline int glue(glue(ldu, SUFFIX), MEMSUFFIX)(void *ptr)