mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
ad2b1ab57d
NSIGTRAP is 4 in the generic siginfo and powerpc just undefines NSGTRAP and redefine it as 4. That accomplishes nothing so remove the duplication. Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
34 lines
777 B
C
34 lines
777 B
C
/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
|
|
#ifndef _ASM_POWERPC_SIGINFO_H
|
|
#define _ASM_POWERPC_SIGINFO_H
|
|
|
|
/*
|
|
* This program is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU General Public License
|
|
* as published by the Free Software Foundation; either version
|
|
* 2 of the License, or (at your option) any later version.
|
|
*/
|
|
|
|
#ifdef __powerpc64__
|
|
# define __ARCH_SI_PREAMBLE_SIZE (4 * sizeof(int))
|
|
#endif
|
|
|
|
#include <asm-generic/siginfo.h>
|
|
|
|
/*
|
|
* SIGFPE si_codes
|
|
*/
|
|
#ifdef __KERNEL__
|
|
#define FPE_FIXME 0 /* Broken dup of SI_USER */
|
|
#endif /* __KERNEL__ */
|
|
|
|
/*
|
|
* SIGTRAP si_codes
|
|
*/
|
|
#ifdef __KERNEL__
|
|
#define TRAP_FIXME 0 /* Broken dup of SI_USER */
|
|
#endif /* __KERNEL__ */
|
|
|
|
|
|
#endif /* _ASM_POWERPC_SIGINFO_H */
|