summaryrefslogtreecommitdiff
path: root/include/arch/x86_64/asm/elf.h
blob: 3353eeb04a2c3d0b55051a63c80fd79e6d26fb2a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
#ifndef _ASM_X86_ELF_H
#define _ASM_X86_ELF_H

#include <linux/types.h>

struct x86_xfeat_component {
	__u32 type;
	__u32 size;
	__u32 offset;
	__u32 flags;
} __attribute__((packed));

_Static_assert(sizeof(struct x86_xfeat_component) % 4 == 0,
	       "x86_xfeat_component is not aligned");

#endif /* _ASM_X86_ELF_H */