aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi/asm-generic
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2018-01-13 19:02:46 -0600
committerEric W. Biederman <ebiederm@xmission.com>2018-01-15 17:42:34 -0600
commit8bc9e33848f7491d124e11b2c79430d45e0d8545 (patch)
tree36ffe30ef2bacc464997acfb10bb91ace5934810 /include/uapi/asm-generic
parentsignal/ia64: Move the ia64 specific si_codes to asm-generic/siginfo.h (diff)
downloadlinux-dev-8bc9e33848f7491d124e11b2c79430d45e0d8545.tar.xz
linux-dev-8bc9e33848f7491d124e11b2c79430d45e0d8545.zip
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: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'include/uapi/asm-generic')
-rw-r--r--include/uapi/asm-generic/siginfo.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/uapi/asm-generic/siginfo.h b/include/uapi/asm-generic/siginfo.h
index 2f0ae4607603..f1c0af4f36a4 100644
--- a/include/uapi/asm-generic/siginfo.h
+++ b/include/uapi/asm-generic/siginfo.h
@@ -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 */