msgbuf.h (ceb307474506f888e8f16dab183405ff01dffa08) msgbuf.h (9ef0e004181956e158fb7ceb9b43810a193f80cd)
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2#ifndef __ASM_X64_MSGBUF_H
3#define __ASM_X64_MSGBUF_H
4
5#if !defined(__x86_64__) || !defined(__ILP32__)
6#include <asm-generic/msgbuf.h>
7#else
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2#ifndef __ASM_X64_MSGBUF_H
3#define __ASM_X64_MSGBUF_H
4
5#if !defined(__x86_64__) || !defined(__ILP32__)
6#include <asm-generic/msgbuf.h>
7#else
8
9#include <asm/ipcbuf.h>
10
8/*
9 * The msqid64_ds structure for x86 architecture with x32 ABI.
10 *
11 * On x86-32 and x86-64 we can just use the generic definition, but
12 * x32 uses the same binary layout as x86_64, which is differnet
13 * from other 32-bit architectures.
14 */
15

--- 17 unchanged lines hidden ---
11/*
12 * The msqid64_ds structure for x86 architecture with x32 ABI.
13 *
14 * On x86-32 and x86-64 we can just use the generic definition, but
15 * x32 uses the same binary layout as x86_64, which is differnet
16 * from other 32-bit architectures.
17 */
18

--- 17 unchanged lines hidden ---