summaryrefslogtreecommitdiffstats
path: root/src/arch/x86_64/include/bits/compiler.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/x86_64/include/bits/compiler.h')
-rw-r--r--src/arch/x86_64/include/bits/compiler.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/arch/x86_64/include/bits/compiler.h b/src/arch/x86_64/include/bits/compiler.h
index 5129f90d0..1c04a7b30 100644
--- a/src/arch/x86_64/include/bits/compiler.h
+++ b/src/arch/x86_64/include/bits/compiler.h
@@ -8,6 +8,9 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
#ifndef ASSEMBLY
+/** Unprefixed constant operand modifier */
+#define ASM_NO_PREFIX "c"
+
/** Declare a function with standard calling conventions */
#define __asmcall __attribute__ (( regparm(0) ))