diff options
author | Andreas Schwab <schwab@linux-m68k.org> | 2012-02-19 15:51:40 +0100 |
---|---|---|
committer | Andreas Schwab <schwab@linux-m68k.org> | 2012-02-19 18:27:02 +0100 |
commit | 7638c0fda568726f52ee5a88e1eadcddcd9fa290 (patch) | |
tree | 200c0fef9860a081dfb95c54e87e292adbdcf316 /sysdeps/gnu | |
parent | 92221550d72bafcd322ac5ab2a951054184b7f1a (diff) | |
download | glibc-7638c0fda568726f52ee5a88e1eadcddcd9fa290.zip glibc-7638c0fda568726f52ee5a88e1eadcddcd9fa290.tar.gz glibc-7638c0fda568726f52ee5a88e1eadcddcd9fa290.tar.bz2 |
Add support for Linux error EHWPOISON
Diffstat (limited to 'sysdeps/gnu')
-rw-r--r-- | sysdeps/gnu/errlist.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sysdeps/gnu/errlist.c b/sysdeps/gnu/errlist.c index 28a295f..75085c0 100644 --- a/sysdeps/gnu/errlist.c +++ b/sysdeps/gnu/errlist.c @@ -1464,6 +1464,14 @@ TRANS error; @pxref{Cancel AIO Operations}. */ # define ERR_MAX ERFKILL # endif #endif +#ifdef EHWPOISON +/* */ + [ERR_REMAP (EHWPOISON)] = N_("Memory page has hardware error"), +# if EHWPOISON > ERR_MAX +# undef ERR_MAX +# define ERR_MAX EHWPOISON +# endif +#endif }; #define NERR \ |