summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Yamin <plasmaroo@gentoo.org>2005-04-24 19:26:23 +0000
committerTim Yamin <plasmaroo@gentoo.org>2005-04-24 19:26:23 +0000
commit5246ff045ec7286ee593402720b4637cbcf9f808 (patch)
treed7de3c783441d7b46a419510f24270eaefc2e605 /sys-kernel
parentnew upstream version, fixes #90172 (diff)
downloadgentoo-2-5246ff045ec7286ee593402720b4637cbcf9f808.tar.gz
gentoo-2-5246ff045ec7286ee593402720b4637cbcf9f808.tar.bz2
gentoo-2-5246ff045ec7286ee593402720b4637cbcf9f808.zip
Fix #90203.
(Portage version: 2.0.51.19)
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.11-appCompat.patch66
2 files changed, 71 insertions, 1 deletions
diff --git a/sys-kernel/linux-headers/ChangeLog b/sys-kernel/linux-headers/ChangeLog
index ce83d541353a..916e62518fc8 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.119 2005/04/24 18:44:42 plasmaroo Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-headers/ChangeLog,v 1.120 2005/04/24 19:26:23 plasmaroo Exp $
+
+ 24 Apr 2005; <plasmaroo@gentoo.org>
+ files/linux-headers-2.6.11-appCompat.patch:
+ Fix #90203.
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.11-appCompat.patch b/sys-kernel/linux-headers/files/linux-headers-2.6.11-appCompat.patch
index 39e20491a4d7..dbf9ddcad555 100644
--- a/sys-kernel/linux-headers/files/linux-headers-2.6.11-appCompat.patch
+++ b/sys-kernel/linux-headers/files/linux-headers-2.6.11-appCompat.patch
@@ -2430,3 +2430,69 @@ diff -urp linux-2.6.10/include/linux/if_ppp.h linux-2.6.10-gentoo/include/linux/
/* This should work for both 32 and 64 bit userland. */
struct ethtool_cmd {
__u32 cmd;
+diff -ur linux-2.6.11/include/asm-ia64/bitops.h linux-2.6.11-gentoo/include/asm-ia64/bitops.h
+--- linux-2.6.11/include/asm-ia64/bitops.h 2005-04-24 13:56:27.000000000 -0500
++++ linux-2.6.11-gentoo/include/asm-ia64/bitops.h 2005-04-24 13:48:38.120189000 -0500
+@@ -311,8 +311,6 @@
+ return result;
+ }
+
+-#ifdef __KERNEL__
+-
+ /*
+ * find_last_zero_bit - find the last zero bit in a 64 bit quantity
+ * @x: The value to search
+@@ -341,6 +339,8 @@
+ */
+ #define ffs(x) __builtin_ffs(x)
+
++#ifdef __KERNEL__
++
+ /*
+ * hweightN: returns the hamming weight (i.e. the number
+ * of bits set) of a N-bit word
+diff -ur linux-2.6.11/include/asm-ia64/page.h linux-2.6.11-gentoo/include/asm-ia64/page.h
+--- linux-2.6.11/include/asm-ia64/page.h 2005-04-24 13:56:27.000000000 -0500
++++ linux-2.6.11-gentoo/include/asm-ia64/page.h 2005-04-24 13:46:03.891675000 -0500
+@@ -109,6 +109,8 @@
+ #define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT)
+ #define virt_to_page(kaddr) pfn_to_page(__pa(kaddr) >> PAGE_SHIFT)
+
++#endif /* __KERNEL__ */
++
+ typedef union ia64_va {
+ struct {
+ unsigned long off : 61; /* intra-region offset */
+@@ -130,6 +132,8 @@
+ #define REGION_NUMBER(x) ({ia64_va _v; _v.l = (long) (x); _v.f.reg;})
+ #define REGION_OFFSET(x) ({ia64_va _v; _v.l = (long) (x); _v.f.off;})
+
++#ifdef __KERNEL__
++
+ #define REGION_SIZE REGION_NUMBER(1)
+ #define REGION_KERNEL 7
+
+diff -ur linux-2.6.11/include/asm-ia64/processor.h linux-2.6.11-gentoo/include/asm-ia64/processor.h
+--- linux-2.6.11/include/asm-ia64/processor.h 2005-04-24 13:56:27.000000000 -0500
++++ linux-2.6.11-gentoo/include/asm-ia64/processor.h 2005-04-24 13:53:40.383857000 -0500
+@@ -351,7 +353,7 @@
+ * do_basic_setup() and the timing is such that free_initmem() has
+ * been called already.
+ */
+-extern pid_t kernel_thread (int (*fn)(void *), void *arg, unsigned long flags);
++extern __kernel_pid_t kernel_thread (int (*fn)(void *), void *arg, unsigned long flags);
+
+ /* Get wait channel for task P. */
+ extern unsigned long get_wchan (struct task_struct *p);
+diff -ur linux-2.6.11/include/asm-ia64/thread_info.h linux-2.6.11-gentoo/include/asm-ia64/thread_info.h
+--- linux-2.6.11/include/asm-ia64/thread_info.h 2005-04-24 13:56:27.000000000 -0500
++++ linux-2.6.11-gentoo/include/asm-ia64/thread_info.h 2005-04-24 13:54:00.893623000 -0500
+@@ -32,7 +32,7 @@
+ int code;
+ void __user *addr;
+ unsigned long start_time;
+- pid_t pid;
++ __kernel_pid_t pid;
+ } sigdelayed; /* Saved information for TIF_SIGDELAYED */
+ };
+