mips: Add support for Linux error EHWPOISON
authorAndreas Schwab <schwab@linux-m68k.org>
Sun, 19 Feb 2012 17:21:03 +0000 (18:21 +0100)
committerAndreas Schwab <schwab@linux-m68k.org>
Mon, 20 Feb 2012 17:07:59 +0000 (18:07 +0100)
ChangeLog.mips
sysdeps/unix/sysv/linux/mips/bits/errno.h

index 172d48d..41239d7 100644 (file)
@@ -1,3 +1,8 @@
+2012-02-20  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * sysdeps/unix/sysv/linux/mips/bits/errno.h (EHWPOISON): Define if
+       not defined.
+
 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
 
        * sysdeps/mips/dl-procinfo.h(_DL_PLATFORMS_COUNT): define to 4,
index 62b952c..1cf339f 100644 (file)
@@ -1,5 +1,5 @@
 /* Error constants.  MIPS/Linux specific version.
-   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2006
+   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2006, 2012
    Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
 #  define ERFKILL              167
 # endif
 
+# ifndef EHWPOISON
+#  define EHWPOISON            168
+# endif
+
 # ifndef __ASSEMBLER__
 /* Function to get address of global `errno' variable.  */
 extern int *__errno_location (void) __THROW __attribute__ ((__const__));