mips: Add support for Linux error EHWPOISON

This commit is contained in:
Andreas Schwab 2012-02-19 18:21:03 +01:00
parent 3287d4162f
commit d6353c0f81
2 changed files with 10 additions and 1 deletions

View 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,

View 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.
@ -42,6 +42,10 @@
# 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__));