aboutsummaryrefslogtreecommitdiffstats
path: root/src/include/compiler.h
diff options
context:
space:
mode:
authorMichael Brown <mcb30@etherboot.org>2008-09-13 16:21:47 +0100
committerMichael Brown <mcb30@etherboot.org>2008-10-01 19:24:56 +0100
commit9b01a9fd9cb149a1cee0d16e59e050131aefdabf (patch)
tree6618eceea3c0ba4e245cb91afa19056c5421abf3 /src/include/compiler.h
parent60c3b69c31922f27acdd0d8626b26b967fe27654 (diff)
downloadipxe-9b01a9fd9cb149a1cee0d16e59e050131aefdabf.tar.gz
[compiler] Add __always_inline macro
Diffstat (limited to 'src/include/compiler.h')
-rw-r--r--src/include/compiler.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/compiler.h b/src/include/compiler.h
index 8ab7b8ae3..a6532dadb 100644
--- a/src/include/compiler.h
+++ b/src/include/compiler.h
@@ -325,6 +325,9 @@ extern void dbg_hex_dump_da ( unsigned long dispaddr,
/** Declare a data structure to be aligned with 16-byte alignment */
#define __aligned __attribute__ (( aligned ( 16 ) ))
+/** Declare a function to be always inline */
+#define __always_inline __attribute__ (( always_inline ))
+
/**
* Shared data.
*