From fafc71f622a9b97a12b02fe2bdfdbc407f57f700 Mon Sep 17 00:00:00 2001 From: Helge Deller Date: Sat, 8 Nov 2014 22:52:44 +0100 Subject: [PATCH] hppa: update error codes and signal numbers There are two important changes in here: 1. EWOULDBLOCK has been up to kernel 3.14 errorcode #246. Since hppa folks had problems with EWOULDBLOCK != EAGAIN, this was changed in kernel 3.14. 2. Starting with kernel 3.18, hppa folks changed some signal numbers in such a way that we end up with SIGRTMIN == 32, which brings hppa in sync with other linux ports. Both were incompatible changes which basically broke hppa ABI, but since they have been merged into the kernel, we have to follow. --- linux/hppa/errnoent.h | 14 +++++++++----- linux/hppa/signalent.h | 13 ++++--------- 2 files changed, 13 insertions(+), 14 deletions(-) diff --git a/linux/hppa/errnoent.h b/linux/hppa/errnoent.h index 2c926333..d866f7e5 100644 --- a/linux/hppa/errnoent.h +++ b/linux/hppa/errnoent.h @@ -182,10 +182,10 @@ "EREMOTEIO", /* 181 */ "ENOMEDIUM", /* 182 */ "EMEDIUMTYPE", /* 183 */ - "ERRNO_184", /* 184 */ - "ERRNO_185", /* 185 */ - "ERRNO_186", /* 186 */ - "ERRNO_187", /* 187 */ + "ENOKEY", /* 184 */ + "EKEYEXPIRED", /* 185 */ + "EKEYREVOKED", /* 186 */ + "EKEYREJECTED", /* 187 */ "ERRNO_188", /* 188 */ "ERRNO_189", /* 189 */ "ERRNO_190", /* 190 */ @@ -244,7 +244,7 @@ "ERRNO_243", /* 243 */ "EALREADY", /* 244 */ "EINPROGRESS", /* 245 */ - "EWOULDBLOCK", /* 246 */ + "EWOULDBLOCK_OLD", /* 246 */ /* was EWOULDBLOCK before kernel 3.14 */ "ENOTEMPTY", /* 247 */ "ENAMETOOLONG", /* 248 */ "ELOOP", /* 249 */ @@ -252,3 +252,7 @@ "ENOSYS", /* 251 */ "ENOTSUP", /* 252 */ "ECANCELLED", /* 253 */ + "EOWNERDEAD", /* 254 */ + "ENOTRECOVERABLE", /* 255 */ + "ERFKILL", /* 256 */ + "EHWPOISON", /* 257 */ diff --git a/linux/hppa/signalent.h b/linux/hppa/signalent.h index 92e5565e..9fbc212f 100644 --- a/linux/hppa/signalent.h +++ b/linux/hppa/signalent.h @@ -5,12 +5,12 @@ "SIGILL", /* 4 */ "SIGTRAP", /* 5 */ "SIGABRT", /* 6 */ - "SIGEMT", /* 7 */ + "SIGSTKFLT", /* 7 */ "SIGFPE", /* 8 */ "SIGKILL", /* 9 */ "SIGBUS", /* 10 */ "SIGSEGV", /* 11 */ - "SIGSYS", /* 12 */ + "SIGXCPU", /* 12 */ "SIGPIPE", /* 13 */ "SIGALRM", /* 14 */ "SIGTERM", /* 15 */ @@ -28,11 +28,6 @@ "SIGTTIN", /* 27 */ "SIGTTOU", /* 28 */ "SIGURG", /* 29 */ - "SIGLOST", /* 30 */ + "SIGXFSZ", /* 30 */ "SIGUNUSED", /* 31 */ - "SIG_32", /* 32 */ - "SIGXCPU", /* 33 */ - "SIGXFSZ", /* 34 */ - "SIG_35", /* 35 */ - "SIGSTKFLT", /* 36 */ - "SIGRTMIN", /* 37 */ + "SIGRTMIN", /* 32 */ -- 2.34.1