lib: stackdepot: add support to disable stack depot
[linux-2.6-microblaze.git] / include / linux / compiler_attributes.h
index ea5e04e..c043b8d 100644 (file)
 # define fallthrough                    do {} while (0)  /* fallthrough */
 #endif
 
+/*
+ * gcc: https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#Common-Function-Attributes
+ * clang: https://clang.llvm.org/docs/AttributeReference.html#flatten
+ */
+# define __flatten                     __attribute__((flatten))
+
 /*
  * Note the missing underscores.
  *