]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - include/compiler.h
SPEAr : i2c driver support added for SPEAr SoCs
[karo-tx-uboot.git] / include / compiler.h
index 272fd3cf628c758f9a4d5f019d2a093f2955c47a..332618e9de9c04282433030c87b1b2272556ccb5 100644 (file)
@@ -122,4 +122,10 @@ typedef unsigned int            uintptr_t;
 
 #endif
 
+/* compiler options */
+#define uninitialized_var(x)           x = x
+
+#define likely(x)      __builtin_expect(!!(x), 1)
+#define unlikely(x)    __builtin_expect(!!(x), 0)
+
 #endif