]> git.baikalelectronics.ru Git - kernel.git/commit
s390: fix unrecognized __aligned() in uapi header
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 4 Jun 2019 08:29:47 +0000 (17:29 +0900)
committerHeiko Carstens <heiko.carstens@de.ibm.com>
Fri, 7 Jun 2019 08:09:51 +0000 (10:09 +0200)
commitd4bf68cb84c3c8323b8a3330b58b9396b1140e6b
tree3e7f025d9a2313ff8fbdc5db311817b98f64d13d
parent21004023b826ec6ebde55035d76ea8fa92fbd1ea
s390: fix unrecognized __aligned() in uapi header

__aligned() is a shorthand that is only available in the kernel space
because it is defined in include/linux/compiler_attributes.h, which is
not exported to the user space.

Detected by compile-testing exported headers.

./usr/include/asm/runtime_instr.h:60:37: error: expected declaration specifiers or ‘...’ before numeric constant
 } __attribute__((packed)) __aligned(8);
                                     ^

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
arch/s390/include/uapi/asm/runtime_instr.h