diff options
author | Rasmus Villemoes <linux@rasmusvillemoes.dk> | 2015-11-06 05:45:02 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-11-06 06:34:48 +0300 |
commit | a744fd17b5233360681ce03e43804406745b680b (patch) | |
tree | 3b7600477b108469dd2e435e32d861100e559dce /include/linux/irqchip/irq-sa11x0.h | |
parent | fda901241fb89449244537db4fb27b06e491b74f (diff) | |
download | linux-a744fd17b5233360681ce03e43804406745b680b.tar.xz |
compiler.h: add support for function attribute assume_aligned
gcc 4.9 added the function attribute assume_aligned, indicating to the
caller that the returned pointer may be assumed to have a certain minimal
alignment. This is useful if, for example, the return value is passed to
memset(). Add a shorthand macro for that.
Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Cc: Christoph Lameter <cl@linux.com>
Cc: David Rientjes <rientjes@google.com>
Cc: Pekka Enberg <penberg@kernel.org>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/irqchip/irq-sa11x0.h')
0 files changed, 0 insertions, 0 deletions