X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=include%2Flinux%2Fcompiler.h;h=f108e5222dad0ea50ae685173eaceb486f6eab94;hb=2727c56c12b19283fd0eedf3271e2e30622b8ed9;hp=8807e4f1b0e6b1878c845a7301f7aded28b4707b;hpb=dabdeed5a90d7c40e47f1a9cce13965da68525ba;p=karo-tx-linux.git diff --git a/include/linux/compiler.h b/include/linux/compiler.h index 8807e4f1b0e6..f108e5222dad 100644 --- a/include/linux/compiler.h +++ b/include/linux/compiler.h @@ -433,6 +433,14 @@ static __always_inline void __write_once_size(volatile void *p, void *res, int s #define __visible #endif +/* + * Assume alignment of return value. + */ +#ifndef __assume_aligned +#define __assume_aligned(a, ...) +#endif + + /* Are two types/vars the same type (ignoring qualifiers)? */ #ifndef __same_type # define __same_type(a, b) __builtin_types_compatible_p(typeof(a), typeof(b))