summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Yamin <plasmaroo@gentoo.org>2005-04-29 17:36:05 +0000
committerTim Yamin <plasmaroo@gentoo.org>2005-04-29 17:36:05 +0000
commit4bd20a974a7461134ff7ac9f3074a8f5560ff578 (patch)
tree622e9f8afc2c489db7497d85e7ba0939ab146809 /sys-kernel
parentcleaning (diff)
downloadgentoo-2-4bd20a974a7461134ff7ac9f3074a8f5560ff578.tar.gz
gentoo-2-4bd20a974a7461134ff7ac9f3074a8f5560ff578.tar.bz2
gentoo-2-4bd20a974a7461134ff7ac9f3074a8f5560ff578.zip
Fix #90455.
(Portage version: 2.0.51.20-r5)
Diffstat (limited to 'sys-kernel')
-rw-r--r--sys-kernel/linux-headers/ChangeLog6
-rw-r--r--sys-kernel/linux-headers/files/linux-headers-2.6.8.1-appCompat.patch4
2 files changed, 8 insertions, 2 deletions
diff --git a/sys-kernel/linux-headers/ChangeLog b/sys-kernel/linux-headers/ChangeLog
index 916e62518fc8..1fb23b5ff828 100644
--- a/sys-kernel/linux-headers/ChangeLog
+++ b/sys-kernel/linux-headers/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-kernel/linux-headers
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-headers/ChangeLog,v 1.120 2005/04/24 19:26:23 plasmaroo Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-headers/ChangeLog,v 1.121 2005/04/29 17:36:05 plasmaroo Exp $
+
+ 29 Apr 2005; <plasmaroo@gentoo.org>
+ files/linux-headers-2.6.8.1-appCompat.patch:
+ Fix #90455.
24 Apr 2005; <plasmaroo@gentoo.org>
files/linux-headers-2.6.11-appCompat.patch:
diff --git a/sys-kernel/linux-headers/files/linux-headers-2.6.8.1-appCompat.patch b/sys-kernel/linux-headers/files/linux-headers-2.6.8.1-appCompat.patch
index 6a623e1e1fee..0a8b99fe666b 100644
--- a/sys-kernel/linux-headers/files/linux-headers-2.6.8.1-appCompat.patch
+++ b/sys-kernel/linux-headers/files/linux-headers-2.6.8.1-appCompat.patch
@@ -1332,7 +1332,7 @@ diff -up linux-2.6.8.1/include/linux/list.h linux-2.6.8.1-gentoo/include/linux/l
#include <linux/stddef.h>
#include <linux/prefetch.h>
#include <asm/system.h>
-@@ -38,20 +36,31 @@ struct list_head {
+@@ -38,20 +36,33 @@ struct list_head {
(ptr)->next = (ptr); (ptr)->prev = (ptr); \
} while (0)
@@ -1340,10 +1340,12 @@ diff -up linux-2.6.8.1/include/linux/list.h linux-2.6.8.1-gentoo/include/linux/l
+ * list_empty - tests whether a list is empty
+ * @head: the list to test.
+ */
++#if (defined(_LINUX_WAIT_H) || defined (__KERNEL__)) && !defined(LIST_INIT)
+static inline int list_empty(const struct list_head *head)
+{
+ return head->next == head;
+}
++#endif
+
+#if defined(__KERNEL__) || defined(__LINUX_KEYBOARD_H)
+