mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-06 13:55:08 +08:00
34bbeed074
To avoid casting ptrace members, add a union containing both struct tpi_info and explicit int_code/int_parm members. Signed-off-by: Sven Schnelle <svens@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
21 lines
380 B
C
21 lines
380 B
C
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
|
|
#ifndef _UAPIASM_SCHID_H
|
|
#define _UAPIASM_SCHID_H
|
|
|
|
#include <linux/types.h>
|
|
|
|
#ifndef __ASSEMBLY__
|
|
|
|
struct subchannel_id {
|
|
__u32 cssid : 8;
|
|
__u32 : 4;
|
|
__u32 m : 1;
|
|
__u32 ssid : 2;
|
|
__u32 one : 1;
|
|
__u32 sch_no : 16;
|
|
} __attribute__ ((packed, aligned(4)));
|
|
|
|
#endif /* __ASSEMBLY__ */
|
|
|
|
#endif /* _UAPIASM_SCHID_H */
|