/* Prefetch into L1 cache for write. */
#define prefetchw(addr) __builtin_prefetch((addr), 1)
-/* Declare that the members of the annotated struct are tightly packed, and the
- * struct itself may be misaligned. */
-#define _packed_attribute __attribute__((packed))
-
-/* Declare that the annotated variable, or variables of the annotated type, are
- * to be aligned on n-byte boundaries. */
-#define _aligned_attribute(n) __attribute__((aligned(n)))
-
-/* Declare that pointers to the annotated type may alias other pointers. */
-#define _may_alias_attribute __attribute__((may_alias))
-
/* Hint that the annotated function is rarely called. */
#if GCC_PREREQ(4, 4) || __has_attribute(cold)
# define _cold_attribute __attribute__((cold))
__attribute__((format(type, format_str, format_start)))
#endif
-/* Hint that the annotated function is intentionally not used. This might be
- * the case if the function contains only static assertions. */
-#define _unused_attribute __attribute__((unused))
-
/* Endianness definitions. Either CPU_IS_BIG_ENDIAN() or CPU_IS_LITTLE_ENDIAN()
* evaluates to 1. The other evaluates to 0. Note that newer gcc supports
* __BYTE_ORDER__ for easily determining the endianness; older gcc doesn't. In
# define UNALIGNED_ACCESS_IS_FAST 0
#endif
-/* Get the type of the specified expression. */
-#define typeof __typeof__
-
/* Get the minimum of two variables, without multiple evaluation. */
#undef min
#define min(a, b) ({ typeof(a) _a = (a); typeof(b) _b = (b); \