]> git.baikalelectronics.ru Git - kernel.git/commit
s390/linkage: increase asm symbols alignment to 16
authorVasily Gorbik <gor@linux.ibm.com>
Wed, 30 Jun 2021 08:21:58 +0000 (10:21 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Thu, 8 Jul 2021 20:12:18 +0000 (22:12 +0200)
commit11bdb33f042bba70fdb55a392fa5163c06ae193b
tree9300264986652069d53954ed40532590b8245fd9
parent720a6d3491609f2818223da3f43dc50684d232f9
s390/linkage: increase asm symbols alignment to 16

Both clang and gcc (for -march=z13 and later) align functions to 16
bytes at -O2 to benefit branch prediction.

Make asm symbols alignment consistent with that.

This also benefits potential ftrace code patching, which is currently
able to patch 8 aligned bytes at once.

With defconfig this currently increases .text size by 4104 bytes.

Reviewed-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/include/asm/linkage.h