diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-06-04 04:29:47 -0400 |
---|---|---|
committer | Heiko Carstens <heiko.carstens@de.ibm.com> | 2019-06-07 04:09:51 -0400 |
commit | bae0aae2f8f971e95182deab11f56a79018ba89b (patch) | |
tree | 3e7f025d9a2313ff8fbdc5db311817b98f64d13d /arch/s390/include/uapi | |
parent | 10400c401754b6bc79839335c9a927a9f352639f (diff) |
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>
Diffstat (limited to 'arch/s390/include/uapi')
-rw-r--r-- | arch/s390/include/uapi/asm/runtime_instr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/include/uapi/asm/runtime_instr.h b/arch/s390/include/uapi/asm/runtime_instr.h index 45c9ec984e6b..455da46e3193 100644 --- a/arch/s390/include/uapi/asm/runtime_instr.h +++ b/arch/s390/include/uapi/asm/runtime_instr.h | |||
@@ -57,7 +57,7 @@ struct runtime_instr_cb { | |||
57 | __u64 sf; | 57 | __u64 sf; |
58 | __u64 rsic; | 58 | __u64 rsic; |
59 | __u64 reserved8; | 59 | __u64 reserved8; |
60 | } __packed __aligned(8); | 60 | } __attribute__((__packed__, __aligned__(8))); |
61 | 61 | ||
62 | static inline void load_runtime_instr_cb(struct runtime_instr_cb *cb) | 62 | static inline void load_runtime_instr_cb(struct runtime_instr_cb *cb) |
63 | { | 63 | { |