diff options
| author | Richard Purdie <richard@openedhand.com> | 2007-03-17 09:49:02 +0000 |
|---|---|---|
| committer | Richard Purdie <richard@openedhand.com> | 2007-03-17 09:49:02 +0000 |
| commit | 87101356ff05cc7d06e10fe6f96464b17a3ee65c (patch) | |
| tree | 624ac04f701f65d42b49bd340e315ebfe9e4646e /meta/packages/linux-libc-headers/linux-libc-headers-2.6.18+2.6.19-rc1/linux-err.patch | |
| parent | a6cc8ec3090b8716847b124f740c50f4fed2f3af (diff) | |
| download | poky-87101356ff05cc7d06e10fe6f96464b17a3ee65c.tar.gz | |
linux-libc-headers: Switch to 2.6.18+2.6.19-rc1
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1364 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/linux-libc-headers/linux-libc-headers-2.6.18+2.6.19-rc1/linux-err.patch')
| -rw-r--r-- | meta/packages/linux-libc-headers/linux-libc-headers-2.6.18+2.6.19-rc1/linux-err.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/meta/packages/linux-libc-headers/linux-libc-headers-2.6.18+2.6.19-rc1/linux-err.patch b/meta/packages/linux-libc-headers/linux-libc-headers-2.6.18+2.6.19-rc1/linux-err.patch new file mode 100644 index 0000000000..39a8e8a2f5 --- /dev/null +++ b/meta/packages/linux-libc-headers/linux-libc-headers-2.6.18+2.6.19-rc1/linux-err.patch | |||
| @@ -0,0 +1,23 @@ | |||
| 1 | # Add linux/err.h for MAX_ERRNO definition, needed by util-linux mount | ||
| 2 | |||
| 3 | Index: linux-2.6.19-rc1/usr/include/linux/err.h | ||
| 4 | =================================================================== | ||
| 5 | --- /dev/null 1970-01-01 00:00:00.000000000 +0000 | ||
| 6 | +++ linux-2.6.19-rc1/usr/include/linux/err.h 2006-10-05 10:55:17.000000000 +0200 | ||
| 7 | @@ -0,0 +1,16 @@ | ||
| 8 | +#ifndef _LINUX_ERR_H | ||
| 9 | +#define _LINUX_ERR_H | ||
| 10 | + | ||
| 11 | +#include <asm/errno.h> | ||
| 12 | + | ||
| 13 | +/* | ||
| 14 | + * Kernel pointers have redundant information, so we can use a | ||
| 15 | + * scheme where we can return either an error code or a dentry | ||
| 16 | + * pointer with the same return value. | ||
| 17 | + * | ||
| 18 | + * This should be a per-architecture thing, to allow different | ||
| 19 | + * error and pointer decisions. | ||
| 20 | + */ | ||
| 21 | +#define MAX_ERRNO 4095 | ||
| 22 | + | ||
| 23 | +#endif /* _LINUX_ERR_H */ | ||
