Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8bc9e338 authored by Eric W. Biederman's avatar Eric W. Biederman
Browse files

signal/frv: Move the frv specific si_codes to asm-generic/siginfo.h



Having si_codes in many different files simply encourages duplicate definitions
that can cause problems later.  To avoid that merce the frv specific si_codes
into uapi/asm-generic/siginfo.h

This allows the removal of arch/frv/uapi/include/asm/siginfo.h as the last
last meaningful definition it held was FPE_MDAOVF.

Signed-off-by: default avatar"Eric W. Biederman" <ebiederm@xmission.com>
parent ac54058d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
# UAPI Header export list
include include/uapi/asm-generic/Kbuild.asm

generic-y += siginfo.h
generic-y += bpf_perf_event.h
+0 −13
Original line number Diff line number Diff line
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
#ifndef _ASM_SIGINFO_H
#define _ASM_SIGINFO_H

#include <linux/types.h>
#include <asm-generic/siginfo.h>

#define FPE_MDAOVF	9	/* media overflow */
#undef NSIGFPE
#define NSIGFPE		9

#endif
+3 −0
Original line number Diff line number Diff line
@@ -204,6 +204,9 @@ typedef struct siginfo {
#define FPE_FLTRES	6	/* floating point inexact result */
#define FPE_FLTINV	7	/* floating point invalid operation */
#define FPE_FLTSUB	8	/* subscript out of range */
#ifdef __frv__
# define FPE_MDAOVF	9	/* media overflow */
#endif
#ifdef __ia64__
# define __FPE_DECOVF	9	/* decimal overflow */
# define __FPE_DECDIV	10	/* decimal division by zero */