[PATCH 01/20] linux/compiler.h: Define __cold
Sebastian Huber
sebastian.huber at embedded-brains.de
Fri Jan 19 13:53:51 UTC 2018
---
rtemsbsd/powerpc/include/linux/compiler.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/rtemsbsd/powerpc/include/linux/compiler.h b/rtemsbsd/powerpc/include/linux/compiler.h
index 300287db2..4553ba580 100644
--- a/rtemsbsd/powerpc/include/linux/compiler.h
+++ b/rtemsbsd/powerpc/include/linux/compiler.h
@@ -42,6 +42,7 @@
#define __iomem
#define __chk_user_ptr(x) 0
#define __chk_io_ptr(x) 0
+#define __cold __attribute__((__cold__))
#define __builtin_warning(x, y...) (1)
#define __acquires(x)
#define __releases(x)
--
2.12.3
More information about the devel
mailing list