diff options
author | Daniel Robbins <drobbins@gentoo.org> | 2002-04-23 05:19:56 +0000 |
---|---|---|
committer | Daniel Robbins <drobbins@gentoo.org> | 2002-04-23 05:19:56 +0000 |
commit | 82a00d46d52347af05d159f4fb9c2c67dc69a52a (patch) | |
tree | b09f6405e796639018a341bc243be0b680fb1ca4 /sys-kernel | |
parent | Fixes (#1982) (diff) | |
download | gentoo-2-82a00d46d52347af05d159f4fb9c2c67dc69a52a.tar.gz gentoo-2-82a00d46d52347af05d159f4fb9c2c67dc69a52a.tar.bz2 gentoo-2-82a00d46d52347af05d159f4fb9c2c67dc69a52a.zip |
major changes to the sys-kernel tree
Diffstat (limited to 'sys-kernel')
38 files changed, 19 insertions, 4415 deletions
diff --git a/sys-kernel/linux-sources/linux-sources-2.4.19.ebuild b/sys-kernel/gentoo-sources/gentoo-sources-2.4.19.ebuild index b8f3eb30b702..b366d22e73f8 100644 --- a/sys-kernel/linux-sources/linux-sources-2.4.19.ebuild +++ b/sys-kernel/gentoo-sources/gentoo-sources-2.4.19.ebuild @@ -1,28 +1,28 @@ # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # Maintainer: Daniel Robbins <drobbins@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-sources/linux-sources-2.4.19.ebuild,v 1.1 2002/03/29 23:11:17 drobbins Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/gentoo-sources/gentoo-sources-2.4.19.ebuild,v 1.1 2002/04/23 05:19:56 drobbins Exp $ #OKV=original kernel version, KV=patched kernel version. They can be the same. #we use this next variable to avoid duplicating stuff on cvs GFILESDIR=${PORTDIR}/sys-kernel/linux-sources/files OKV=2.4.18 -KV=2.4.19 +KV=2.4.19-gentoo S=${WORKDIR}/linux-${KV} +ETYPE="sources" # What's in this kernel? # INCLUDED: -# 2.4.19-pre2 stock kernel, plus: -# 2.4.19-pre2-ac4 patch, plus: -# SGI XFS (28 Mar 2002 CVS) +# 2.4.16, plus: +# 2.4.17-pre4 (aka "2.4.16-pre4") openmosix DESCRIPTION="Full sources for the Gentoo Linux kernel" SRC_URI="http://www.kernel.org/pub/linux/kernel/v2.4/linux-${OKV}.tar.bz2 http://www.ibiblio.org/gentoo/distfiles/linux-gentoo-${KV}.patch.bz2" PROVIDE="virtual/kernel" HOMEPAGE="http://www.kernel.org/ http://www.gentoo.org/" -if [ $PN = "linux-sources" ] && [ -z "`use build`" ] +if [ $ETYPE = "sources" ] && [ -z "`use build`" ] then #console-tools is needed to solve the loadkeys fiasco; binutils version needed to avoid Athlon/PIII/SSE assembler bugs. DEPEND=">=sys-devel/binutils-2.11.90.0.31" @@ -58,7 +58,7 @@ src_unpack() { } src_compile() { - if [ "$PN" = "linux-headers" ] + if [ "$ETYPE" = "headers" ] then yes "" | make oldconfig echo "Ignore any errors from the yes command above." @@ -66,7 +66,7 @@ src_compile() { } src_install() { - if [ "$PN" = "linux-sources" ] + if [ "$ETYPE" = "sources" ] then dodir /usr/src echo ">>> Copying sources..." @@ -82,7 +82,7 @@ src_install() { } pkg_preinst() { - if [ "$PN" = "linux-headers" ] + if [ "$ETYPE" = "headers" ] then [ -L ${ROOT}usr/include/linux ] && rm ${ROOT}usr/include/linux [ -L ${ROOT}usr/include/asm ] && rm ${ROOT}usr/include/asm @@ -91,7 +91,7 @@ pkg_preinst() { } pkg_postinst() { - [ "$PN" = "linux-headers" ] && return + [ "$ETYPE" = "headers" ] && return cd ${ROOT}usr/src/linux-${KV} make mrproper if [ -e "${ROOT}usr/src/linux/.config" ] diff --git a/sys-kernel/linux-sources/ChangeLog b/sys-kernel/linux-sources/ChangeLog deleted file mode 100644 index 8c0100fe5c7e..000000000000 --- a/sys-kernel/linux-sources/ChangeLog +++ /dev/null @@ -1,60 +0,0 @@ -# ChangeLog for sys-kernel/linux-sources -# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-sources/ChangeLog,v 1.7 2002/03/20 23:12:12 drobbins Exp $ - -*linux-sources-2.4.17-r5 (20 Mar 2002) -*linux-sources-2.4.18 (20 Mar 2002) - - 20 Mar 2002; Daniel Robbins <drobbins@gentoo.org>: We now do a "yes "" | make - oldconfig" for linux-headers (in src_compile()) in order to ensure that - /usr/include/linux/autoconf.h gets merged, which is required for things such - as iptables and likely many other packages. No rev bump. - -*linux-sources-2.4.17-r5 (12 Mar 2002) -*linux-sources-2.4.18 (12 Mar 2002) - - 12 Mar 2002; Daniel Robbins <drobbins@gentoo.org>: Reworked internals of - 2.4.17-r5 and 2.4.18 ebuilds but did not bump version since the actual kernel - sources are the same. A lot of streamlining. In addition, we now use the - existing .config of the currently-active (pointed to by /usr/src/linux) - kernel if available. Many things were moved to pkg_postinst() as they fit - better there. We now do a "make dep" after the kernel sources are installed. - This closes bug #1045, which will cause any kernel module-related ebuild - merges to fail if linux-sources has been updated without the user doing a - manual "make dep". - -*linux-sources-2.2.x (28 Feb 2002) - - 28 Feb 2002; Grant Goodyear <g2boojum@gentoo.org>: - New 2.2 sources; read ebuilds for comments. Note: Masked until the - necessary sys-apps/baselayout changes become available. - -*linux-sources-2.4.17-r5 (14 Feb 2002) - - 14 Feb 2002; Daniel Robbins <drobbins@gentoo.org>: - acpi-20020214-2.4.17.diff.gz added back since they closed bug #689 for us; - ide-2.4.17.02072002.patch has been removed due to bug #690 and will be added - back when this bug is closed (The existence of this bug has been confirmed - with the patch author) - -*linux-sources-2.4.17-r4 (13 Feb 2002) - - 13 Feb 2002; Daniel Robbins <drobbins@gentoo.org>: XFS was updated from "26 - Jan 2002" to "13 Feb 2002"; IDE patch updated from "01192002" to "02072002"; - RML preempt patch was updated from 2.4.17-1 to 2.4.17-3; irqrate-a1 was - removed (closing bug #396 and possibly others); acpi-20020208-2.4.17 was - added but then removed. It conflicts with stock aic7xxx SCSI driver and a - bunch of other stuff; bug report sent "upstream" to their bug tracker at - http://www.sourceforge.net/projects/acpi and also recorded in our bug tracker - at http://bugs.gentoo.org/show_bug.cgi?id=689. We will add this patch back - once these various issues have been resolved. - -*linux-sources-2.4.17-r3 (1 Feb 2002) - - 1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog : - - Added initial ChangeLog which should be updated whenever the package is - updated in any way. This changelog is targetted to users. This means that the - comments should well explained and written in clean English. The details about - writing correct changelogs are explained in the skel.ChangeLog file which you - can find in the root directory of the portage repository. diff --git a/sys-kernel/linux-sources/files/2.4.17/XFS-20011214.patch b/sys-kernel/linux-sources/files/2.4.17/XFS-20011214.patch deleted file mode 100644 index e721e310d658..000000000000 --- a/sys-kernel/linux-sources/files/2.4.17/XFS-20011214.patch +++ /dev/null @@ -1,104 +0,0 @@ ---- XFS-20011214.patch.orig Mon Dec 24 13:26:19 2001 -+++ XFS-20011214.patch Mon Dec 24 13:26:15 2001 -@@ -4,7 +4,7 @@ - @@ -54,6 +54,7 @@ - o util-linux 2.10o # fdformat --version - o modutils 2.4.2 # insmod -V -- o e2fsprogs 1.19 # tune2fs -+ o e2fsprogs 1.25 # tune2fs - +o xfsprogs 1.2.0 # xfs_db -V - o reiserfsprogs 3.x.0j # reiserfsck 2>&1|grep reiserfsprogs - o pcmcia-cs 3.1.21 # cardmgr -V -@@ -1458,7 +1458,7 @@ - @@ -1,7 +1,7 @@ - VERSION = 2 - PATCHLEVEL = 4 -- SUBLEVEL = 16 -+ SUBLEVEL = 17 - -EXTRAVERSION = - +EXTRAVERSION =-xfs - -@@ -13461,11 +13461,7 @@ - diff --exclude CVS -urN linux-orig/arch/sparc64/defconfig linux/arch/sparc64/defconfig - --- linux-orig/arch/sparc64/defconfig Tue Nov 13 10:16:05 2001 - +++ linux/arch/sparc64/defconfig Fri Nov 16 15:21:00 2001 --@@ -862,3 +862,12 @@ -- # Kernel hacking -- # -- # CONFIG_MAGIC_SYSRQ is not set --+ -+@@ -861,3 +861,12 @@ - +# - +# XFS addons - +# -@@ -13474,6 +13470,10 @@ - +CONFIG_XFS_FS=y - +# CONFIG_XFS_RT is not set - +CONFIG_XFS_DMAPI=y -++ -+ # -+ # Kernel hacking -+ # - diff --exclude CVS -urN linux-orig/drivers/block/ll_rw_blk.c linux/drivers/block/ll_rw_blk.c - --- linux-orig/drivers/block/ll_rw_blk.c Mon Oct 29 13:11:17 2001 - +++ linux/drivers/block/ll_rw_blk.c Tue Oct 30 08:53:18 2001 -@@ -158824,14 +158824,14 @@ - }; - - /* --@@ -905,6 +949,7 @@ -+@@ -951,6 +951,7 @@ - */ - struct dentry * (*fh_to_dentry)(struct super_block *sb, __u32 *fh, int len, int fhtype, int parent); - int (*dentry_to_fh)(struct dentry *, __u32 *fh, int *lenp, int need_parent); - + int (*dmapi_mount_event) (struct super_block *, char *); -+ int (*show_options)(struct seq_file *, struct vfsmount *); - }; - -- /* Inode state bits.. */ - @@ -914,6 +959,7 @@ - #define I_LOCK 8 - #define I_FREEING 16 -@@ -162182,19 +162182,21 @@ - if (!strncmp(line,"init=",5)) { - line += 5; - execute_command = line; --@@ -591,6 +623,12 @@ -- #endif -- mem_init(); -- kmem_cache_sizes_init(); -+@@ -630,7 +630,13 @@ -+ pgtable_cache_init(); -+ -+ mempages = num_physpages; -+- - +#if defined(CONFIG_KDB) - + kdb_init(); - + if (KDB_FLAG(EARLYKDB)) { - + KDB_ENTER(); - + } - +#endif -- mempages = num_physpages; -- -++ - fork_init(mempages); -+ proc_caches_init(); -+ vfs_caches_init(mempages); - diff --exclude CVS -urN linux-orig/kdb/ChangeLog linux/kdb/ChangeLog - --- linux-orig/kdb/ChangeLog Wed Dec 31 17:00:00 1969 - +++ linux/kdb/ChangeLog Mon Dec 3 23:32:43 2001 -@@ -169322,14 +169324,6 @@ - diff --exclude CVS -urN linux-orig/mm/vmalloc.c linux/mm/vmalloc.c - --- linux-orig/mm/vmalloc.c Mon Sep 17 14:16:31 2001 - +++ linux/mm/vmalloc.c Fri Sep 21 10:28:50 2001 --@@ -6,6 +6,7 @@ -- * SMP-safe vmalloc/vfree/ioremap, Tigran Aivazian <tigran@veritas.com>, May 2000 -- */ -- --+#include <linux/config.h> -- #include <linux/slab.h> -- #include <linux/vmalloc.h> -- #include <linux/spinlock.h> - @@ -18,6 +19,53 @@ - rwlock_t vmlist_lock = RW_LOCK_UNLOCKED; - struct vm_struct * vmlist; diff --git a/sys-kernel/linux-sources/files/2.4.17/acpi-20011205.diff b/sys-kernel/linux-sources/files/2.4.17/acpi-20011205.diff deleted file mode 100644 index 58cb17be4c50..000000000000 --- a/sys-kernel/linux-sources/files/2.4.17/acpi-20011205.diff +++ /dev/null @@ -1,171 +0,0 @@ ---- acpi-20011205.diff.orig Mon Dec 24 13:26:34 2001 -+++ acpi-20011205.diff Mon Dec 24 13:26:31 2001 -@@ -20215,7 +20215,7 @@ - * - *****************************************************************************/ - --@@ -29,12 +29,13 @@ -+@@ -29,7 +29,7 @@ - #include <linux/init.h> - #include <linux/types.h> - #include <linux/proc_fs.h> -@@ -20224,12 +20224,6 @@ - #include "ac.h" - - -- MODULE_AUTHOR("Andrew Grover"); -- MODULE_DESCRIPTION("ACPI Component Architecture (CA) - AC Adapter Driver"); --+MODULE_LICENSE("GPL"); -- -- -- #define AC_PROC_ROOT "ac_adapter" - @@ -77,8 +78,8 @@ - goto end; - } -@@ -20413,7 +20407,7 @@ - * - *****************************************************************************/ - --@@ -38,12 +38,13 @@ -+@@ -38,7 +38,7 @@ - #include <linux/init.h> - #include <linux/types.h> - #include <linux/proc_fs.h> -@@ -20422,12 +20416,6 @@ - #include "bt.h" - - -- MODULE_AUTHOR("Andrew Grover"); -- MODULE_DESCRIPTION("ACPI Component Architecture (CA) - Control Method Battery Driver"); --+MODULE_LICENSE("GPL"); -- -- -- #define BT_PROC_ROOT "battery" - diff -Naur -X bin/dontdiff /usr/src/linux/drivers/acpi/ospm/busmgr/bm.c linux/drivers/acpi/ospm/busmgr/bm.c - --- /usr/src/linux/drivers/acpi/ospm/busmgr/bm.c Wed Oct 24 14:06:22 2001 - +++ linux/drivers/acpi/ospm/busmgr/bm.c Wed Dec 5 10:52:33 2001 -@@ -20470,7 +20458,7 @@ - * - *****************************************************************************/ - --@@ -32,12 +32,13 @@ -+@@ -32,7 +32,7 @@ - #include <linux/spinlock.h> - #include <linux/poll.h> - #include <asm/uaccess.h> -@@ -20479,12 +20467,6 @@ - #include "bm.h" - - -- MODULE_AUTHOR("Andrew Grover"); -- MODULE_DESCRIPTION("ACPI Component Architecture (CA) - ACPI Bus Manager"); --+MODULE_LICENSE("GPL"); -- -- -- /***************************************************************************** - @@ -58,6 +59,12 @@ - #define BM_PROC_ROOT "acpi" - #define BM_PROC_EVENT "event" -@@ -21494,7 +21476,7 @@ - * - *****************************************************************************/ - --@@ -29,13 +29,13 @@ -+@@ -29,7 +29,7 @@ - #include <linux/init.h> - #include <linux/types.h> - #include <linux/proc_fs.h> -@@ -21503,13 +21485,6 @@ - #include "bn.h" - - -- MODULE_AUTHOR("Andrew Grover"); -- MODULE_DESCRIPTION("ACPI Component Architecture (CA) - Button Driver"); --- --+MODULE_LICENSE("GPL"); -- -- #define BN_PROC_ROOT "button" -- #define BN_PROC_POWER_BUTTON "power" - @@ -95,6 +95,7 @@ - break; - case BN_TYPE_FIXED: -@@ -21538,7 +21513,7 @@ - * - *****************************************************************************/ - --@@ -29,13 +29,14 @@ -+@@ -29,8 +29,8 @@ - #include <linux/init.h> - #include <linux/types.h> - #include <linux/proc_fs.h> -@@ -21549,12 +21524,6 @@ - #include "ec.h" - - -- MODULE_AUTHOR("Andrew Grover"); -- MODULE_DESCRIPTION("ACPI Component Architecture (CA) - Embedded Controller Driver"); --+MODULE_LICENSE("GPL"); -- -- extern struct proc_dir_entry *bm_proc_root; -- - diff -Naur -X bin/dontdiff /usr/src/linux/drivers/acpi/ospm/ec/ecgpe.c linux/drivers/acpi/ospm/ec/ecgpe.c - --- /usr/src/linux/drivers/acpi/ospm/ec/ecgpe.c Sun Sep 23 09:42:32 2001 - +++ linux/drivers/acpi/ospm/ec/ecgpe.c Wed Dec 5 10:52:33 2001 -@@ -22284,7 +22253,7 @@ - * - *****************************************************************************/ - --@@ -30,13 +30,14 @@ -+@@ -30,8 +30,8 @@ - #include <linux/types.h> - #include <linux/proc_fs.h> - #include <linux/pci.h> -@@ -22295,12 +22264,6 @@ - #include "pr.h" - - -- MODULE_AUTHOR("Andrew Grover"); -- MODULE_DESCRIPTION("ACPI Component Architecture (CA) - IA32 Processor Driver"); --+MODULE_LICENSE("GPL"); -- -- -- #define PR_PROC_ROOT "processor" - @@ -81,6 +82,9 @@ - processor->power.state[PR_C2].utilization, - processor->power.state[PR_C3].utilization); -@@ -23181,7 +23144,7 @@ - * - *****************************************************************************/ - --@@ -30,26 +30,38 @@ -+@@ -30,13 +30,17 @@ - #include <linux/types.h> - #include <linux/proc_fs.h> - #include <linux/pm.h> -@@ -23204,9 +23167,8 @@ - #include "sm.h" - - -- MODULE_AUTHOR("Andrew Grover"); -- MODULE_DESCRIPTION("ACPI Component Architecture (CA) - ACPI System Driver"); --+MODULE_LICENSE("GPL"); -+@@ -45,12 +49,19 @@ -+ MODULE_LICENSE("GPL"); - - - +extern FADT_DESCRIPTOR acpi_fadt; -@@ -24236,14 +24198,6 @@ - * - *****************************************************************************/ - --@@ -35,6 +35,7 @@ -- -- MODULE_AUTHOR("Andrew Grover"); -- MODULE_DESCRIPTION("ACPI Component Architecture (CA) - Thermal Zone Driver"); --+MODULE_LICENSE("GPL"); -- -- int TZP = 0; -- MODULE_PARM(TZP, "i"); - @@ -64,15 +65,11 @@ - int *eof, - void *context) diff --git a/sys-kernel/linux-sources/files/digest-linux-sources-2.2.20 b/sys-kernel/linux-sources/files/digest-linux-sources-2.2.20 deleted file mode 100644 index c56fa76c203a..000000000000 --- a/sys-kernel/linux-sources/files/digest-linux-sources-2.2.20 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 2b002a71a056f11c05e25a24cc3b7cb0 linux-2.2.20.tar.bz2 15751285 -MD5 dbbebb7c67d9dce8424bc59849d96c6f devfs-patch-v99.21.gz 106364 -MD5 1fb60fa711b89f6d11f308dc303950ad linux-2.2.19-reiserfs-3.5.34-patch.bz2 154773 diff --git a/sys-kernel/linux-sources/files/digest-linux-sources-2.2.21_pre3 b/sys-kernel/linux-sources/files/digest-linux-sources-2.2.21_pre3 deleted file mode 100644 index 085679c40ff3..000000000000 --- a/sys-kernel/linux-sources/files/digest-linux-sources-2.2.21_pre3 +++ /dev/null @@ -1,4 +0,0 @@ -MD5 2b002a71a056f11c05e25a24cc3b7cb0 linux-2.2.20.tar.bz2 15751285 -MD5 715b5709eff4823b35e1240632d34219 patch-2.2.21-pre3.gz 245824 -MD5 dbbebb7c67d9dce8424bc59849d96c6f devfs-patch-v99.21.gz 106364 -MD5 1fb60fa711b89f6d11f308dc303950ad linux-2.2.19-reiserfs-3.5.34-patch.bz2 154773 diff --git a/sys-kernel/linux-sources/files/digest-linux-sources-2.4.13 b/sys-kernel/linux-sources/files/digest-linux-sources-2.4.13 deleted file mode 100644 index 016d0a50926a..000000000000 --- a/sys-kernel/linux-sources/files/digest-linux-sources-2.4.13 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 b2b95d9a50f7ef0a2421492ffd31241e linux-2.4.13.tar.bz2 23111925 -MD5 1aa87a35a1d808534cc78f32af0a1b2d lvm_1.0.1-rc4.tar.gz 359540 -MD5 8df7419287730e97dd46160ce4ab7c59 MOSIX-1.5.2.tar.gz 407550 diff --git a/sys-kernel/linux-sources/files/digest-linux-sources-2.4.16 b/sys-kernel/linux-sources/files/digest-linux-sources-2.4.16 deleted file mode 100644 index 1528197e94de..000000000000 --- a/sys-kernel/linux-sources/files/digest-linux-sources-2.4.16 +++ /dev/null @@ -1,4 +0,0 @@ -MD5 d3a363dc4f0731b57d1ed90a3eadf150 linux-2.4.16.tar.bz2 23746229 -MD5 d22bb71a161e8e0a6813beb8c92f1b57 acpi-20011120.diff.gz 138161 -MD5 ab42d7130b7f25b61368dd908eb43ae2 2.4.16-low-latency.patch.gz 12775 -MD5 3f06fa56bb56029823198eeb566c25db preempt-kernel-rml-2.4.16-1.patch 46533 diff --git a/sys-kernel/linux-sources/files/digest-linux-sources-2.4.16-r2 b/sys-kernel/linux-sources/files/digest-linux-sources-2.4.16-r2 deleted file mode 100644 index d675bdc767cc..000000000000 --- a/sys-kernel/linux-sources/files/digest-linux-sources-2.4.16-r2 +++ /dev/null @@ -1,5 +0,0 @@ -MD5 d3a363dc4f0731b57d1ed90a3eadf150 linux-2.4.16.tar.bz2 23746229 -MD5 d22bb71a161e8e0a6813beb8c92f1b57 acpi-20011120.diff.gz 138161 -MD5 ab42d7130b7f25b61368dd908eb43ae2 2.4.16-low-latency.patch.gz 12775 -MD5 3f06fa56bb56029823198eeb566c25db preempt-kernel-rml-2.4.16-1.patch 46533 -MD5 1b787f980061af46db1ccf3d7a616e28 XFS-20011214.patch.bz2 863336 diff --git a/sys-kernel/linux-sources/files/digest-linux-sources-2.4.16-r3 b/sys-kernel/linux-sources/files/digest-linux-sources-2.4.16-r3 deleted file mode 100644 index 20dfb15a3893..000000000000 --- a/sys-kernel/linux-sources/files/digest-linux-sources-2.4.16-r3 +++ /dev/null @@ -1,6 +0,0 @@ -MD5 d3a363dc4f0731b57d1ed90a3eadf150 linux-2.4.16.tar.bz2 23746229 -MD5 d22bb71a161e8e0a6813beb8c92f1b57 acpi-20011120.diff.gz 138161 -MD5 5e7cebbcc90d795534c6526848e98c17 preempt-kernel-rml-2.4.16-2.patch 56220 -MD5 eb3a1d7aad801bca3c4019b7094f3017 lock-break-rml-2.4.16-3.patch 23174 -MD5 1b787f980061af46db1ccf3d7a616e28 XFS-20011214.patch.bz2 863336 -MD5 d76523e8927fee6ec829b4c2a235416f bridge-nf-0.0.4-against-2.4.16.diff 25769 diff --git a/sys-kernel/linux-sources/files/digest-linux-sources-2.4.17 b/sys-kernel/linux-sources/files/digest-linux-sources-2.4.17 deleted file mode 100644 index 16a796638189..000000000000 --- a/sys-kernel/linux-sources/files/digest-linux-sources-2.4.17 +++ /dev/null @@ -1,6 +0,0 @@ -MD5 1b787f980061af46db1ccf3d7a616e28 XFS-20011214.patch.bz2 864256 -MD5 80c1b2fcba00cfc4bde2d3bae7dcfaaa acpi-20011205.diff.gz 184320 -MD5 2751af557370f979b19feb1d8f2d3e53 bridge-nf-0.0.5pre3-against-2.4.17.diff 28672 -MD5 0628d142eeb6fc31856d7a60d3f30a82 linux-2.4.17.tar.bz2 23842816 -MD5 8d857d12d06945a275829fa086521476 lock-break-rml-2.4.17-2.patch 32768 -MD5 1920d4b9c793860f6dbc04b384faeb55 preempt-kernel-rml-2.4.17-1.patch 57344 diff --git a/sys-kernel/linux-sources/files/digest-linux-sources-2.4.17-r1 b/sys-kernel/linux-sources/files/digest-linux-sources-2.4.17-r1 deleted file mode 100644 index d800ceed13ae..000000000000 --- a/sys-kernel/linux-sources/files/digest-linux-sources-2.4.17-r1 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 0628d142eeb6fc31856d7a60d3f30a82 linux-2.4.17.tar.bz2 23842816 -MD5 12595d3f48ef53013462e7bc55d2b3aa linux-gentoo-2.4.17-r1.patch.bz2 868352 diff --git a/sys-kernel/linux-sources/files/digest-linux-sources-2.4.17-r2 b/sys-kernel/linux-sources/files/digest-linux-sources-2.4.17-r2 deleted file mode 100644 index e555237e0593..000000000000 --- a/sys-kernel/linux-sources/files/digest-linux-sources-2.4.17-r2 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 0628d142eeb6fc31856d7a60d3f30a82 linux-2.4.17.tar.bz2 23842816 -MD5 a32f462407801e1710fb31fb1c6ff421 linux-gentoo-2.4.17-r2.patch.bz2 966656 diff --git a/sys-kernel/linux-sources/files/digest-linux-sources-2.4.17-r3 b/sys-kernel/linux-sources/files/digest-linux-sources-2.4.17-r3 deleted file mode 100644 index d706d800f2b8..000000000000 --- a/sys-kernel/linux-sources/files/digest-linux-sources-2.4.17-r3 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 0628d142eeb6fc31856d7a60d3f30a82 linux-2.4.17.tar.bz2 23841012 -MD5 64d19389db4c2d92ad4923697ae03b9b linux-gentoo-2.4.17-r3.patch.bz2 1098120 diff --git a/sys-kernel/linux-sources/files/digest-linux-sources-2.4.17-r4 b/sys-kernel/linux-sources/files/digest-linux-sources-2.4.17-r4 deleted file mode 100644 index 7495d229ce5d..000000000000 --- a/sys-kernel/linux-sources/files/digest-linux-sources-2.4.17-r4 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 0628d142eeb6fc31856d7a60d3f30a82 linux-2.4.17.tar.bz2 23841012 -MD5 be1435bfba34e0681a1338338a0f2ce5 linux-gentoo-2.4.17-r4.patch.bz2 951484 diff --git a/sys-kernel/linux-sources/files/digest-linux-sources-2.4.17-r5 b/sys-kernel/linux-sources/files/digest-linux-sources-2.4.17-r5 deleted file mode 100644 index 6c8893605957..000000000000 --- a/sys-kernel/linux-sources/files/digest-linux-sources-2.4.17-r5 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 0628d142eeb6fc31856d7a60d3f30a82 linux-2.4.17.tar.bz2 23841012 -MD5 35ab65b7b1d030e56bec8be730ab857e linux-gentoo-2.4.17-r5.patch.bz2 1192930 diff --git a/sys-kernel/linux-sources/files/digest-linux-sources-2.4.18 b/sys-kernel/linux-sources/files/digest-linux-sources-2.4.18 deleted file mode 100644 index 28708869a758..000000000000 --- a/sys-kernel/linux-sources/files/digest-linux-sources-2.4.18 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 0628d142eeb6fc31856d7a60d3f30a82 linux-2.4.17.tar.bz2 23841012 -MD5 1a38eaadedbbdcdbb7001b8747dedbbe linux-gentoo-2.4.18.patch.bz2 2172022 diff --git a/sys-kernel/linux-sources/files/digest-linux-sources-2.4.18_pre3 b/sys-kernel/linux-sources/files/digest-linux-sources-2.4.18_pre3 deleted file mode 100644 index 1e070dbd8bd0..000000000000 --- a/sys-kernel/linux-sources/files/digest-linux-sources-2.4.18_pre3 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 0628d142eeb6fc31856d7a60d3f30a82 linux-2.4.17.tar.bz2 23842816 -MD5 0e91070e663663da9b15d63d6053d6c9 linux-gentoo-2.4.18-pre3.patch.bz2 2379776 diff --git a/sys-kernel/linux-sources/files/digest-linux-sources-2.4.18_pre3-r1 b/sys-kernel/linux-sources/files/digest-linux-sources-2.4.18_pre3-r1 deleted file mode 100644 index 1e070dbd8bd0..000000000000 --- a/sys-kernel/linux-sources/files/digest-linux-sources-2.4.18_pre3-r1 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 0628d142eeb6fc31856d7a60d3f30a82 linux-2.4.17.tar.bz2 23842816 -MD5 0e91070e663663da9b15d63d6053d6c9 linux-gentoo-2.4.18-pre3.patch.bz2 2379776 diff --git a/sys-kernel/linux-sources/files/digest-linux-sources-2.4.18_pre4 b/sys-kernel/linux-sources/files/digest-linux-sources-2.4.18_pre4 deleted file mode 100644 index 69acca29e992..000000000000 --- a/sys-kernel/linux-sources/files/digest-linux-sources-2.4.18_pre4 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 0628d142eeb6fc31856d7a60d3f30a82 linux-2.4.17.tar.bz2 23842816 -MD5 28a8e4bcb785132ce52b7654c1ce165e linux-gentoo-2.4.18-pre4.patch.bz2 1765376 diff --git a/sys-kernel/linux-sources/files/digest-linux-sources-2.4.19 b/sys-kernel/linux-sources/files/digest-linux-sources-2.4.19 deleted file mode 100644 index 1a970bf87df7..000000000000 --- a/sys-kernel/linux-sources/files/digest-linux-sources-2.4.19 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 ad92859baaa837847b34d842b9f39d38 linux-2.4.18.tar.bz2 24161675 -MD5 044c262c0354fae6c34250f658d3ebd2 linux-gentoo-2.4.19.patch.bz2 4024605 diff --git a/sys-kernel/linux-sources/files/digest-linux-sources-2.4.19-r1 b/sys-kernel/linux-sources/files/digest-linux-sources-2.4.19-r1 deleted file mode 100644 index cab71cdc55b6..000000000000 --- a/sys-kernel/linux-sources/files/digest-linux-sources-2.4.19-r1 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 ad92859baaa837847b34d842b9f39d38 linux-2.4.18.tar.bz2 24161675 -MD5 49331e039d3847b2c353913f9b36037b linux-gentoo-2.4.19-r1.patch.bz2 4023938 diff --git a/sys-kernel/linux-sources/files/generate-asm-sparc b/sys-kernel/linux-sources/files/generate-asm-sparc deleted file mode 100644 index c0e8f901c42d..000000000000 --- a/sys-kernel/linux-sources/files/generate-asm-sparc +++ /dev/null @@ -1,72 +0,0 @@ -#!/bin/sh -e -# -# $Id: generate-asm-sparc,v 1.1 2002/04/18 01:13:34 murphy Exp $ -# -# Scipt borrowed entirely from Debian Sparc libc6-dev package - -# Idea borrowed from RedHat's kernel package - -if [ -n "$1" ]; then - if [ ! -d "$1" ]; then - echo "$1" does not exist, or is not a directory - exit 1 - fi - cd $1 -else - cd /usr/include -fi - -if [ ! -d asm-sparc -o ! -d asm-sparc64 ] ; then - echo E: asm-sparc and asm-sparc64 must exist, or you will have problems - exit 1 -fi - -rm -rf asm -mkdir asm - -for h in `( ls asm-sparc; ls asm-sparc64 ) | grep '\.h$' | sort -u`; do - name=`echo $h | tr a-z. A-Z_` - # common header - cat > asm/$h << EOF -/* All asm/ files are generated and point to the corresponding - * file in asm-sparc or asm-sparc64. To regenerate, run "generate-asm" - */ - -#ifndef __SPARCSTUB__${name}__ -#define __SPARCSTUB__${name}__ - -EOF - - # common for sparc and sparc64 - if [ -f asm-sparc/$h -a -f asm-sparc64/$h ]; then - cat >> asm/$h <<EOF -#ifdef __arch64__ -#include <asm-sparc64/$h> -#else -#include <asm-sparc/$h> -#endif -EOF - - # sparc only - elif [ -f asm-sparc/$h ]; then - cat >> asm/$h <<EOF -#ifndef __arch64__ -#include <asm-sparc/$h> -#endif -EOF - # sparc64 only - else - cat >> asm/$h <<EOF -#ifdef __arch64__ -#include <asm-sparc64/$h> -#endif -EOF - fi - - # common footer - cat >> asm/$h <<EOF - -#endif /* !__SPARCSTUB__${name}__ */ -EOF - -done diff --git a/sys-kernel/linux-sources/files/linux-2.4.16-binutils.patch b/sys-kernel/linux-sources/files/linux-2.4.16-binutils.patch deleted file mode 100644 index 6df732bc04d1..000000000000 --- a/sys-kernel/linux-sources/files/linux-2.4.16-binutils.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- linux/arch/i386/vmlinux.lds Mon Dec 24 10:38:51 2001 -+++ linux-fixed/arch/i386/vmlinux.lds Mon Dec 24 10:39:02 2001 -@@ -71,7 +71,6 @@ - - /* Sections to be discarded */ - /DISCARD/ : { -- *(.text.exit) - *(.data.exit) - *(.exitcall.exit) - } diff --git a/sys-kernel/linux-sources/files/sparc-asm_offsets.h b/sys-kernel/linux-sources/files/sparc-asm_offsets.h deleted file mode 100644 index 5291a2dd6546..000000000000 --- a/sys-kernel/linux-sources/files/sparc-asm_offsets.h +++ /dev/null @@ -1,613 +0,0 @@ -/* Automatically generated. Do not edit. */ -#ifndef __ASM_OFFSETS_H__ -#define __ASM_OFFSETS_H__ - -#include <linux/config.h> - -#ifndef CONFIG_SMP - -#define AOFF_task_state 0x00000000 -#define ASIZ_task_state 0x00000004 -#define AOFF_task_flags 0x00000004 -#define ASIZ_task_flags 0x00000004 -#define AOFF_task_sigpending 0x00000008 -#define ASIZ_task_sigpending 0x00000004 -#define AOFF_task_addr_limit 0x0000000c -#define ASIZ_task_addr_limit 0x00000004 -#define AOFF_task_exec_domain 0x00000010 -#define ASIZ_task_exec_domain 0x00000004 -#define AOFF_task_need_resched 0x00000014 -#define ASIZ_task_need_resched 0x00000004 -#define AOFF_task_ptrace 0x00000018 -#define ASIZ_task_ptrace 0x00000004 -#define AOFF_task_lock_depth 0x0000001c -#define ASIZ_task_lock_depth 0x00000004 -#define AOFF_task_counter 0x00000020 -#define ASIZ_task_counter 0x00000004 -#define AOFF_task_nice 0x00000024 -#define ASIZ_task_nice 0x00000004 -#define AOFF_task_policy 0x00000028 -#define ASIZ_task_policy 0x00000004 -#define AOFF_task_mm 0x0000002c -#define ASIZ_task_mm 0x00000004 -#define AOFF_task_processor 0x00000030 -#define ASIZ_task_processor 0x00000004 -#define AOFF_task_cpus_runnable 0x00000034 -#define ASIZ_task_cpus_runnable 0x00000004 -#define AOFF_task_cpus_allowed 0x00000038 -#define ASIZ_task_cpus_allowed 0x00000004 -#define AOFF_task_run_list 0x0000003c -#define ASIZ_task_run_list 0x00000008 -#define AOFF_task_sleep_time 0x00000044 -#define ASIZ_task_sleep_time 0x00000004 -#define AOFF_task_next_task 0x00000048 -#define ASIZ_task_next_task 0x00000004 -#define AOFF_task_prev_task 0x0000004c -#define ASIZ_task_prev_task 0x00000004 -#define AOFF_task_active_mm 0x00000050 -#define ASIZ_task_active_mm 0x00000004 -#define AOFF_task_local_pages 0x00000054 -#define ASIZ_task_local_pages 0x00000008 -#define AOFF_task_allocation_order 0x0000005c -#define ASIZ_task_allocation_order 0x00000004 -#define AOFF_task_nr_local_pages 0x00000060 -#define ASIZ_task_nr_local_pages 0x00000004 -#define AOFF_task_binfmt 0x00000064 -#define ASIZ_task_binfmt 0x00000004 -#define AOFF_task_exit_code 0x00000068 -#define ASIZ_task_exit_code 0x00000004 -#define AOFF_task_exit_signal 0x0000006c -#define ASIZ_task_exit_signal 0x00000004 -#define AOFF_task_pdeath_signal 0x00000070 -#define ASIZ_task_pdeath_signal 0x00000004 -#define AOFF_task_personality 0x00000074 -#define ASIZ_task_personality 0x00000004 -#define AOFF_task_pid 0x0000007c -#define ASIZ_task_pid 0x00000004 -#define AOFF_task_pgrp 0x00000080 -#define ASIZ_task_pgrp 0x00000004 -#define AOFF_task_tty_old_pgrp 0x00000084 -#define ASIZ_task_tty_old_pgrp 0x00000004 -#define AOFF_task_session 0x00000088 -#define ASIZ_task_session 0x00000004 -#define AOFF_task_tgid 0x0000008c -#define ASIZ_task_tgid 0x00000004 -#define AOFF_task_leader 0x00000090 -#define ASIZ_task_leader 0x00000004 -#define AOFF_task_p_opptr 0x00000094 -#define ASIZ_task_p_opptr 0x00000004 -#define AOFF_task_p_pptr 0x00000098 -#define ASIZ_task_p_pptr 0x00000004 -#define AOFF_task_p_cptr 0x0000009c -#define ASIZ_task_p_cptr 0x00000004 -#define AOFF_task_p_ysptr 0x000000a0 -#define ASIZ_task_p_ysptr 0x00000004 -#define AOFF_task_p_osptr 0x000000a4 -#define ASIZ_task_p_osptr 0x00000004 -#define AOFF_task_thread_group 0x000000a8 -#define ASIZ_task_thread_group 0x00000008 -#define AOFF_task_pidhash_next 0x000000b0 -#define ASIZ_task_pidhash_next 0x00000004 -#define AOFF_task_pidhash_pprev 0x000000b4 -#define ASIZ_task_pidhash_pprev 0x00000004 -#define AOFF_task_wait_chldexit 0x000000b8 -#define ASIZ_task_wait_chldexit 0x0000000c -#define AOFF_task_vfork_done 0x000000c4 -#define ASIZ_task_vfork_done 0x00000004 -#define AOFF_task_rt_priority 0x000000c8 -#define ASIZ_task_rt_priority 0x00000004 -#define AOFF_task_it_real_value 0x000000cc -#define ASIZ_task_it_real_value 0x00000004 -#define AOFF_task_it_prof_value 0x000000d0 -#define ASIZ_task_it_prof_value 0x00000004 -#define AOFF_task_it_virt_value 0x000000d4 -#define ASIZ_task_it_virt_value 0x00000004 -#define AOFF_task_it_real_incr 0x000000d8 -#define ASIZ_task_it_real_incr 0x00000004 -#define AOFF_task_it_prof_incr 0x000000dc -#define ASIZ_task_it_prof_incr 0x00000004 -#define AOFF_task_it_virt_incr 0x000000e0 -#define ASIZ_task_it_virt_incr 0x00000004 -#define AOFF_task_real_timer 0x000000e4 -#define ASIZ_task_real_timer 0x00000014 -#define AOFF_task_times 0x000000f8 -#define ASIZ_task_times 0x00000010 -#define AOFF_task_start_time 0x00000108 -#define ASIZ_task_start_time 0x00000004 -#define AOFF_task_per_cpu_utime 0x0000010c -#define ASIZ_task_per_cpu_utime 0x00000004 -#define AOFF_task_min_flt 0x00000114 -#define ASIZ_task_min_flt 0x00000004 -#define AOFF_task_maj_flt 0x00000118 -#define ASIZ_task_maj_flt 0x00000004 -#define AOFF_task_nswap 0x0000011c -#define ASIZ_task_nswap 0x00000004 -#define AOFF_task_cmin_flt 0x00000120 -#define ASIZ_task_cmin_flt 0x00000004 -#define AOFF_task_cmaj_flt 0x00000124 -#define ASIZ_task_cmaj_flt 0x00000004 -#define AOFF_task_cnswap 0x00000128 -#define ASIZ_task_cnswap 0x00000004 -#define AOFF_task_uid 0x00000130 -#define ASIZ_task_uid 0x00000004 -#define AOFF_task_euid 0x00000134 -#define ASIZ_task_euid 0x00000004 -#define AOFF_task_suid 0x00000138 -#define ASIZ_task_suid 0x00000004 -#define AOFF_task_fsuid 0x0000013c -#define ASIZ_task_fsuid 0x00000004 -#define AOFF_task_gid 0x00000140 -#define ASIZ_task_gid 0x00000004 -#define AOFF_task_egid 0x00000144 -#define ASIZ_task_egid 0x00000004 -#define AOFF_task_sgid 0x00000148 -#define ASIZ_task_sgid 0x00000004 -#define AOFF_task_fsgid 0x0000014c -#define ASIZ_task_fsgid 0x00000004 -#define AOFF_task_ngroups 0x00000150 -#define ASIZ_task_ngroups 0x00000004 -#define AOFF_task_groups 0x00000154 -#define ASIZ_task_groups 0x00000080 -#define AOFF_task_cap_effective 0x000001d4 -#define ASIZ_task_cap_effective 0x00000004 -#define AOFF_task_cap_inheritable 0x000001d8 -#define ASIZ_task_cap_inheritable 0x00000004 -#define AOFF_task_cap_permitted 0x000001dc -#define ASIZ_task_cap_permitted 0x00000004 -#define AOFF_task_user 0x000001e4 -#define ASIZ_task_user 0x00000004 -#define AOFF_task_rlim 0x000001e8 -#define ASIZ_task_rlim 0x00000058 -#define AOFF_task_used_math 0x00000240 -#define ASIZ_task_used_math 0x00000002 -#define AOFF_task_comm 0x00000242 -#define ASIZ_task_comm 0x00000010 -#define AOFF_task_link_count 0x00000254 -#define ASIZ_task_link_count 0x00000004 -#define AOFF_task_total_link_count 0x00000258 -#define ASIZ_task_total_link_count 0x00000004 -#define AOFF_task_tty 0x0000025c -#define ASIZ_task_tty 0x00000004 -#define AOFF_task_locks 0x00000260 -#define ASIZ_task_locks 0x00000004 -#define AOFF_task_semundo 0x00000264 -#define ASIZ_task_semundo 0x00000004 -#define AOFF_task_semsleeping 0x00000268 -#define ASIZ_task_semsleeping 0x00000004 -#define AOFF_task_thread 0x00000270 -#define ASIZ_task_thread 0x00000380 -#define AOFF_task_fs 0x000005f0 -#define ASIZ_task_fs 0x00000004 -#define AOFF_task_files 0x000005f4 -#define ASIZ_task_files 0x00000004 -#define AOFF_task_sigmask_lock 0x000005f8 -#define ASIZ_task_sigmask_lock 0x00000004 -#define AOFF_task_sig 0x000005fc -#define ASIZ_task_sig 0x00000004 -#define AOFF_task_blocked 0x00000600 -#define ASIZ_task_blocked 0x00000008 -#define AOFF_task_pending 0x00000608 -#define ASIZ_task_pending 0x00000010 -#define AOFF_task_sas_ss_sp 0x00000618 -#define ASIZ_task_sas_ss_sp 0x00000004 -#define AOFF_task_sas_ss_size 0x0000061c -#define ASIZ_task_sas_ss_size 0x00000004 -#define AOFF_task_notifier 0x00000620 -#define ASIZ_task_notifier 0x00000004 -#define AOFF_task_notifier_data 0x00000624 -#define ASIZ_task_notifier_data 0x00000004 -#define AOFF_task_notifier_mask 0x00000628 -#define ASIZ_task_notifier_mask 0x00000004 -#define AOFF_task_parent_exec_id 0x0000062c -#define ASIZ_task_parent_exec_id 0x00000004 -#define AOFF_task_self_exec_id 0x00000630 -#define ASIZ_task_self_exec_id 0x00000004 -#define AOFF_task_alloc_lock 0x00000634 -#define ASIZ_task_alloc_lock 0x00000004 -#define AOFF_task_journal_info 0x00000638 -#define ASIZ_task_journal_info 0x00000004 -#define ASIZ_task 0x00000640 -#define AOFF_mm_mmap 0x00000000 -#define ASIZ_mm_mmap 0x00000004 -#define AOFF_mm_mm_rb 0x00000004 -#define ASIZ_mm_mm_rb 0x00000004 -#define AOFF_mm_mmap_cache 0x00000008 -#define ASIZ_mm_mmap_cache 0x00000004 -#define AOFF_mm_pgd 0x0000000c -#define ASIZ_mm_pgd 0x00000004 -#define AOFF_mm_mm_users 0x00000010 -#define ASIZ_mm_mm_users 0x00000004 -#define AOFF_mm_mm_count 0x00000014 -#define ASIZ_mm_mm_count 0x00000004 -#define AOFF_mm_map_count 0x00000018 -#define ASIZ_mm_map_count 0x00000004 -#define AOFF_mm_mmap_sem 0x0000001c -#define ASIZ_mm_mmap_sem 0x00000010 -#define AOFF_mm_page_table_lock 0x0000002c -#define ASIZ_mm_page_table_lock 0x00000004 -#define AOFF_mm_mmlist 0x00000030 -#define ASIZ_mm_mmlist 0x00000008 -#define AOFF_mm_start_code 0x00000038 -#define ASIZ_mm_start_code 0x00000004 -#define AOFF_mm_end_code 0x0000003c -#define ASIZ_mm_end_code 0x00000004 -#define AOFF_mm_start_data 0x00000040 -#define ASIZ_mm_start_data 0x00000004 -#define AOFF_mm_end_data 0x00000044 -#define ASIZ_mm_end_data 0x00000004 -#define AOFF_mm_start_brk 0x00000048 -#define ASIZ_mm_start_brk 0x00000004 -#define AOFF_mm_brk 0x0000004c -#define ASIZ_mm_brk 0x00000004 -#define AOFF_mm_start_stack 0x00000050 -#define ASIZ_mm_start_stack 0x00000004 -#define AOFF_mm_arg_start 0x00000054 -#define ASIZ_mm_arg_start 0x00000004 -#define AOFF_mm_arg_end 0x00000058 -#define ASIZ_mm_arg_end 0x00000004 -#define AOFF_mm_env_start 0x0000005c -#define ASIZ_mm_env_start 0x00000004 -#define AOFF_mm_env_end 0x00000060 -#define ASIZ_mm_env_end 0x00000004 -#define AOFF_mm_rss 0x00000064 -#define ASIZ_mm_rss 0x00000004 -#define AOFF_mm_total_vm 0x00000068 -#define ASIZ_mm_total_vm 0x00000004 -#define AOFF_mm_locked_vm 0x0000006c -#define ASIZ_mm_locked_vm 0x00000004 -#define AOFF_mm_def_flags 0x00000070 -#define ASIZ_mm_def_flags 0x00000004 -#define AOFF_mm_cpu_vm_mask 0x00000074 -#define ASIZ_mm_cpu_vm_mask 0x00000004 -#define AOFF_mm_swap_address 0x00000078 -#define ASIZ_mm_swap_address 0x00000004 -#define AOFF_mm_context 0x00000080 -#define ASIZ_mm_context 0x00000004 -#define ASIZ_mm 0x00000084 -#define AOFF_thread_uwinmask 0x00000000 -#define ASIZ_thread_uwinmask 0x00000004 -#define AOFF_thread_kregs 0x00000004 -#define ASIZ_thread_kregs 0x00000004 -#define AOFF_thread_ksp 0x00000008 -#define ASIZ_thread_ksp 0x00000004 -#define AOFF_thread_kpc 0x0000000c -#define ASIZ_thread_kpc 0x00000004 -#define AOFF_thread_kpsr 0x00000010 -#define ASIZ_thread_kpsr 0x00000004 -#define AOFF_thread_kwim 0x00000014 -#define ASIZ_thread_kwim 0x00000004 -#define AOFF_thread_fork_kpsr 0x00000018 -#define ASIZ_thread_fork_kpsr 0x00000004 -#define AOFF_thread_fork_kwim 0x0000001c -#define ASIZ_thread_fork_kwim 0x00000004 -#define AOFF_thread_reg_window 0x00000020 -#define ASIZ_thread_reg_window 0x00000200 -#define AOFF_thread_rwbuf_stkptrs 0x00000220 -#define ASIZ_thread_rwbuf_stkptrs 0x00000020 -#define AOFF_thread_w_saved 0x00000240 -#define ASIZ_thread_w_saved 0x00000004 -#define AOFF_thread_float_regs 0x00000248 -#define ASIZ_thread_float_regs 0x00000080 -#define AOFF_thread_fsr 0x000002c8 -#define ASIZ_thread_fsr 0x00000004 -#define AOFF_thread_fpqdepth 0x000002cc -#define ASIZ_thread_fpqdepth 0x00000004 -#define AOFF_thread_fpqueue 0x000002d0 -#define ASIZ_thread_fpqueue 0x00000080 -#define AOFF_thread_flags 0x00000350 -#define ASIZ_thread_flags 0x00000004 -#define AOFF_thread_current_ds 0x00000354 -#define ASIZ_thread_current_ds 0x00000004 -#define AOFF_thread_core_exec 0x00000358 -#define ASIZ_thread_core_exec 0x00000020 -#define AOFF_thread_new_signal 0x00000378 -#define ASIZ_thread_new_signal 0x00000004 -#define AOFF_thread_refcount 0x0000037c -#define ASIZ_thread_refcount 0x00000004 -#define ASIZ_thread 0x00000380 - -#else /* CONFIG_SMP */ - -#define AOFF_task_state 0x00000000 -#define ASIZ_task_state 0x00000004 -#define AOFF_task_flags 0x00000004 -#define ASIZ_task_flags 0x00000004 -#define AOFF_task_sigpending 0x00000008 -#define ASIZ_task_sigpending 0x00000004 -#define AOFF_task_addr_limit 0x0000000c -#define ASIZ_task_addr_limit 0x00000004 -#define AOFF_task_exec_domain 0x00000010 -#define ASIZ_task_exec_domain 0x00000004 -#define AOFF_task_need_resched 0x00000014 -#define ASIZ_task_need_resched 0x00000004 -#define AOFF_task_ptrace 0x00000018 -#define ASIZ_task_ptrace 0x00000004 -#define AOFF_task_lock_depth 0x0000001c -#define ASIZ_task_lock_depth 0x00000004 -#define AOFF_task_counter 0x00000020 -#define ASIZ_task_counter 0x00000004 -#define AOFF_task_nice 0x00000024 -#define ASIZ_task_nice 0x00000004 -#define AOFF_task_policy 0x00000028 -#define ASIZ_task_policy 0x00000004 -#define AOFF_task_mm 0x0000002c -#define ASIZ_task_mm 0x00000004 -#define AOFF_task_processor 0x00000030 -#define ASIZ_task_processor 0x00000004 -#define AOFF_task_cpus_runnable 0x00000034 -#define ASIZ_task_cpus_runnable 0x00000004 -#define AOFF_task_cpus_allowed 0x00000038 -#define ASIZ_task_cpus_allowed 0x00000004 -#define AOFF_task_run_list 0x0000003c -#define ASIZ_task_run_list 0x00000008 -#define AOFF_task_sleep_time 0x00000044 -#define ASIZ_task_sleep_time 0x00000004 -#define AOFF_task_next_task 0x00000048 -#define ASIZ_task_next_task 0x00000004 -#define AOFF_task_prev_task 0x0000004c -#define ASIZ_task_prev_task 0x00000004 -#define AOFF_task_active_mm 0x00000050 -#define ASIZ_task_active_mm 0x00000004 -#define AOFF_task_local_pages 0x00000054 -#define ASIZ_task_local_pages 0x00000008 -#define AOFF_task_allocation_order 0x0000005c -#define ASIZ_task_allocation_order 0x00000004 -#define AOFF_task_nr_local_pages 0x00000060 -#define ASIZ_task_nr_local_pages 0x00000004 -#define AOFF_task_binfmt 0x00000064 -#define ASIZ_task_binfmt 0x00000004 -#define AOFF_task_exit_code 0x00000068 -#define ASIZ_task_exit_code 0x00000004 -#define AOFF_task_exit_signal 0x0000006c -#define ASIZ_task_exit_signal 0x00000004 -#define AOFF_task_pdeath_signal 0x00000070 -#define ASIZ_task_pdeath_signal 0x00000004 -#define AOFF_task_personality 0x00000074 -#define ASIZ_task_personality 0x00000004 -#define AOFF_task_pid 0x0000007c -#define ASIZ_task_pid 0x00000004 -#define AOFF_task_pgrp 0x00000080 -#define ASIZ_task_pgrp 0x00000004 -#define AOFF_task_tty_old_pgrp 0x00000084 -#define ASIZ_task_tty_old_pgrp 0x00000004 -#define AOFF_task_session 0x00000088 -#define ASIZ_task_session 0x00000004 -#define AOFF_task_tgid 0x0000008c -#define ASIZ_task_tgid 0x00000004 -#define AOFF_task_leader 0x00000090 -#define ASIZ_task_leader 0x00000004 -#define AOFF_task_p_opptr 0x00000094 -#define ASIZ_task_p_opptr 0x00000004 -#define AOFF_task_p_pptr 0x00000098 -#define ASIZ_task_p_pptr 0x00000004 -#define AOFF_task_p_cptr 0x0000009c -#define ASIZ_task_p_cptr 0x00000004 -#define AOFF_task_p_ysptr 0x000000a0 -#define ASIZ_task_p_ysptr 0x00000004 -#define AOFF_task_p_osptr 0x000000a4 -#define ASIZ_task_p_osptr 0x00000004 -#define AOFF_task_thread_group 0x000000a8 -#define ASIZ_task_thread_group 0x00000008 -#define AOFF_task_pidhash_next 0x000000b0 -#define ASIZ_task_pidhash_next 0x00000004 -#define AOFF_task_pidhash_pprev 0x000000b4 -#define ASIZ_task_pidhash_pprev 0x00000004 -#define AOFF_task_wait_chldexit 0x000000b8 -#define ASIZ_task_wait_chldexit 0x00000010 -#define AOFF_task_vfork_done 0x000000c8 -#define ASIZ_task_vfork_done 0x00000004 -#define AOFF_task_rt_priority 0x000000cc -#define ASIZ_task_rt_priority 0x00000004 -#define AOFF_task_it_real_value 0x000000d0 -#define ASIZ_task_it_real_value 0x00000004 -#define AOFF_task_it_prof_value 0x000000d4 -#define ASIZ_task_it_prof_value 0x00000004 -#define AOFF_task_it_virt_value 0x000000d8 -#define ASIZ_task_it_virt_value 0x00000004 -#define AOFF_task_it_real_incr 0x000000dc -#define ASIZ_task_it_real_incr 0x00000004 -#define AOFF_task_it_prof_incr 0x000000e0 -#define ASIZ_task_it_prof_incr 0x00000004 -#define AOFF_task_it_virt_incr 0x000000e4 -#define ASIZ_task_it_virt_incr 0x00000004 -#define AOFF_task_real_timer 0x000000e8 -#define ASIZ_task_real_timer 0x00000014 -#define AOFF_task_times 0x000000fc -#define ASIZ_task_times 0x00000010 -#define AOFF_task_start_time 0x0000010c -#define ASIZ_task_start_time 0x00000004 -#define AOFF_task_per_cpu_utime 0x00000110 -#define ASIZ_task_per_cpu_utime 0x00000080 -#define AOFF_task_min_flt 0x00000210 -#define ASIZ_task_min_flt 0x00000004 -#define AOFF_task_maj_flt 0x00000214 -#define ASIZ_task_maj_flt 0x00000004 -#define AOFF_task_nswap 0x00000218 -#define ASIZ_task_nswap 0x00000004 -#define AOFF_task_cmin_flt 0x0000021c -#define ASIZ_task_cmin_flt 0x00000004 -#define AOFF_task_cmaj_flt 0x00000220 -#define ASIZ_task_cmaj_flt 0x00000004 -#define AOFF_task_cnswap 0x00000224 -#define ASIZ_task_cnswap 0x00000004 -#define AOFF_task_uid 0x0000022c -#define ASIZ_task_uid 0x00000004 -#define AOFF_task_euid 0x00000230 -#define ASIZ_task_euid 0x00000004 -#define AOFF_task_suid 0x00000234 -#define ASIZ_task_suid 0x00000004 -#define AOFF_task_fsuid 0x00000238 -#define ASIZ_task_fsuid 0x00000004 -#define AOFF_task_gid 0x0000023c -#define ASIZ_task_gid 0x00000004 -#define AOFF_task_egid 0x00000240 -#define ASIZ_task_egid 0x00000004 -#define AOFF_task_sgid 0x00000244 -#define ASIZ_task_sgid 0x00000004 -#define AOFF_task_fsgid 0x00000248 -#define ASIZ_task_fsgid 0x00000004 -#define AOFF_task_ngroups 0x0000024c -#define ASIZ_task_ngroups 0x00000004 -#define AOFF_task_groups 0x00000250 -#define ASIZ_task_groups 0x00000080 -#define AOFF_task_cap_effective 0x000002d0 -#define ASIZ_task_cap_effective 0x00000004 -#define AOFF_task_cap_inheritable 0x000002d4 -#define ASIZ_task_cap_inheritable 0x00000004 -#define AOFF_task_cap_permitted 0x000002d8 -#define ASIZ_task_cap_permitted 0x00000004 -#define AOFF_task_user 0x000002e0 -#define ASIZ_task_user 0x00000004 -#define AOFF_task_rlim 0x000002e4 -#define ASIZ_task_rlim 0x00000058 -#define AOFF_task_used_math 0x0000033c -#define ASIZ_task_used_math 0x00000002 -#define AOFF_task_comm 0x0000033e -#define ASIZ_task_comm 0x00000010 -#define AOFF_task_link_count 0x00000350 -#define ASIZ_task_link_count 0x00000004 -#define AOFF_task_total_link_count 0x00000354 -#define ASIZ_task_total_link_count 0x00000004 -#define AOFF_task_tty 0x00000358 -#define ASIZ_task_tty 0x00000004 -#define AOFF_task_locks 0x0000035c -#define ASIZ_task_locks 0x00000004 -#define AOFF_task_semundo 0x00000360 -#define ASIZ_task_semundo 0x00000004 -#define AOFF_task_semsleeping 0x00000364 -#define ASIZ_task_semsleeping 0x00000004 -#define AOFF_task_thread 0x00000368 -#define ASIZ_task_thread 0x00000380 -#define AOFF_task_fs 0x000006e8 -#define ASIZ_task_fs 0x00000004 -#define AOFF_task_files 0x000006ec -#define ASIZ_task_files 0x00000004 -#define AOFF_task_sigmask_lock 0x000006f0 -#define ASIZ_task_sigmask_lock 0x00000008 -#define AOFF_task_sig 0x000006f8 -#define ASIZ_task_sig 0x00000004 -#define AOFF_task_blocked 0x000006fc -#define ASIZ_task_blocked 0x00000008 -#define AOFF_task_pending 0x00000704 -#define ASIZ_task_pending 0x00000010 -#define AOFF_task_sas_ss_sp 0x00000714 -#define ASIZ_task_sas_ss_sp 0x00000004 -#define AOFF_task_sas_ss_size 0x00000718 -#define ASIZ_task_sas_ss_size 0x00000004 -#define AOFF_task_notifier 0x0000071c -#define ASIZ_task_notifier 0x00000004 -#define AOFF_task_notifier_data 0x00000720 -#define ASIZ_task_notifier_data 0x00000004 -#define AOFF_task_notifier_mask 0x00000724 -#define ASIZ_task_notifier_mask 0x00000004 -#define AOFF_task_parent_exec_id 0x00000728 -#define ASIZ_task_parent_exec_id 0x00000004 -#define AOFF_task_self_exec_id 0x0000072c -#define ASIZ_task_self_exec_id 0x00000004 -#define AOFF_task_alloc_lock 0x00000730 -#define ASIZ_task_alloc_lock 0x00000008 -#define AOFF_task_journal_info 0x00000738 -#define ASIZ_task_journal_info 0x00000004 -#define ASIZ_task 0x00000740 -#define AOFF_mm_mmap 0x00000000 -#define ASIZ_mm_mmap 0x00000004 -#define AOFF_mm_mm_rb 0x00000004 -#define ASIZ_mm_mm_rb 0x00000004 -#define AOFF_mm_mmap_cache 0x00000008 -#define ASIZ_mm_mmap_cache 0x00000004 -#define AOFF_mm_pgd 0x0000000c -#define ASIZ_mm_pgd 0x00000004 -#define AOFF_mm_mm_users 0x00000010 -#define ASIZ_mm_mm_users 0x00000004 -#define AOFF_mm_mm_count 0x00000014 -#define ASIZ_mm_mm_count 0x00000004 -#define AOFF_mm_map_count 0x00000018 -#define ASIZ_mm_map_count 0x00000004 -#define AOFF_mm_mmap_sem 0x0000001c -#define ASIZ_mm_mmap_sem 0x00000014 -#define AOFF_mm_page_table_lock 0x00000030 -#define ASIZ_mm_page_table_lock 0x00000008 -#define AOFF_mm_mmlist 0x00000038 -#define ASIZ_mm_mmlist 0x00000008 -#define AOFF_mm_start_code 0x00000040 -#define ASIZ_mm_start_code 0x00000004 -#define AOFF_mm_end_code 0x00000044 -#define ASIZ_mm_end_code 0x00000004 -#define AOFF_mm_start_data 0x00000048 -#define ASIZ_mm_start_data 0x00000004 -#define AOFF_mm_end_data 0x0000004c -#define ASIZ_mm_end_data 0x00000004 -#define AOFF_mm_start_brk 0x00000050 -#define ASIZ_mm_start_brk 0x00000004 -#define AOFF_mm_brk 0x00000054 -#define ASIZ_mm_brk 0x00000004 -#define AOFF_mm_start_stack 0x00000058 -#define ASIZ_mm_start_stack 0x00000004 -#define AOFF_mm_arg_start 0x0000005c -#define ASIZ_mm_arg_start 0x00000004 -#define AOFF_mm_arg_end 0x00000060 -#define ASIZ_mm_arg_end 0x00000004 -#define AOFF_mm_env_start 0x00000064 -#define ASIZ_mm_env_start 0x00000004 -#define AOFF_mm_env_end 0x00000068 -#define ASIZ_mm_env_end 0x00000004 -#define AOFF_mm_rss 0x0000006c -#define ASIZ_mm_rss 0x00000004 -#define AOFF_mm_total_vm 0x00000070 -#define ASIZ_mm_total_vm 0x00000004 -#define AOFF_mm_locked_vm 0x00000074 -#define ASIZ_mm_locked_vm 0x00000004 -#define AOFF_mm_def_flags 0x00000078 -#define ASIZ_mm_def_flags 0x00000004 -#define AOFF_mm_cpu_vm_mask 0x0000007c -#define ASIZ_mm_cpu_vm_mask 0x00000004 -#define AOFF_mm_swap_address 0x00000080 -#define ASIZ_mm_swap_address 0x00000004 -#define AOFF_mm_context 0x00000088 -#define ASIZ_mm_context 0x00000004 -#define ASIZ_mm 0x0000008c -#define AOFF_thread_uwinmask 0x00000000 -#define ASIZ_thread_uwinmask 0x00000004 -#define AOFF_thread_kregs 0x00000004 -#define ASIZ_thread_kregs 0x00000004 -#define AOFF_thread_ksp 0x00000008 -#define ASIZ_thread_ksp 0x00000004 -#define AOFF_thread_kpc 0x0000000c -#define ASIZ_thread_kpc 0x00000004 -#define AOFF_thread_kpsr 0x00000010 -#define ASIZ_thread_kpsr 0x00000004 -#define AOFF_thread_kwim 0x00000014 -#define ASIZ_thread_kwim 0x00000004 -#define AOFF_thread_fork_kpsr 0x00000018 -#define ASIZ_thread_fork_kpsr 0x00000004 -#define AOFF_thread_fork_kwim 0x0000001c -#define ASIZ_thread_fork_kwim 0x00000004 -#define AOFF_thread_reg_window 0x00000020 -#define ASIZ_thread_reg_window 0x00000200 -#define AOFF_thread_rwbuf_stkptrs 0x00000220 -#define ASIZ_thread_rwbuf_stkptrs 0x00000020 -#define AOFF_thread_w_saved 0x00000240 -#define ASIZ_thread_w_saved 0x00000004 -#define AOFF_thread_float_regs 0x00000248 -#define ASIZ_thread_float_regs 0x00000080 -#define AOFF_thread_fsr 0x000002c8 -#define ASIZ_thread_fsr 0x00000004 -#define AOFF_thread_fpqdepth 0x000002cc -#define ASIZ_thread_fpqdepth 0x00000004 -#define AOFF_thread_fpqueue 0x000002d0 -#define ASIZ_thread_fpqueue 0x00000080 -#define AOFF_thread_flags 0x00000350 -#define ASIZ_thread_flags 0x00000004 -#define AOFF_thread_current_ds 0x00000354 -#define ASIZ_thread_current_ds 0x00000004 -#define AOFF_thread_core_exec 0x00000358 -#define ASIZ_thread_core_exec 0x00000020 -#define AOFF_thread_new_signal 0x00000378 -#define ASIZ_thread_new_signal 0x00000004 -#define AOFF_thread_refcount 0x0000037c -#define ASIZ_thread_refcount 0x00000004 -#define ASIZ_thread 0x00000380 - -#endif /* CONFIG_SMP */ - -#endif /* __ASM_OFFSETS_H__ */ diff --git a/sys-kernel/linux-sources/files/sparc64-asm_offsets.h b/sys-kernel/linux-sources/files/sparc64-asm_offsets.h deleted file mode 100644 index af0ab63249c3..000000000000 --- a/sys-kernel/linux-sources/files/sparc64-asm_offsets.h +++ /dev/null @@ -1,936 +0,0 @@ -/* Automatically generated. Do not edit. */ -#ifndef __ASM_OFFSETS_H__ -#define __ASM_OFFSETS_H__ - -#include <linux/config.h> - -#ifndef CONFIG_SMP - -#define AOFF_task_state 0x00000000 -#define ASIZ_task_state 0x00000008 -#define AOFF_task_flags 0x00000008 -#define ASIZ_task_flags 0x00000008 -#define AOFF_task_sigpending 0x00000010 -#define ASIZ_task_sigpending 0x00000004 -#define AOFF_task_addr_limit 0x00000014 -#define ASIZ_task_addr_limit 0x00000001 -#define AOFF_task_exec_domain 0x00000018 -#define ASIZ_task_exec_domain 0x00000008 -#define AOFF_task_need_resched 0x00000020 -#define ASIZ_task_need_resched 0x00000008 -#define AOFF_task_ptrace 0x00000028 -#define ASIZ_task_ptrace 0x00000008 -#define AOFF_task_lock_depth 0x00000030 -#define ASIZ_task_lock_depth 0x00000004 -#define AOFF_task_counter 0x00000038 -#define ASIZ_task_counter 0x00000008 -#define AOFF_task_nice 0x00000040 -#define ASIZ_task_nice 0x00000008 -#define AOFF_task_policy 0x00000048 -#define ASIZ_task_policy 0x00000008 -#define AOFF_task_mm 0x00000050 -#define ASIZ_task_mm 0x00000008 -#define AOFF_task_processor 0x00000058 -#define ASIZ_task_processor 0x00000004 -#define AOFF_task_cpus_runnable 0x00000060 -#define ASIZ_task_cpus_runnable 0x00000008 -#define AOFF_task_cpus_allowed 0x00000068 -#define ASIZ_task_cpus_allowed 0x00000008 -#define AOFF_task_run_list 0x00000070 -#define ASIZ_task_run_list 0x00000010 -#define AOFF_task_sleep_time 0x00000080 -#define ASIZ_task_sleep_time 0x00000008 -#define AOFF_task_next_task 0x00000088 -#define ASIZ_task_next_task 0x00000008 -#define AOFF_task_prev_task 0x00000090 -#define ASIZ_task_prev_task 0x00000008 -#define AOFF_task_active_mm 0x00000098 -#define ASIZ_task_active_mm 0x00000008 -#define AOFF_task_local_pages 0x000000a0 -#define ASIZ_task_local_pages 0x00000010 -#define AOFF_task_allocation_order 0x000000b0 -#define ASIZ_task_allocation_order 0x00000004 -#define AOFF_task_nr_local_pages 0x000000b4 -#define ASIZ_task_nr_local_pages 0x00000004 -#define AOFF_task_binfmt 0x000000b8 -#define ASIZ_task_binfmt 0x00000008 -#define AOFF_task_exit_code 0x000000c0 -#define ASIZ_task_exit_code 0x00000004 -#define AOFF_task_exit_signal 0x000000c4 -#define ASIZ_task_exit_signal 0x00000004 -#define AOFF_task_pdeath_signal 0x000000c8 -#define ASIZ_task_pdeath_signal 0x00000004 -#define AOFF_task_personality 0x000000d0 -#define ASIZ_task_personality 0x00000008 -#define AOFF_task_pid 0x000000dc -#define ASIZ_task_pid 0x00000004 -#define AOFF_task_pgrp 0x000000e0 -#define ASIZ_task_pgrp 0x00000004 -#define AOFF_task_tty_old_pgrp 0x000000e4 -#define ASIZ_task_tty_old_pgrp 0x00000004 -#define AOFF_task_session 0x000000e8 -#define ASIZ_task_session 0x00000004 -#define AOFF_task_tgid 0x000000ec -#define ASIZ_task_tgid 0x00000004 -#define AOFF_task_leader 0x000000f0 -#define ASIZ_task_leader 0x00000004 -#define AOFF_task_p_opptr 0x000000f8 -#define ASIZ_task_p_opptr 0x00000008 -#define AOFF_task_p_pptr 0x00000100 -#define ASIZ_task_p_pptr 0x00000008 -#define AOFF_task_p_cptr 0x00000108 -#define ASIZ_task_p_cptr 0x00000008 -#define AOFF_task_p_ysptr 0x00000110 -#define ASIZ_task_p_ysptr 0x00000008 -#define AOFF_task_p_osptr 0x00000118 -#define ASIZ_task_p_osptr 0x00000008 -#define AOFF_task_thread_group 0x00000120 -#define ASIZ_task_thread_group 0x00000010 -#define AOFF_task_pidhash_next 0x00000130 -#define ASIZ_task_pidhash_next 0x00000008 -#define AOFF_task_pidhash_pprev 0x00000138 -#define ASIZ_task_pidhash_pprev 0x00000008 -#define AOFF_task_wait_chldexit 0x00000140 -#define ASIZ_task_wait_chldexit 0x00000018 -#define AOFF_task_vfork_done 0x00000158 -#define ASIZ_task_vfork_done 0x00000008 -#define AOFF_task_rt_priority 0x00000160 -#define ASIZ_task_rt_priority 0x00000008 -#define AOFF_task_it_real_value 0x00000168 -#define ASIZ_task_it_real_value 0x00000008 -#define AOFF_task_it_prof_value 0x00000170 -#define ASIZ_task_it_prof_value 0x00000008 -#define AOFF_task_it_virt_value 0x00000178 -#define ASIZ_task_it_virt_value 0x00000008 -#define AOFF_task_it_real_incr 0x00000180 -#define ASIZ_task_it_real_incr 0x00000008 -#define AOFF_task_it_prof_incr 0x00000188 -#define ASIZ_task_it_prof_incr 0x00000008 -#define AOFF_task_it_virt_incr 0x00000190 -#define ASIZ_task_it_virt_incr 0x00000008 -#define AOFF_task_real_timer 0x00000198 -#define ASIZ_task_real_timer 0x00000028 -#define AOFF_task_times 0x000001c0 -#define ASIZ_task_times 0x00000020 -#define AOFF_task_start_time 0x000001e0 -#define ASIZ_task_start_time 0x00000008 -#define AOFF_task_per_cpu_utime 0x000001e8 -#define ASIZ_task_per_cpu_utime 0x00000008 -#define AOFF_task_min_flt 0x000001f8 -#define ASIZ_task_min_flt 0x00000008 -#define AOFF_task_maj_flt 0x00000200 -#define ASIZ_task_maj_flt 0x00000008 -#define AOFF_task_nswap 0x00000208 -#define ASIZ_task_nswap 0x00000008 -#define AOFF_task_cmin_flt 0x00000210 -#define ASIZ_task_cmin_flt 0x00000008 -#define AOFF_task_cmaj_flt 0x00000218 -#define ASIZ_task_cmaj_flt 0x00000008 -#define AOFF_task_cnswap 0x00000220 -#define ASIZ_task_cnswap 0x00000008 -#define AOFF_task_uid 0x0000022c -#define ASIZ_task_uid 0x00000004 -#define AOFF_task_euid 0x00000230 -#define ASIZ_task_euid 0x00000004 -#define AOFF_task_suid 0x00000234 -#define ASIZ_task_suid 0x00000004 -#define AOFF_task_fsuid 0x00000238 -#define ASIZ_task_fsuid 0x00000004 -#define AOFF_task_gid 0x0000023c -#define ASIZ_task_gid 0x00000004 -#define AOFF_task_egid 0x00000240 -#define ASIZ_task_egid 0x00000004 -#define AOFF_task_sgid 0x00000244 -#define ASIZ_task_sgid 0x00000004 -#define AOFF_task_fsgid 0x00000248 -#define ASIZ_task_fsgid 0x00000004 -#define AOFF_task_ngroups 0x0000024c -#define ASIZ_task_ngroups 0x00000004 -#define AOFF_task_groups 0x00000250 -#define ASIZ_task_groups 0x00000080 -#define AOFF_task_cap_effective 0x000002d0 -#define ASIZ_task_cap_effective 0x00000004 -#define AOFF_task_cap_inheritable 0x000002d4 -#define ASIZ_task_cap_inheritable 0x00000004 -#define AOFF_task_cap_permitted 0x000002d8 -#define ASIZ_task_cap_permitted 0x00000004 -#define AOFF_task_user 0x000002e0 -#define ASIZ_task_user 0x00000008 -#define AOFF_task_rlim 0x000002e8 -#define ASIZ_task_rlim 0x000000b0 -#define AOFF_task_used_math 0x00000398 -#define ASIZ_task_used_math 0x00000002 -#define AOFF_task_comm 0x0000039a -#define ASIZ_task_comm 0x00000010 -#define AOFF_task_link_count 0x000003ac -#define ASIZ_task_link_count 0x00000004 -#define AOFF_task_total_link_count 0x000003b0 -#define ASIZ_task_total_link_count 0x00000004 -#define AOFF_task_tty 0x000003b8 -#define ASIZ_task_tty 0x00000008 -#define AOFF_task_locks 0x000003c0 -#define ASIZ_task_locks 0x00000004 -#define AOFF_task_semundo 0x000003c8 -#define ASIZ_task_semundo 0x00000008 -#define AOFF_task_semsleeping 0x000003d0 -#define ASIZ_task_semsleeping 0x00000008 -#define AOFF_task_thread 0x000003e0 -#define ASIZ_task_thread 0x00000480 -#define AOFF_task_fs 0x00000860 -#define ASIZ_task_fs 0x00000008 -#define AOFF_task_files 0x00000868 -#define ASIZ_task_files 0x00000008 -#define AOFF_task_sigmask_lock 0x00000870 -#define ASIZ_task_sigmask_lock 0x00000004 -#define AOFF_task_sig 0x00000878 -#define ASIZ_task_sig 0x00000008 -#define AOFF_task_blocked 0x00000880 -#define ASIZ_task_blocked 0x00000008 -#define AOFF_task_pending 0x00000888 -#define ASIZ_task_pending 0x00000018 -#define AOFF_task_sas_ss_sp 0x000008a0 -#define ASIZ_task_sas_ss_sp 0x00000008 -#define AOFF_task_sas_ss_size 0x000008a8 -#define ASIZ_task_sas_ss_size 0x00000008 -#define AOFF_task_notifier 0x000008b0 -#define ASIZ_task_notifier 0x00000008 -#define AOFF_task_notifier_data 0x000008b8 -#define ASIZ_task_notifier_data 0x00000008 -#define AOFF_task_notifier_mask 0x000008c0 -#define ASIZ_task_notifier_mask 0x00000008 -#define AOFF_task_parent_exec_id 0x000008c8 -#define ASIZ_task_parent_exec_id 0x00000004 -#define AOFF_task_self_exec_id 0x000008cc -#define ASIZ_task_self_exec_id 0x00000004 -#define AOFF_task_alloc_lock 0x000008d0 -#define ASIZ_task_alloc_lock 0x00000004 -#define AOFF_task_journal_info 0x000008d8 -#define ASIZ_task_journal_info 0x00000008 -#define ASIZ_task 0x000008e0 -#define AOFF_mm_mmap 0x00000000 -#define ASIZ_mm_mmap 0x00000008 -#define AOFF_mm_mm_rb 0x00000008 -#define ASIZ_mm_mm_rb 0x00000008 -#define AOFF_mm_mmap_cache 0x00000010 -#define ASIZ_mm_mmap_cache 0x00000008 -#define AOFF_mm_pgd 0x00000018 -#define ASIZ_mm_pgd 0x00000008 -#define AOFF_mm_mm_users 0x00000020 -#define ASIZ_mm_mm_users 0x00000004 -#define AOFF_mm_mm_count 0x00000024 -#define ASIZ_mm_mm_count 0x00000004 -#define AOFF_mm_map_count 0x00000028 -#define ASIZ_mm_map_count 0x00000004 -#define AOFF_mm_mmap_sem 0x00000030 -#define ASIZ_mm_mmap_sem 0x00000018 -#define AOFF_mm_page_table_lock 0x00000048 -#define ASIZ_mm_page_table_lock 0x00000004 -#define AOFF_mm_mmlist 0x00000050 -#define ASIZ_mm_mmlist 0x00000010 -#define AOFF_mm_start_code 0x00000060 -#define ASIZ_mm_start_code 0x00000008 -#define AOFF_mm_end_code 0x00000068 -#define ASIZ_mm_end_code 0x00000008 -#define AOFF_mm_start_data 0x00000070 -#define ASIZ_mm_start_data 0x00000008 -#define AOFF_mm_end_data 0x00000078 -#define ASIZ_mm_end_data 0x00000008 -#define AOFF_mm_start_brk 0x00000080 -#define ASIZ_mm_start_brk 0x00000008 -#define AOFF_mm_brk 0x00000088 -#define ASIZ_mm_brk 0x00000008 -#define AOFF_mm_start_stack 0x00000090 -#define ASIZ_mm_start_stack 0x00000008 -#define AOFF_mm_arg_start 0x00000098 -#define ASIZ_mm_arg_start 0x00000008 -#define AOFF_mm_arg_end 0x000000a0 -#define ASIZ_mm_arg_end 0x00000008 -#define AOFF_mm_env_start 0x000000a8 -#define ASIZ_mm_env_start 0x00000008 -#define AOFF_mm_env_end 0x000000b0 -#define ASIZ_mm_env_end 0x00000008 -#define AOFF_mm_rss 0x000000b8 -#define ASIZ_mm_rss 0x00000008 -#define AOFF_mm_total_vm 0x000000c0 -#define ASIZ_mm_total_vm 0x00000008 -#define AOFF_mm_locked_vm 0x000000c8 -#define ASIZ_mm_locked_vm 0x00000008 -#define AOFF_mm_def_flags 0x000000d0 -#define ASIZ_mm_def_flags 0x00000008 -#define AOFF_mm_cpu_vm_mask 0x000000d8 -#define ASIZ_mm_cpu_vm_mask 0x00000008 -#define AOFF_mm_swap_address 0x000000e0 -#define ASIZ_mm_swap_address 0x00000008 -#define AOFF_mm_context 0x000000f0 -#define ASIZ_mm_context 0x00000008 -#define ASIZ_mm 0x000000f8 -#define AOFF_thread_ksp 0x00000000 -#define ASIZ_thread_ksp 0x00000008 -#define AOFF_thread_wstate 0x00000008 -#define ASIZ_thread_wstate 0x00000001 -#define AOFF_thread_cwp 0x00000009 -#define ASIZ_thread_cwp 0x00000001 -#define AOFF_thread_flags 0x0000000a -#define ASIZ_thread_flags 0x00000001 -#define AOFF_thread_current_ds 0x0000000b -#define ASIZ_thread_current_ds 0x00000001 -#define AOFF_thread_w_saved 0x0000000c -#define ASIZ_thread_w_saved 0x00000001 -#define AOFF_thread_fpdepth 0x0000000d -#define ASIZ_thread_fpdepth 0x00000001 -#define AOFF_thread_fault_code 0x0000000e -#define ASIZ_thread_fault_code 0x00000001 -#define AOFF_thread_use_blkcommit 0x0000000f -#define ASIZ_thread_use_blkcommit 0x00000001 -#define AOFF_thread_fault_address 0x00000010 -#define ASIZ_thread_fault_address 0x00000008 -#define AOFF_thread_fpsaved 0x00000018 -#define ASIZ_thread_fpsaved 0x00000007 -#define AOFF_thread___pad2 0x0000001f -#define ASIZ_thread___pad2 0x00000001 -#define AOFF_thread_kregs 0x00000020 -#define ASIZ_thread_kregs 0x00000008 -#define AOFF_thread_utraps 0x00000028 -#define ASIZ_thread_utraps 0x00000008 -#define AOFF_thread_gsr 0x00000030 -#define ASIZ_thread_gsr 0x00000038 -#define AOFF_thread_xfsr 0x00000068 -#define ASIZ_thread_xfsr 0x00000038 -#define AOFF_thread_reg_window 0x000000a0 -#define ASIZ_thread_reg_window 0x00000380 -#define AOFF_thread_rwbuf_stkptrs 0x00000420 -#define ASIZ_thread_rwbuf_stkptrs 0x00000038 -#define AOFF_thread_user_cntd0 0x00000458 -#define ASIZ_thread_user_cntd0 0x00000008 -#define AOFF_thread_user_cntd1 0x00000460 -#define ASIZ_thread_user_cntd1 0x00000008 -#define AOFF_thread_kernel_cntd0 0x00000468 -#define ASIZ_thread_kernel_cntd0 0x00000008 -#define AOFF_thread_kernel_cntd1 0x00000470 -#define ASIZ_thread_kernel_cntd1 0x00000008 -#define AOFF_thread_pcr_reg 0x00000478 -#define ASIZ_thread_pcr_reg 0x00000008 -#define ASIZ_thread 0x00000480 - -#else /* CONFIG_SMP */ - -#ifndef CONFIG_DEBUG_SPINLOCK - -#define AOFF_task_state 0x00000000 -#define ASIZ_task_state 0x00000008 -#define AOFF_task_flags 0x00000008 -#define ASIZ_task_flags 0x00000008 -#define AOFF_task_sigpending 0x00000010 -#define ASIZ_task_sigpending 0x00000004 -#define AOFF_task_addr_limit 0x00000014 -#define ASIZ_task_addr_limit 0x00000001 -#define AOFF_task_exec_domain 0x00000018 -#define ASIZ_task_exec_domain 0x00000008 -#define AOFF_task_need_resched 0x00000020 -#define ASIZ_task_need_resched 0x00000008 -#define AOFF_task_ptrace 0x00000028 -#define ASIZ_task_ptrace 0x00000008 -#define AOFF_task_lock_depth 0x00000030 -#define ASIZ_task_lock_depth 0x00000004 -#define AOFF_task_counter 0x00000038 -#define ASIZ_task_counter 0x00000008 -#define AOFF_task_nice 0x00000040 -#define ASIZ_task_nice 0x00000008 -#define AOFF_task_policy 0x00000048 -#define ASIZ_task_policy 0x00000008 -#define AOFF_task_mm 0x00000050 -#define ASIZ_task_mm 0x00000008 -#define AOFF_task_processor 0x00000058 -#define ASIZ_task_processor 0x00000004 -#define AOFF_task_cpus_runnable 0x00000060 -#define ASIZ_task_cpus_runnable 0x00000008 -#define AOFF_task_cpus_allowed 0x00000068 -#define ASIZ_task_cpus_allowed 0x00000008 -#define AOFF_task_run_list 0x00000070 -#define ASIZ_task_run_list 0x00000010 -#define AOFF_task_sleep_time 0x00000080 -#define ASIZ_task_sleep_time 0x00000008 -#define AOFF_task_next_task 0x00000088 -#define ASIZ_task_next_task 0x00000008 -#define AOFF_task_prev_task 0x00000090 -#define ASIZ_task_prev_task 0x00000008 -#define AOFF_task_active_mm 0x00000098 -#define ASIZ_task_active_mm 0x00000008 -#define AOFF_task_local_pages 0x000000a0 -#define ASIZ_task_local_pages 0x00000010 -#define AOFF_task_allocation_order 0x000000b0 -#define ASIZ_task_allocation_order 0x00000004 -#define AOFF_task_nr_local_pages 0x000000b4 -#define ASIZ_task_nr_local_pages 0x00000004 -#define AOFF_task_binfmt 0x000000b8 -#define ASIZ_task_binfmt 0x00000008 -#define AOFF_task_exit_code 0x000000c0 -#define ASIZ_task_exit_code 0x00000004 -#define AOFF_task_exit_signal 0x000000c4 -#define ASIZ_task_exit_signal 0x00000004 -#define AOFF_task_pdeath_signal 0x000000c8 -#define ASIZ_task_pdeath_signal 0x00000004 -#define AOFF_task_personality 0x000000d0 -#define ASIZ_task_personality 0x00000008 -#define AOFF_task_pid 0x000000dc -#define ASIZ_task_pid 0x00000004 -#define AOFF_task_pgrp 0x000000e0 -#define ASIZ_task_pgrp 0x00000004 -#define AOFF_task_tty_old_pgrp 0x000000e4 -#define ASIZ_task_tty_old_pgrp 0x00000004 -#define AOFF_task_session 0x000000e8 -#define ASIZ_task_session 0x00000004 -#define AOFF_task_tgid 0x000000ec -#define ASIZ_task_tgid 0x00000004 -#define AOFF_task_leader 0x000000f0 -#define ASIZ_task_leader 0x00000004 -#define AOFF_task_p_opptr 0x000000f8 -#define ASIZ_task_p_opptr 0x00000008 -#define AOFF_task_p_pptr 0x00000100 -#define ASIZ_task_p_pptr 0x00000008 -#define AOFF_task_p_cptr 0x00000108 -#define ASIZ_task_p_cptr 0x00000008 -#define AOFF_task_p_ysptr 0x00000110 -#define ASIZ_task_p_ysptr 0x00000008 -#define AOFF_task_p_osptr 0x00000118 -#define ASIZ_task_p_osptr 0x00000008 -#define AOFF_task_thread_group 0x00000120 -#define ASIZ_task_thread_group 0x00000010 -#define AOFF_task_pidhash_next 0x00000130 -#define ASIZ_task_pidhash_next 0x00000008 -#define AOFF_task_pidhash_pprev 0x00000138 -#define ASIZ_task_pidhash_pprev 0x00000008 -#define AOFF_task_wait_chldexit 0x00000140 -#define ASIZ_task_wait_chldexit 0x00000018 -#define AOFF_task_vfork_done 0x00000158 -#define ASIZ_task_vfork_done 0x00000008 -#define AOFF_task_rt_priority 0x00000160 -#define ASIZ_task_rt_priority 0x00000008 -#define AOFF_task_it_real_value 0x00000168 -#define ASIZ_task_it_real_value 0x00000008 -#define AOFF_task_it_prof_value 0x00000170 -#define ASIZ_task_it_prof_value 0x00000008 -#define AOFF_task_it_virt_value 0x00000178 -#define ASIZ_task_it_virt_value 0x00000008 -#define AOFF_task_it_real_incr 0x00000180 -#define ASIZ_task_it_real_incr 0x00000008 -#define AOFF_task_it_prof_incr 0x00000188 -#define ASIZ_task_it_prof_incr 0x00000008 -#define AOFF_task_it_virt_incr 0x00000190 -#define ASIZ_task_it_virt_incr 0x00000008 -#define AOFF_task_real_timer 0x00000198 -#define ASIZ_task_real_timer 0x00000028 -#define AOFF_task_times 0x000001c0 -#define ASIZ_task_times 0x00000020 -#define AOFF_task_start_time 0x000001e0 -#define ASIZ_task_start_time 0x00000008 -#define AOFF_task_per_cpu_utime 0x000001e8 -#define ASIZ_task_per_cpu_utime 0x00000100 -#define AOFF_task_min_flt 0x000003e8 -#define ASIZ_task_min_flt 0x00000008 -#define AOFF_task_maj_flt 0x000003f0 -#define ASIZ_task_maj_flt 0x00000008 -#define AOFF_task_nswap 0x000003f8 -#define ASIZ_task_nswap 0x00000008 -#define AOFF_task_cmin_flt 0x00000400 -#define ASIZ_task_cmin_flt 0x00000008 -#define AOFF_task_cmaj_flt 0x00000408 -#define ASIZ_task_cmaj_flt 0x00000008 -#define AOFF_task_cnswap 0x00000410 -#define ASIZ_task_cnswap 0x00000008 -#define AOFF_task_uid 0x0000041c -#define ASIZ_task_uid 0x00000004 -#define AOFF_task_euid 0x00000420 -#define ASIZ_task_euid 0x00000004 -#define AOFF_task_suid 0x00000424 -#define ASIZ_task_suid 0x00000004 -#define AOFF_task_fsuid 0x00000428 -#define ASIZ_task_fsuid 0x00000004 -#define AOFF_task_gid 0x0000042c -#define ASIZ_task_gid 0x00000004 -#define AOFF_task_egid 0x00000430 -#define ASIZ_task_egid 0x00000004 -#define AOFF_task_sgid 0x00000434 -#define ASIZ_task_sgid 0x00000004 -#define AOFF_task_fsgid 0x00000438 -#define ASIZ_task_fsgid 0x00000004 -#define AOFF_task_ngroups 0x0000043c -#define ASIZ_task_ngroups 0x00000004 -#define AOFF_task_groups 0x00000440 -#define ASIZ_task_groups 0x00000080 -#define AOFF_task_cap_effective 0x000004c0 -#define ASIZ_task_cap_effective 0x00000004 -#define AOFF_task_cap_inheritable 0x000004c4 -#define ASIZ_task_cap_inheritable 0x00000004 -#define AOFF_task_cap_permitted 0x000004c8 -#define ASIZ_task_cap_permitted 0x00000004 -#define AOFF_task_user 0x000004d0 -#define ASIZ_task_user 0x00000008 -#define AOFF_task_rlim 0x000004d8 -#define ASIZ_task_rlim 0x000000b0 -#define AOFF_task_used_math 0x00000588 -#define ASIZ_task_used_math 0x00000002 -#define AOFF_task_comm 0x0000058a -#define ASIZ_task_comm 0x00000010 -#define AOFF_task_link_count 0x0000059c -#define ASIZ_task_link_count 0x00000004 -#define AOFF_task_total_link_count 0x000005a0 -#define ASIZ_task_total_link_count 0x00000004 -#define AOFF_task_tty 0x000005a8 -#define ASIZ_task_tty 0x00000008 -#define AOFF_task_locks 0x000005b0 -#define ASIZ_task_locks 0x00000004 -#define AOFF_task_semundo 0x000005b8 -#define ASIZ_task_semundo 0x00000008 -#define AOFF_task_semsleeping 0x000005c0 -#define ASIZ_task_semsleeping 0x00000008 -#define AOFF_task_thread 0x000005d0 -#define ASIZ_task_thread 0x00000480 -#define AOFF_task_fs 0x00000a50 -#define ASIZ_task_fs 0x00000008 -#define AOFF_task_files 0x00000a58 -#define ASIZ_task_files 0x00000008 -#define AOFF_task_sigmask_lock 0x00000a60 -#define ASIZ_task_sigmask_lock 0x00000001 -#define AOFF_task_sig 0x00000a68 -#define ASIZ_task_sig 0x00000008 -#define AOFF_task_blocked 0x00000a70 -#define ASIZ_task_blocked 0x00000008 -#define AOFF_task_pending 0x00000a78 -#define ASIZ_task_pending 0x00000018 -#define AOFF_task_sas_ss_sp 0x00000a90 -#define ASIZ_task_sas_ss_sp 0x00000008 -#define AOFF_task_sas_ss_size 0x00000a98 -#define ASIZ_task_sas_ss_size 0x00000008 -#define AOFF_task_notifier 0x00000aa0 -#define ASIZ_task_notifier 0x00000008 -#define AOFF_task_notifier_data 0x00000aa8 -#define ASIZ_task_notifier_data 0x00000008 -#define AOFF_task_notifier_mask 0x00000ab0 -#define ASIZ_task_notifier_mask 0x00000008 -#define AOFF_task_parent_exec_id 0x00000ab8 -#define ASIZ_task_parent_exec_id 0x00000004 -#define AOFF_task_self_exec_id 0x00000abc -#define ASIZ_task_self_exec_id 0x00000004 -#define AOFF_task_alloc_lock 0x00000ac0 -#define ASIZ_task_alloc_lock 0x00000001 -#define AOFF_task_journal_info 0x00000ac8 -#define ASIZ_task_journal_info 0x00000008 -#define ASIZ_task 0x00000ad0 -#define AOFF_mm_mmap 0x00000000 -#define ASIZ_mm_mmap 0x00000008 -#define AOFF_mm_mm_rb 0x00000008 -#define ASIZ_mm_mm_rb 0x00000008 -#define AOFF_mm_mmap_cache 0x00000010 -#define ASIZ_mm_mmap_cache 0x00000008 -#define AOFF_mm_pgd 0x00000018 -#define ASIZ_mm_pgd 0x00000008 -#define AOFF_mm_mm_users 0x00000020 -#define ASIZ_mm_mm_users 0x00000004 -#define AOFF_mm_mm_count 0x00000024 -#define ASIZ_mm_mm_count 0x00000004 -#define AOFF_mm_map_count 0x00000028 -#define ASIZ_mm_map_count 0x00000004 -#define AOFF_mm_mmap_sem 0x00000030 -#define ASIZ_mm_mmap_sem 0x00000018 -#define AOFF_mm_page_table_lock 0x00000048 -#define ASIZ_mm_page_table_lock 0x00000001 -#define AOFF_mm_mmlist 0x00000050 -#define ASIZ_mm_mmlist 0x00000010 -#define AOFF_mm_start_code 0x00000060 -#define ASIZ_mm_start_code 0x00000008 -#define AOFF_mm_end_code 0x00000068 -#define ASIZ_mm_end_code 0x00000008 -#define AOFF_mm_start_data 0x00000070 -#define ASIZ_mm_start_data 0x00000008 -#define AOFF_mm_end_data 0x00000078 -#define ASIZ_mm_end_data 0x00000008 -#define AOFF_mm_start_brk 0x00000080 -#define ASIZ_mm_start_brk 0x00000008 -#define AOFF_mm_brk 0x00000088 -#define ASIZ_mm_brk 0x00000008 -#define AOFF_mm_start_stack 0x00000090 -#define ASIZ_mm_start_stack 0x00000008 -#define AOFF_mm_arg_start 0x00000098 -#define ASIZ_mm_arg_start 0x00000008 -#define AOFF_mm_arg_end 0x000000a0 -#define ASIZ_mm_arg_end 0x00000008 -#define AOFF_mm_env_start 0x000000a8 -#define ASIZ_mm_env_start 0x00000008 -#define AOFF_mm_env_end 0x000000b0 -#define ASIZ_mm_env_end 0x00000008 -#define AOFF_mm_rss 0x000000b8 -#define ASIZ_mm_rss 0x00000008 -#define AOFF_mm_total_vm 0x000000c0 -#define ASIZ_mm_total_vm 0x00000008 -#define AOFF_mm_locked_vm 0x000000c8 -#define ASIZ_mm_locked_vm 0x00000008 -#define AOFF_mm_def_flags 0x000000d0 -#define ASIZ_mm_def_flags 0x00000008 -#define AOFF_mm_cpu_vm_mask 0x000000d8 -#define ASIZ_mm_cpu_vm_mask 0x00000008 -#define AOFF_mm_swap_address 0x000000e0 -#define ASIZ_mm_swap_address 0x00000008 -#define AOFF_mm_context 0x000000f0 -#define ASIZ_mm_context 0x00000008 -#define ASIZ_mm 0x000000f8 -#define AOFF_thread_ksp 0x00000000 -#define ASIZ_thread_ksp 0x00000008 -#define AOFF_thread_wstate 0x00000008 -#define ASIZ_thread_wstate 0x00000001 -#define AOFF_thread_cwp 0x00000009 -#define ASIZ_thread_cwp 0x00000001 -#define AOFF_thread_flags 0x0000000a -#define ASIZ_thread_flags 0x00000001 -#define AOFF_thread_current_ds 0x0000000b -#define ASIZ_thread_current_ds 0x00000001 -#define AOFF_thread_w_saved 0x0000000c -#define ASIZ_thread_w_saved 0x00000001 -#define AOFF_thread_fpdepth 0x0000000d -#define ASIZ_thread_fpdepth 0x00000001 -#define AOFF_thread_fault_code 0x0000000e -#define ASIZ_thread_fault_code 0x00000001 -#define AOFF_thread_use_blkcommit 0x0000000f -#define ASIZ_thread_use_blkcommit 0x00000001 -#define AOFF_thread_fault_address 0x00000010 -#define ASIZ_thread_fault_address 0x00000008 -#define AOFF_thread_fpsaved 0x00000018 -#define ASIZ_thread_fpsaved 0x00000007 -#define AOFF_thread___pad2 0x0000001f -#define ASIZ_thread___pad2 0x00000001 -#define AOFF_thread_kregs 0x00000020 -#define ASIZ_thread_kregs 0x00000008 -#define AOFF_thread_utraps 0x00000028 -#define ASIZ_thread_utraps 0x00000008 -#define AOFF_thread_gsr 0x00000030 -#define ASIZ_thread_gsr 0x00000038 -#define AOFF_thread_xfsr 0x00000068 -#define ASIZ_thread_xfsr 0x00000038 -#define AOFF_thread_reg_window 0x000000a0 -#define ASIZ_thread_reg_window 0x00000380 -#define AOFF_thread_rwbuf_stkptrs 0x00000420 -#define ASIZ_thread_rwbuf_stkptrs 0x00000038 -#define AOFF_thread_user_cntd0 0x00000458 -#define ASIZ_thread_user_cntd0 0x00000008 -#define AOFF_thread_user_cntd1 0x00000460 -#define ASIZ_thread_user_cntd1 0x00000008 -#define AOFF_thread_kernel_cntd0 0x00000468 -#define ASIZ_thread_kernel_cntd0 0x00000008 -#define AOFF_thread_kernel_cntd1 0x00000470 -#define ASIZ_thread_kernel_cntd1 0x00000008 -#define AOFF_thread_pcr_reg 0x00000478 -#define ASIZ_thread_pcr_reg 0x00000008 -#define ASIZ_thread 0x00000480 - -#else /* CONFIG_DEBUG_SPINLOCK */ - -#define AOFF_task_state 0x00000000 -#define ASIZ_task_state 0x00000008 -#define AOFF_task_flags 0x00000008 -#define ASIZ_task_flags 0x00000008 -#define AOFF_task_sigpending 0x00000010 -#define ASIZ_task_sigpending 0x00000004 -#define AOFF_task_addr_limit 0x00000014 -#define ASIZ_task_addr_limit 0x00000001 -#define AOFF_task_exec_domain 0x00000018 -#define ASIZ_task_exec_domain 0x00000008 -#define AOFF_task_need_resched 0x00000020 -#define ASIZ_task_need_resched 0x00000008 -#define AOFF_task_ptrace 0x00000028 -#define ASIZ_task_ptrace 0x00000008 -#define AOFF_task_lock_depth 0x00000030 -#define ASIZ_task_lock_depth 0x00000004 -#define AOFF_task_counter 0x00000038 -#define ASIZ_task_counter 0x00000008 -#define AOFF_task_nice 0x00000040 -#define ASIZ_task_nice 0x00000008 -#define AOFF_task_policy 0x00000048 -#define ASIZ_task_policy 0x00000008 -#define AOFF_task_mm 0x00000050 -#define ASIZ_task_mm 0x00000008 -#define AOFF_task_processor 0x00000058 -#define ASIZ_task_processor 0x00000004 -#define AOFF_task_cpus_runnable 0x00000060 -#define ASIZ_task_cpus_runnable 0x00000008 -#define AOFF_task_cpus_allowed 0x00000068 -#define ASIZ_task_cpus_allowed 0x00000008 -#define AOFF_task_run_list 0x00000070 -#define ASIZ_task_run_list 0x00000010 -#define AOFF_task_sleep_time 0x00000080 -#define ASIZ_task_sleep_time 0x00000008 -#define AOFF_task_next_task 0x00000088 -#define ASIZ_task_next_task 0x00000008 -#define AOFF_task_prev_task 0x00000090 -#define ASIZ_task_prev_task 0x00000008 -#define AOFF_task_active_mm 0x00000098 -#define ASIZ_task_active_mm 0x00000008 -#define AOFF_task_local_pages 0x000000a0 -#define ASIZ_task_local_pages 0x00000010 -#define AOFF_task_allocation_order 0x000000b0 -#define ASIZ_task_allocation_order 0x00000004 -#define AOFF_task_nr_local_pages 0x000000b4 -#define ASIZ_task_nr_local_pages 0x00000004 -#define AOFF_task_binfmt 0x000000b8 -#define ASIZ_task_binfmt 0x00000008 -#define AOFF_task_exit_code 0x000000c0 -#define ASIZ_task_exit_code 0x00000004 -#define AOFF_task_exit_signal 0x000000c4 -#define ASIZ_task_exit_signal 0x00000004 -#define AOFF_task_pdeath_signal 0x000000c8 -#define ASIZ_task_pdeath_signal 0x00000004 -#define AOFF_task_personality 0x000000d0 -#define ASIZ_task_personality 0x00000008 -#define AOFF_task_pid 0x000000dc -#define ASIZ_task_pid 0x00000004 -#define AOFF_task_pgrp 0x000000e0 -#define ASIZ_task_pgrp 0x00000004 -#define AOFF_task_tty_old_pgrp 0x000000e4 -#define ASIZ_task_tty_old_pgrp 0x00000004 -#define AOFF_task_session 0x000000e8 -#define ASIZ_task_session 0x00000004 -#define AOFF_task_tgid 0x000000ec -#define ASIZ_task_tgid 0x00000004 -#define AOFF_task_leader 0x000000f0 -#define ASIZ_task_leader 0x00000004 -#define AOFF_task_p_opptr 0x000000f8 -#define ASIZ_task_p_opptr 0x00000008 -#define AOFF_task_p_pptr 0x00000100 -#define ASIZ_task_p_pptr 0x00000008 -#define AOFF_task_p_cptr 0x00000108 -#define ASIZ_task_p_cptr 0x00000008 -#define AOFF_task_p_ysptr 0x00000110 -#define ASIZ_task_p_ysptr 0x00000008 -#define AOFF_task_p_osptr 0x00000118 -#define ASIZ_task_p_osptr 0x00000008 -#define AOFF_task_thread_group 0x00000120 -#define ASIZ_task_thread_group 0x00000010 -#define AOFF_task_pidhash_next 0x00000130 -#define ASIZ_task_pidhash_next 0x00000008 -#define AOFF_task_pidhash_pprev 0x00000138 -#define ASIZ_task_pidhash_pprev 0x00000008 -#define AOFF_task_wait_chldexit 0x00000140 -#define ASIZ_task_wait_chldexit 0x00000018 -#define AOFF_task_vfork_done 0x00000158 -#define ASIZ_task_vfork_done 0x00000008 -#define AOFF_task_rt_priority 0x00000160 -#define ASIZ_task_rt_priority 0x00000008 -#define AOFF_task_it_real_value 0x00000168 -#define ASIZ_task_it_real_value 0x00000008 -#define AOFF_task_it_prof_value 0x00000170 -#define ASIZ_task_it_prof_value 0x00000008 -#define AOFF_task_it_virt_value 0x00000178 -#define ASIZ_task_it_virt_value 0x00000008 -#define AOFF_task_it_real_incr 0x00000180 -#define ASIZ_task_it_real_incr 0x00000008 -#define AOFF_task_it_prof_incr 0x00000188 -#define ASIZ_task_it_prof_incr 0x00000008 -#define AOFF_task_it_virt_incr 0x00000190 -#define ASIZ_task_it_virt_incr 0x00000008 -#define AOFF_task_real_timer 0x00000198 -#define ASIZ_task_real_timer 0x00000028 -#define AOFF_task_times 0x000001c0 -#define ASIZ_task_times 0x00000020 -#define AOFF_task_start_time 0x000001e0 -#define ASIZ_task_start_time 0x00000008 -#define AOFF_task_per_cpu_utime 0x000001e8 -#define ASIZ_task_per_cpu_utime 0x00000100 -#define AOFF_task_min_flt 0x000003e8 -#define ASIZ_task_min_flt 0x00000008 -#define AOFF_task_maj_flt 0x000003f0 -#define ASIZ_task_maj_flt 0x00000008 -#define AOFF_task_nswap 0x000003f8 -#define ASIZ_task_nswap 0x00000008 -#define AOFF_task_cmin_flt 0x00000400 -#define ASIZ_task_cmin_flt 0x00000008 -#define AOFF_task_cmaj_flt 0x00000408 -#define ASIZ_task_cmaj_flt 0x00000008 -#define AOFF_task_cnswap 0x00000410 -#define ASIZ_task_cnswap 0x00000008 -#define AOFF_task_uid 0x0000041c -#define ASIZ_task_uid 0x00000004 -#define AOFF_task_euid 0x00000420 -#define ASIZ_task_euid 0x00000004 -#define AOFF_task_suid 0x00000424 -#define ASIZ_task_suid 0x00000004 -#define AOFF_task_fsuid 0x00000428 -#define ASIZ_task_fsuid 0x00000004 -#define AOFF_task_gid 0x0000042c -#define ASIZ_task_gid 0x00000004 -#define AOFF_task_egid 0x00000430 -#define ASIZ_task_egid 0x00000004 -#define AOFF_task_sgid 0x00000434 -#define ASIZ_task_sgid 0x00000004 -#define AOFF_task_fsgid 0x00000438 -#define ASIZ_task_fsgid 0x00000004 -#define AOFF_task_ngroups 0x0000043c -#define ASIZ_task_ngroups 0x00000004 -#define AOFF_task_groups 0x00000440 -#define ASIZ_task_groups 0x00000080 -#define AOFF_task_cap_effective 0x000004c0 -#define ASIZ_task_cap_effective 0x00000004 -#define AOFF_task_cap_inheritable 0x000004c4 -#define ASIZ_task_cap_inheritable 0x00000004 -#define AOFF_task_cap_permitted 0x000004c8 -#define ASIZ_task_cap_permitted 0x00000004 -#define AOFF_task_user 0x000004d0 -#define ASIZ_task_user 0x00000008 -#define AOFF_task_rlim 0x000004d8 -#define ASIZ_task_rlim 0x000000b0 -#define AOFF_task_used_math 0x00000588 -#define ASIZ_task_used_math 0x00000002 -#define AOFF_task_comm 0x0000058a -#define ASIZ_task_comm 0x00000010 -#define AOFF_task_link_count 0x0000059c -#define ASIZ_task_link_count 0x00000004 -#define AOFF_task_total_link_count 0x000005a0 -#define ASIZ_task_total_link_count 0x00000004 -#define AOFF_task_tty 0x000005a8 -#define ASIZ_task_tty 0x00000008 -#define AOFF_task_locks 0x000005b0 -#define ASIZ_task_locks 0x00000004 -#define AOFF_task_semundo 0x000005b8 -#define ASIZ_task_semundo 0x00000008 -#define AOFF_task_semsleeping 0x000005c0 -#define ASIZ_task_semsleeping 0x00000008 -#define AOFF_task_thread 0x000005d0 -#define ASIZ_task_thread 0x00000480 -#define AOFF_task_fs 0x00000a50 -#define ASIZ_task_fs 0x00000008 -#define AOFF_task_files 0x00000a58 -#define ASIZ_task_files 0x00000008 -#define AOFF_task_sigmask_lock 0x00000a60 -#define ASIZ_task_sigmask_lock 0x00000001 -#define AOFF_task_sig 0x00000a68 -#define ASIZ_task_sig 0x00000008 -#define AOFF_task_blocked 0x00000a70 -#define ASIZ_task_blocked 0x00000008 -#define AOFF_task_pending 0x00000a78 -#define ASIZ_task_pending 0x00000018 -#define AOFF_task_sas_ss_sp 0x00000a90 -#define ASIZ_task_sas_ss_sp 0x00000008 -#define AOFF_task_sas_ss_size 0x00000a98 -#define ASIZ_task_sas_ss_size 0x00000008 -#define AOFF_task_notifier 0x00000aa0 -#define ASIZ_task_notifier 0x00000008 -#define AOFF_task_notifier_data 0x00000aa8 -#define ASIZ_task_notifier_data 0x00000008 -#define AOFF_task_notifier_mask 0x00000ab0 -#define ASIZ_task_notifier_mask 0x00000008 -#define AOFF_task_parent_exec_id 0x00000ab8 -#define ASIZ_task_parent_exec_id 0x00000004 -#define AOFF_task_self_exec_id 0x00000abc -#define ASIZ_task_self_exec_id 0x00000004 -#define AOFF_task_alloc_lock 0x00000ac0 -#define ASIZ_task_alloc_lock 0x00000001 -#define AOFF_task_journal_info 0x00000ac8 -#define ASIZ_task_journal_info 0x00000008 -#define ASIZ_task 0x00000ad0 -#define AOFF_mm_mmap 0x00000000 -#define ASIZ_mm_mmap 0x00000008 -#define AOFF_mm_mm_rb 0x00000008 -#define ASIZ_mm_mm_rb 0x00000008 -#define AOFF_mm_mmap_cache 0x00000010 -#define ASIZ_mm_mmap_cache 0x00000008 -#define AOFF_mm_pgd 0x00000018 -#define ASIZ_mm_pgd 0x00000008 -#define AOFF_mm_mm_users 0x00000020 -#define ASIZ_mm_mm_users 0x00000004 -#define AOFF_mm_mm_count 0x00000024 -#define ASIZ_mm_mm_count 0x00000004 -#define AOFF_mm_map_count 0x00000028 -#define ASIZ_mm_map_count 0x00000004 -#define AOFF_mm_mmap_sem 0x00000030 -#define ASIZ_mm_mmap_sem 0x00000018 -#define AOFF_mm_page_table_lock 0x00000048 -#define ASIZ_mm_page_table_lock 0x00000001 -#define AOFF_mm_mmlist 0x00000050 -#define ASIZ_mm_mmlist 0x00000010 -#define AOFF_mm_start_code 0x00000060 -#define ASIZ_mm_start_code 0x00000008 -#define AOFF_mm_end_code 0x00000068 -#define ASIZ_mm_end_code 0x00000008 -#define AOFF_mm_start_data 0x00000070 -#define ASIZ_mm_start_data 0x00000008 -#define AOFF_mm_end_data 0x00000078 -#define ASIZ_mm_end_data 0x00000008 -#define AOFF_mm_start_brk 0x00000080 -#define ASIZ_mm_start_brk 0x00000008 -#define AOFF_mm_brk 0x00000088 -#define ASIZ_mm_brk 0x00000008 -#define AOFF_mm_start_stack 0x00000090 -#define ASIZ_mm_start_stack 0x00000008 -#define AOFF_mm_arg_start 0x00000098 -#define ASIZ_mm_arg_start 0x00000008 -#define AOFF_mm_arg_end 0x000000a0 -#define ASIZ_mm_arg_end 0x00000008 -#define AOFF_mm_env_start 0x000000a8 -#define ASIZ_mm_env_start 0x00000008 -#define AOFF_mm_env_end 0x000000b0 -#define ASIZ_mm_env_end 0x00000008 -#define AOFF_mm_rss 0x000000b8 -#define ASIZ_mm_rss 0x00000008 -#define AOFF_mm_total_vm 0x000000c0 -#define ASIZ_mm_total_vm 0x00000008 -#define AOFF_mm_locked_vm 0x000000c8 -#define ASIZ_mm_locked_vm 0x00000008 -#define AOFF_mm_def_flags 0x000000d0 -#define ASIZ_mm_def_flags 0x00000008 -#define AOFF_mm_cpu_vm_mask 0x000000d8 -#define ASIZ_mm_cpu_vm_mask 0x00000008 -#define AOFF_mm_swap_address 0x000000e0 -#define ASIZ_mm_swap_address 0x00000008 -#define AOFF_mm_context 0x000000f0 -#define ASIZ_mm_context 0x00000008 -#define ASIZ_mm 0x000000f8 -#define AOFF_thread_ksp 0x00000000 -#define ASIZ_thread_ksp 0x00000008 -#define AOFF_thread_wstate 0x00000008 -#define ASIZ_thread_wstate 0x00000001 -#define AOFF_thread_cwp 0x00000009 -#define ASIZ_thread_cwp 0x00000001 -#define AOFF_thread_flags 0x0000000a -#define ASIZ_thread_flags 0x00000001 -#define AOFF_thread_current_ds 0x0000000b -#define ASIZ_thread_current_ds 0x00000001 -#define AOFF_thread_w_saved 0x0000000c -#define ASIZ_thread_w_saved 0x00000001 -#define AOFF_thread_fpdepth 0x0000000d -#define ASIZ_thread_fpdepth 0x00000001 -#define AOFF_thread_fault_code 0x0000000e -#define ASIZ_thread_fault_code 0x00000001 -#define AOFF_thread_use_blkcommit 0x0000000f -#define ASIZ_thread_use_blkcommit 0x00000001 -#define AOFF_thread_fault_address 0x00000010 -#define ASIZ_thread_fault_address 0x00000008 -#define AOFF_thread_fpsaved 0x00000018 -#define ASIZ_thread_fpsaved 0x00000007 -#define AOFF_thread___pad2 0x0000001f -#define ASIZ_thread___pad2 0x00000001 -#define AOFF_thread_kregs 0x00000020 -#define ASIZ_thread_kregs 0x00000008 -#define AOFF_thread_utraps 0x00000028 -#define ASIZ_thread_utraps 0x00000008 -#define AOFF_thread_gsr 0x00000030 -#define ASIZ_thread_gsr 0x00000038 -#define AOFF_thread_xfsr 0x00000068 -#define ASIZ_thread_xfsr 0x00000038 -#define AOFF_thread_reg_window 0x000000a0 -#define ASIZ_thread_reg_window 0x00000380 -#define AOFF_thread_rwbuf_stkptrs 0x00000420 -#define ASIZ_thread_rwbuf_stkptrs 0x00000038 -#define AOFF_thread_user_cntd0 0x00000458 -#define ASIZ_thread_user_cntd0 0x00000008 -#define AOFF_thread_user_cntd1 0x00000460 -#define ASIZ_thread_user_cntd1 0x00000008 -#define AOFF_thread_kernel_cntd0 0x00000468 -#define ASIZ_thread_kernel_cntd0 0x00000008 -#define AOFF_thread_kernel_cntd1 0x00000470 -#define ASIZ_thread_kernel_cntd1 0x00000008 -#define AOFF_thread_pcr_reg 0x00000478 -#define ASIZ_thread_pcr_reg 0x00000008 -#define ASIZ_thread 0x00000480 -#endif /* CONFIG_DEBUG_SPINLOCK */ - -#endif /* CONFIG_SMP */ - -#endif /* __ASM_OFFSETS_H__ */ diff --git a/sys-kernel/linux-sources/files/sysctl.h b/sys-kernel/linux-sources/files/sysctl.h deleted file mode 100644 index 60dd2264d623..000000000000 --- a/sys-kernel/linux-sources/files/sysctl.h +++ /dev/null @@ -1,751 +0,0 @@ -/* - * sysctl.h: General linux system control interface - * - * Begun 24 March 1995, Stephen Tweedie - * - **************************************************************** - **************************************************************** - ** - ** WARNING: - ** The values in this file are exported to user space via - ** the sysctl() binary interface. Do *NOT* change the - ** numbering of any existing values here, and do not change - ** any numbers within any one set of values. If you have - ** to redefine an existing interface, use a new number for it. - ** The kernel will then return ENOTDIR to any application using - ** the old binary interface. - ** - ** --sct - ** - **************************************************************** - **************************************************************** - */ - -#ifndef _LINUX_SYSCTL_H -#define _LINUX_SYSCTL_H - -#include <linux/kernel.h> -#include <linux/types.h> -#include <linux/list.h> - -struct file; - -#define CTL_MAXNAME 10 - -struct __sysctl_args { - int *name; - int nlen; - void *oldval; - size_t *oldlenp; - void *newval; - size_t newlen; - unsigned long __unused[4]; -}; - -/* Define sysctl names first */ - -/* Top-level names: */ - -/* For internal pattern-matching use only: */ -#ifdef __KERNEL__ -#define CTL_ANY -1 /* Matches any name */ -#define CTL_NONE 0 -#endif - -enum -{ - CTL_KERN=1, /* General kernel info and control */ - CTL_VM=2, /* VM management */ - CTL_NET=3, /* Networking */ - CTL_PROC=4, /* Process info */ - CTL_FS=5, /* Filesystems */ - CTL_DEBUG=6, /* Debugging */ - CTL_DEV=7, /* Devices */ - CTL_BUS=8, /* Busses */ - CTL_ABI=9, /* Binary emulation */ - CTL_CPU=10 /* CPU stuff (speed scaling, etc) */ -}; - -/* CTL_BUS names: */ -enum -{ - BUS_ISA=1 /* ISA */ -}; - -/* CTL_KERN names: */ -enum -{ - KERN_OSTYPE=1, /* string: system version */ - KERN_OSRELEASE=2, /* string: system release */ - KERN_OSREV=3, /* int: system revision */ - KERN_VERSION=4, /* string: compile time info */ - KERN_SECUREMASK=5, /* struct: maximum rights mask */ - KERN_PROF=6, /* table: profiling information */ - KERN_NODENAME=7, - KERN_DOMAINNAME=8, - - KERN_CAP_BSET=14, /* int: capability bounding set */ - KERN_PANIC=15, /* int: panic timeout */ - KERN_REALROOTDEV=16, /* real root device to mount after initrd */ - - KERN_SPARC_REBOOT=21, /* reboot command on Sparc */ - KERN_CTLALTDEL=22, /* int: allow ctl-alt-del to reboot */ - KERN_PRINTK=23, /* struct: control printk logging parameters */ - KERN_NAMETRANS=24, /* Name translation */ - KERN_PPC_HTABRECLAIM=25, /* turn htab reclaimation on/off on PPC */ - KERN_PPC_ZEROPAGED=26, /* turn idle page zeroing on/off on PPC */ - KERN_PPC_POWERSAVE_NAP=27, /* use nap mode for power saving */ - KERN_MODPROBE=28, - KERN_SG_BIG_BUFF=29, - KERN_ACCT=30, /* BSD process accounting parameters */ - KERN_PPC_L2CR=31, /* l2cr register on PPC */ - - KERN_RTSIGNR=32, /* Number of rt sigs queued */ - KERN_RTSIGMAX=33, /* Max queuable */ - - KERN_SHMMAX=34, /* long: Maximum shared memory segment */ - KERN_MSGMAX=35, /* int: Maximum size of a messege */ - KERN_MSGMNB=36, /* int: Maximum message queue size */ - KERN_MSGPOOL=37, /* int: Maximum system message pool size */ - KERN_SYSRQ=38, /* int: Sysreq enable */ - KERN_MAX_THREADS=39, /* int: Maximum nr of threads in the system */ - KERN_RANDOM=40, /* Random driver */ - KERN_SHMALL=41, /* int: Maximum size of shared memory */ - KERN_MSGMNI=42, /* int: msg queue identifiers */ - KERN_SEM=43, /* struct: sysv semaphore limits */ - KERN_SPARC_STOP_A=44, /* int: Sparc Stop-A enable */ - KERN_SHMMNI=45, /* int: shm array identifiers */ - KERN_OVERFLOWUID=46, /* int: overflow UID */ - KERN_OVERFLOWGID=47, /* int: overflow GID */ - KERN_SHMPATH=48, /* string: path to shm fs */ - KERN_HOTPLUG=49, /* string: path to hotplug policy agent */ - KERN_IEEE_EMULATION_WARNINGS=50, /* int: unimplemented ieee instructions */ - KERN_S390_USER_DEBUG_LOGGING=51, /* int: dumps of user faults */ - KERN_CORE_USES_PID=52, /* int: use core or core.%pid */ - KERN_TAINTED=53, /* int: various kernel tainted flags */ - KERN_CADPID=54, /* int: PID of the process to notify on CAD */ - KERN_LOWLATENCY=55, /* int: enable low latency scheduling */ - #ifdef CONFIG_KDB - KERN_KDB=55, /* int: kdb on/off */ - #endif -}; - - -/* CTL_VM names: */ -enum -{ - VM_SWAPCTL=1, /* struct: Set vm swapping control */ - VM_SWAPOUT=2, /* int: Linear or sqrt() swapout for hogs */ - VM_FREEPG=3, /* struct: Set free page thresholds */ - VM_BDFLUSH=4, /* struct: Control buffer cache flushing */ - VM_OVERCOMMIT_MEMORY=5, /* Turn off the virtual memory safety limit */ - VM_BUFFERMEM=6, /* struct: Set buffer memory thresholds */ - VM_PAGECACHE=7, /* struct: Set cache memory thresholds */ - VM_PAGERDAEMON=8, /* struct: Control kswapd behaviour */ - VM_PGT_CACHE=9, /* struct: Set page table cache parameters */ - VM_PAGE_CLUSTER=10, /* int: set number of pages to swap together */ -#if defined(CONFIG_PAGE_BUF) || defined(CONFIG_PAGE_BUF_MODULE) - VM_PAGEBUF=11, /* struct: Control pagebuf parameters */ -#endif - VM_MIN_READAHEAD=12, /* Min file readahead */ - VM_MAX_READAHEAD=13 /* Max file readahead */ -}; - - -/* CTL_NET names: */ -enum -{ - NET_CORE=1, - NET_ETHER=2, - NET_802=3, - NET_UNIX=4, - NET_IPV4=5, - NET_IPX=6, - NET_ATALK=7, - NET_NETROM=8, - NET_AX25=9, - NET_BRIDGE=10, - NET_ROSE=11, - NET_IPV6=12, - NET_X25=13, - NET_TR=14, - NET_DECNET=15, - NET_ECONET=16, - NET_KHTTPD=17 -}; - -/* /proc/sys/kernel/random */ -enum -{ - RANDOM_POOLSIZE=1, - RANDOM_ENTROPY_COUNT=2, - RANDOM_READ_THRESH=3, - RANDOM_WRITE_THRESH=4, - RANDOM_BOOT_ID=5, - RANDOM_UUID=6 -}; - -/* /proc/sys/bus/isa */ -enum -{ - BUS_ISA_MEM_BASE=1, - BUS_ISA_PORT_BASE=2, - BUS_ISA_PORT_SHIFT=3 -}; - -/* /proc/sys/net/core */ -enum -{ - NET_CORE_WMEM_MAX=1, - NET_CORE_RMEM_MAX=2, - NET_CORE_WMEM_DEFAULT=3, - NET_CORE_RMEM_DEFAULT=4, -/* was NET_CORE_DESTROY_DELAY */ - NET_CORE_MAX_BACKLOG=6, - NET_CORE_FASTROUTE=7, - NET_CORE_MSG_COST=8, - NET_CORE_MSG_BURST=9, - NET_CORE_OPTMEM_MAX=10, - NET_CORE_HOT_LIST_LENGTH=11, - NET_CORE_DIVERT_VERSION=12, - NET_CORE_NO_CONG_THRESH=13, - NET_CORE_NO_CONG=14, - NET_CORE_LO_CONG=15, - NET_CORE_MOD_CONG=16 -}; - -/* /proc/sys/net/ethernet */ - -/* /proc/sys/net/802 */ - -/* /proc/sys/net/unix */ - -enum -{ - NET_UNIX_DESTROY_DELAY=1, - NET_UNIX_DELETE_DELAY=2, - NET_UNIX_MAX_DGRAM_QLEN=3, -}; - -/* /proc/sys/net/ipv4 */ -enum -{ - /* v2.0 compatibile variables */ - NET_IPV4_FORWARD=8, - NET_IPV4_DYNADDR=9, - - NET_IPV4_CONF=16, - NET_IPV4_NEIGH=17, - NET_IPV4_ROUTE=18, - NET_IPV4_FIB_HASH=19, - - NET_IPV4_TCP_TIMESTAMPS=33, - NET_IPV4_TCP_WINDOW_SCALING=34, - NET_IPV4_TCP_SACK=35, - NET_IPV4_TCP_RETRANS_COLLAPSE=36, - NET_IPV4_DEFAULT_TTL=37, - NET_IPV4_AUTOCONFIG=38, - NET_IPV4_NO_PMTU_DISC=39, - NET_IPV4_TCP_SYN_RETRIES=40, - NET_IPV4_IPFRAG_HIGH_THRESH=41, - NET_IPV4_IPFRAG_LOW_THRESH=42, - NET_IPV4_IPFRAG_TIME=43, - NET_IPV4_TCP_MAX_KA_PROBES=44, - NET_IPV4_TCP_KEEPALIVE_TIME=45, - NET_IPV4_TCP_KEEPALIVE_PROBES=46, - NET_IPV4_TCP_RETRIES1=47, - NET_IPV4_TCP_RETRIES2=48, - NET_IPV4_TCP_FIN_TIMEOUT=49, - NET_IPV4_IP_MASQ_DEBUG=50, - NET_TCP_SYNCOOKIES=51, - NET_TCP_STDURG=52, - NET_TCP_RFC1337=53, - NET_TCP_SYN_TAILDROP=54, - NET_TCP_MAX_SYN_BACKLOG=55, - NET_IPV4_LOCAL_PORT_RANGE=56, - NET_IPV4_ICMP_ECHO_IGNORE_ALL=57, - NET_IPV4_ICMP_ECHO_IGNORE_BROADCASTS=58, - NET_IPV4_ICMP_SOURCEQUENCH_RATE=59, - NET_IPV4_ICMP_DESTUNREACH_RATE=60, - NET_IPV4_ICMP_TIMEEXCEED_RATE=61, - NET_IPV4_ICMP_PARAMPROB_RATE=62, - NET_IPV4_ICMP_ECHOREPLY_RATE=63, - NET_IPV4_ICMP_IGNORE_BOGUS_ERROR_RESPONSES=64, - NET_IPV4_IGMP_MAX_MEMBERSHIPS=65, - NET_TCP_TW_RECYCLE=66, - NET_IPV4_ALWAYS_DEFRAG=67, - NET_IPV4_TCP_KEEPALIVE_INTVL=68, - NET_IPV4_INET_PEER_THRESHOLD=69, - NET_IPV4_INET_PEER_MINTTL=70, - NET_IPV4_INET_PEER_MAXTTL=71, - NET_IPV4_INET_PEER_GC_MINTIME=72, - NET_IPV4_INET_PEER_GC_MAXTIME=73, - NET_TCP_ORPHAN_RETRIES=74, - NET_TCP_ABORT_ON_OVERFLOW=75, - NET_TCP_SYNACK_RETRIES=76, - NET_TCP_MAX_ORPHANS=77, - NET_TCP_MAX_TW_BUCKETS=78, - NET_TCP_FACK=79, - NET_TCP_REORDERING=80, - NET_TCP_ECN=81, - NET_TCP_DSACK=82, - NET_TCP_MEM=83, - NET_TCP_WMEM=84, - NET_TCP_RMEM=85, - NET_TCP_APP_WIN=86, - NET_TCP_ADV_WIN_SCALE=87, - NET_IPV4_NONLOCAL_BIND=88, - NET_IPV4_ICMP_RATELIMIT=89, - NET_IPV4_ICMP_RATEMASK=90 -}; - -enum { - NET_IPV4_ROUTE_FLUSH=1, - NET_IPV4_ROUTE_MIN_DELAY=2, - NET_IPV4_ROUTE_MAX_DELAY=3, - NET_IPV4_ROUTE_GC_THRESH=4, - NET_IPV4_ROUTE_MAX_SIZE=5, - NET_IPV4_ROUTE_GC_MIN_INTERVAL=6, - NET_IPV4_ROUTE_GC_TIMEOUT=7, - NET_IPV4_ROUTE_GC_INTERVAL=8, - NET_IPV4_ROUTE_REDIRECT_LOAD=9, - NET_IPV4_ROUTE_REDIRECT_NUMBER=10, - NET_IPV4_ROUTE_REDIRECT_SILENCE=11, - NET_IPV4_ROUTE_ERROR_COST=12, - NET_IPV4_ROUTE_ERROR_BURST=13, - NET_IPV4_ROUTE_GC_ELASTICITY=14, - NET_IPV4_ROUTE_MTU_EXPIRES=15, - NET_IPV4_ROUTE_MIN_PMTU=16, - NET_IPV4_ROUTE_MIN_ADVMSS=17 -}; - -enum -{ - NET_PROTO_CONF_ALL=-2, - NET_PROTO_CONF_DEFAULT=-3 - - /* And device ifindices ... */ -}; - -enum -{ - NET_IPV4_CONF_FORWARDING=1, - NET_IPV4_CONF_MC_FORWARDING=2, - NET_IPV4_CONF_PROXY_ARP=3, - NET_IPV4_CONF_ACCEPT_REDIRECTS=4, - NET_IPV4_CONF_SECURE_REDIRECTS=5, - NET_IPV4_CONF_SEND_REDIRECTS=6, - NET_IPV4_CONF_SHARED_MEDIA=7, - NET_IPV4_CONF_RP_FILTER=8, - NET_IPV4_CONF_ACCEPT_SOURCE_ROUTE=9, - NET_IPV4_CONF_BOOTP_RELAY=10, - NET_IPV4_CONF_LOG_MARTIANS=11, - NET_IPV4_CONF_TAG=12, - NET_IPV4_CONF_ARPFILTER=13 -}; - -/* /proc/sys/net/ipv6 */ -enum { - NET_IPV6_CONF=16, - NET_IPV6_NEIGH=17, - NET_IPV6_ROUTE=18 -}; - -enum { - NET_IPV6_ROUTE_FLUSH=1, - NET_IPV6_ROUTE_GC_THRESH=2, - NET_IPV6_ROUTE_MAX_SIZE=3, - NET_IPV6_ROUTE_GC_MIN_INTERVAL=4, - NET_IPV6_ROUTE_GC_TIMEOUT=5, - NET_IPV6_ROUTE_GC_INTERVAL=6, - NET_IPV6_ROUTE_GC_ELASTICITY=7, - NET_IPV6_ROUTE_MTU_EXPIRES=8, - NET_IPV6_ROUTE_MIN_ADVMSS=9 -}; - -enum { - NET_IPV6_FORWARDING=1, - NET_IPV6_HOP_LIMIT=2, - NET_IPV6_MTU=3, - NET_IPV6_ACCEPT_RA=4, - NET_IPV6_ACCEPT_REDIRECTS=5, - NET_IPV6_AUTOCONF=6, - NET_IPV6_DAD_TRANSMITS=7, - NET_IPV6_RTR_SOLICITS=8, - NET_IPV6_RTR_SOLICIT_INTERVAL=9, - NET_IPV6_RTR_SOLICIT_DELAY=10 -}; - -/* /proc/sys/net/<protocol>/neigh/<dev> */ -enum { - NET_NEIGH_MCAST_SOLICIT=1, - NET_NEIGH_UCAST_SOLICIT=2, - NET_NEIGH_APP_SOLICIT=3, - NET_NEIGH_RETRANS_TIME=4, - NET_NEIGH_REACHABLE_TIME=5, - NET_NEIGH_DELAY_PROBE_TIME=6, - NET_NEIGH_GC_STALE_TIME=7, - NET_NEIGH_UNRES_QLEN=8, - NET_NEIGH_PROXY_QLEN=9, - NET_NEIGH_ANYCAST_DELAY=10, - NET_NEIGH_PROXY_DELAY=11, - NET_NEIGH_LOCKTIME=12, - NET_NEIGH_GC_INTERVAL=13, - NET_NEIGH_GC_THRESH1=14, - NET_NEIGH_GC_THRESH2=15, - NET_NEIGH_GC_THRESH3=16 -}; - -/* /proc/sys/net/ipx */ -enum { - NET_IPX_PPROP_BROADCASTING=1, - NET_IPX_FORWARDING=2 -}; - - -/* /proc/sys/net/appletalk */ -enum { - NET_ATALK_AARP_EXPIRY_TIME=1, - NET_ATALK_AARP_TICK_TIME=2, - NET_ATALK_AARP_RETRANSMIT_LIMIT=3, - NET_ATALK_AARP_RESOLVE_TIME=4 -}; - - -/* /proc/sys/net/netrom */ -enum { - NET_NETROM_DEFAULT_PATH_QUALITY=1, - NET_NETROM_OBSOLESCENCE_COUNT_INITIALISER=2, - NET_NETROM_NETWORK_TTL_INITIALISER=3, - NET_NETROM_TRANSPORT_TIMEOUT=4, - NET_NETROM_TRANSPORT_MAXIMUM_TRIES=5, - NET_NETROM_TRANSPORT_ACKNOWLEDGE_DELAY=6, - NET_NETROM_TRANSPORT_BUSY_DELAY=7, - NET_NETROM_TRANSPORT_REQUESTED_WINDOW_SIZE=8, - NET_NETROM_TRANSPORT_NO_ACTIVITY_TIMEOUT=9, - NET_NETROM_ROUTING_CONTROL=10, - NET_NETROM_LINK_FAILS_COUNT=11 -}; - -/* /proc/sys/net/ax25 */ -enum { - NET_AX25_IP_DEFAULT_MODE=1, - NET_AX25_DEFAULT_MODE=2, - NET_AX25_BACKOFF_TYPE=3, - NET_AX25_CONNECT_MODE=4, - NET_AX25_STANDARD_WINDOW=5, - NET_AX25_EXTENDED_WINDOW=6, - NET_AX25_T1_TIMEOUT=7, - NET_AX25_T2_TIMEOUT=8, - NET_AX25_T3_TIMEOUT=9, - NET_AX25_IDLE_TIMEOUT=10, - NET_AX25_N2=11, - NET_AX25_PACLEN=12, - NET_AX25_PROTOCOL=13, - NET_AX25_DAMA_SLAVE_TIMEOUT=14 -}; - -/* /proc/sys/net/rose */ -enum { - NET_ROSE_RESTART_REQUEST_TIMEOUT=1, - NET_ROSE_CALL_REQUEST_TIMEOUT=2, - NET_ROSE_RESET_REQUEST_TIMEOUT=3, - NET_ROSE_CLEAR_REQUEST_TIMEOUT=4, - NET_ROSE_ACK_HOLD_BACK_TIMEOUT=5, - NET_ROSE_ROUTING_CONTROL=6, - NET_ROSE_LINK_FAIL_TIMEOUT=7, - NET_ROSE_MAX_VCS=8, - NET_ROSE_WINDOW_SIZE=9, - NET_ROSE_NO_ACTIVITY_TIMEOUT=10 -}; - -/* /proc/sys/net/x25 */ -enum { - NET_X25_RESTART_REQUEST_TIMEOUT=1, - NET_X25_CALL_REQUEST_TIMEOUT=2, - NET_X25_RESET_REQUEST_TIMEOUT=3, - NET_X25_CLEAR_REQUEST_TIMEOUT=4, - NET_X25_ACK_HOLD_BACK_TIMEOUT=5 -}; - -/* /proc/sys/net/token-ring */ -enum -{ - NET_TR_RIF_TIMEOUT=1 -}; - -/* /proc/sys/net/decnet/ */ -enum { - NET_DECNET_NODE_TYPE = 1, - NET_DECNET_NODE_ADDRESS = 2, - NET_DECNET_NODE_NAME = 3, - NET_DECNET_DEFAULT_DEVICE = 4, - NET_DECNET_TIME_WAIT = 5, - NET_DECNET_DN_COUNT = 6, - NET_DECNET_DI_COUNT = 7, - NET_DECNET_DR_COUNT = 8, - NET_DECNET_DST_GC_INTERVAL = 9, - NET_DECNET_CONF = 10, - NET_DECNET_NO_FC_MAX_CWND = 11, - NET_DECNET_DEBUG_LEVEL = 255 -}; - -/* /proc/sys/net/khttpd/ */ -enum { - NET_KHTTPD_DOCROOT = 1, - NET_KHTTPD_START = 2, - NET_KHTTPD_STOP = 3, - NET_KHTTPD_UNLOAD = 4, - NET_KHTTPD_CLIENTPORT = 5, - NET_KHTTPD_PERMREQ = 6, - NET_KHTTPD_PERMFORBID = 7, - NET_KHTTPD_LOGGING = 8, - NET_KHTTPD_SERVERPORT = 9, - NET_KHTTPD_DYNAMICSTRING= 10, - NET_KHTTPD_SLOPPYMIME = 11, - NET_KHTTPD_THREADS = 12, - NET_KHTTPD_MAXCONNECT = 13 -}; - -/* /proc/sys/net/decnet/conf/<dev> */ -enum { - NET_DECNET_CONF_LOOPBACK = -2, - NET_DECNET_CONF_DDCMP = -3, - NET_DECNET_CONF_PPP = -4, - NET_DECNET_CONF_X25 = -5, - NET_DECNET_CONF_GRE = -6, - NET_DECNET_CONF_ETHER = -7 - - /* ... and ifindex of devices */ -}; - -/* /proc/sys/net/decnet/conf/<dev>/ */ -enum { - NET_DECNET_CONF_DEV_PRIORITY = 1, - NET_DECNET_CONF_DEV_T1 = 2, - NET_DECNET_CONF_DEV_T2 = 3, - NET_DECNET_CONF_DEV_T3 = 4, - NET_DECNET_CONF_DEV_FORWARDING = 5, - NET_DECNET_CONF_DEV_BLKSIZE = 6, - NET_DECNET_CONF_DEV_STATE = 7 -}; - -/* CTL_PROC names: */ - -/* CTL_FS names: */ -enum -{ - FS_NRINODE=1, /* int:current number of allocated inodes */ - FS_STATINODE=2, - FS_MAXINODE=3, /* int:maximum number of inodes that can be allocated */ - FS_NRDQUOT=4, /* int:current number of allocated dquots */ - FS_MAXDQUOT=5, /* int:maximum number of dquots that can be allocated */ - FS_NRFILE=6, /* int:current number of allocated filedescriptors */ - FS_MAXFILE=7, /* int:maximum number of filedescriptors that can be allocated */ - FS_DENTRY=8, - FS_NRSUPER=9, /* int:current number of allocated super_blocks */ - FS_MAXSUPER=10, /* int:maximum number of super_blocks that can be allocated */ - FS_OVERFLOWUID=11, /* int: overflow UID */ - FS_OVERFLOWGID=12, /* int: overflow GID */ - FS_LEASES=13, /* int: leases enabled */ - FS_DIR_NOTIFY=14, /* int: directory notification enabled */ - FS_LEASE_TIME=15, /* int: maximum time to wait for a lease break */ -#if defined(CONFIG_XFS_FS) || defined(CONFIG_XFS_FS_MODULE) - FS_XFS=16, /* struct: control xfs parameters */ -#endif -}; - -/* CTL_DEBUG names: */ - -/* CTL_DEV names: */ -enum { - DEV_CDROM=1, - DEV_HWMON=2, - DEV_PARPORT=3, - DEV_RAID=4, - DEV_MAC_HID=5 -}; - -/* /proc/sys/dev/cdrom */ -enum { - DEV_CDROM_INFO=1, - DEV_CDROM_AUTOCLOSE=2, - DEV_CDROM_AUTOEJECT=3, - DEV_CDROM_DEBUG=4, - DEV_CDROM_LOCK=5, - DEV_CDROM_CHECK_MEDIA=6 -}; - -/* /proc/sys/dev/parport */ -enum { - DEV_PARPORT_DEFAULT=-3 -}; - -/* /proc/sys/dev/raid */ -enum { - DEV_RAID_SPEED_LIMIT_MIN=1, - DEV_RAID_SPEED_LIMIT_MAX=2 -}; - -/* /proc/sys/dev/parport/default */ -enum { - DEV_PARPORT_DEFAULT_TIMESLICE=1, - DEV_PARPORT_DEFAULT_SPINTIME=2 -}; - -/* /proc/sys/dev/parport/parport n */ -enum { - DEV_PARPORT_SPINTIME=1, - DEV_PARPORT_BASE_ADDR=2, - DEV_PARPORT_IRQ=3, - DEV_PARPORT_DMA=4, - DEV_PARPORT_MODES=5, - DEV_PARPORT_DEVICES=6, - DEV_PARPORT_AUTOPROBE=16 -}; - -/* /proc/sys/dev/parport/parport n/devices/ */ -enum { - DEV_PARPORT_DEVICES_ACTIVE=-3, -}; - -/* /proc/sys/dev/parport/parport n/devices/device n */ -enum { - DEV_PARPORT_DEVICE_TIMESLICE=1, -}; - -/* /proc/sys/dev/mac_hid */ -enum { - DEV_MAC_HID_KEYBOARD_SENDS_LINUX_KEYCODES=1, - DEV_MAC_HID_KEYBOARD_LOCK_KEYCODES=2, - DEV_MAC_HID_MOUSE_BUTTON_EMULATION=3, - DEV_MAC_HID_MOUSE_BUTTON2_KEYCODE=4, - DEV_MAC_HID_MOUSE_BUTTON3_KEYCODE=5, - DEV_MAC_HID_ADB_MOUSE_SENDS_KEYCODES=6 -}; - -/* /proc/sys/abi */ -enum -{ - ABI_DEFHANDLER_COFF=1, /* default handler for coff binaries */ - ABI_DEFHANDLER_ELF=2, /* default handler for ELF binaries */ - ABI_DEFHANDLER_LCALL7=3,/* default handler for procs using lcall7 */ - ABI_DEFHANDLER_LIBCSO=4,/* default handler for an libc.so ELF interp */ - ABI_TRACE=5, /* tracing flags */ - ABI_FAKE_UTSNAME=6, /* fake target utsname information */ -}; - -#ifdef __KERNEL__ - -extern asmlinkage long sys_sysctl(struct __sysctl_args *); -extern void sysctl_init(void); - -typedef struct ctl_table ctl_table; - -typedef int ctl_handler (ctl_table *table, int *name, int nlen, - void *oldval, size_t *oldlenp, - void *newval, size_t newlen, - void **context); - -typedef int proc_handler (ctl_table *ctl, int write, struct file * filp, - void *buffer, size_t *lenp); - -extern int proc_dostring(ctl_table *, int, struct file *, - void *, size_t *); -extern int proc_dointvec(ctl_table *, int, struct file *, - void *, size_t *); -extern int proc_dointvec_bset(ctl_table *, int, struct file *, - void *, size_t *); -extern int proc_dointvec_minmax(ctl_table *, int, struct file *, - void *, size_t *); -extern int proc_dointvec_jiffies(ctl_table *, int, struct file *, - void *, size_t *); -extern int proc_doulongvec_minmax(ctl_table *, int, struct file *, - void *, size_t *); -extern int proc_doulongvec_ms_jiffies_minmax(ctl_table *table, int, - struct file *, void *, size_t *); - -extern int do_sysctl (int *name, int nlen, - void *oldval, size_t *oldlenp, - void *newval, size_t newlen); - -extern int do_sysctl_strategy (ctl_table *table, - int *name, int nlen, - void *oldval, size_t *oldlenp, - void *newval, size_t newlen, void ** context); - -extern ctl_handler sysctl_string; -extern ctl_handler sysctl_intvec; -extern ctl_handler sysctl_jiffies; - - -/* - * Register a set of sysctl names by calling register_sysctl_table - * with an initialised array of ctl_table's. An entry with zero - * ctl_name terminates the table. table->de will be set up by the - * registration and need not be initialised in advance. - * - * sysctl names can be mirrored automatically under /proc/sys. The - * procname supplied controls /proc naming. - * - * The table's mode will be honoured both for sys_sysctl(2) and - * proc-fs access. - * - * Leaf nodes in the sysctl tree will be represented by a single file - * under /proc; non-leaf nodes will be represented by directories. A - * null procname disables /proc mirroring at this node. - * - * sysctl(2) can automatically manage read and write requests through - * the sysctl table. The data and maxlen fields of the ctl_table - * struct enable minimal validation of the values being written to be - * performed, and the mode field allows minimal authentication. - * - * More sophisticated management can be enabled by the provision of a - * strategy routine with the table entry. This will be called before - * any automatic read or write of the data is performed. - * - * The strategy routine may return: - * <0: Error occurred (error is passed to user process) - * 0: OK - proceed with automatic read or write. - * >0: OK - read or write has been done by the strategy routine, so - * return immediately. - * - * There must be a proc_handler routine for any terminal nodes - * mirrored under /proc/sys (non-terminals are handled by a built-in - * directory handler). Several default handlers are available to - * cover common cases. - */ - -/* A sysctl table is an array of struct ctl_table: */ -struct ctl_table -{ - int ctl_name; /* Binary ID */ - const char *procname; /* Text ID for /proc/sys, or zero */ - void *data; - int maxlen; - mode_t mode; - ctl_table *child; - proc_handler *proc_handler; /* Callback for text formatting */ - ctl_handler *strategy; /* Callback function for all r/w */ - struct proc_dir_entry *de; /* /proc control block */ - void *extra1; - void *extra2; -}; - -/* struct ctl_table_header is used to maintain dynamic lists of - ctl_table trees. */ -struct ctl_table_header -{ - ctl_table *ctl_table; - struct list_head ctl_entry; -}; - -struct ctl_table_header * register_sysctl_table(ctl_table * table, - int insert_at_head); -void unregister_sysctl_table(struct ctl_table_header * table); - -#else /* __KERNEL__ */ - -#endif /* __KERNEL__ */ - -#endif /* _LINUX_SYSCTL_H */ diff --git a/sys-kernel/linux-sources/linux-sources-2.2.20.ebuild b/sys-kernel/linux-sources/linux-sources-2.2.20.ebuild deleted file mode 100644 index a0235bb59e4b..000000000000 --- a/sys-kernel/linux-sources/linux-sources-2.2.20.ebuild +++ /dev/null @@ -1,136 +0,0 @@ -# Copyright 1999-2002 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# Maintainer: Daniel Robbins <drobbins@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-sources/linux-sources-2.2.20.ebuild,v 1.2 2002/03/12 22:31:53 g2boojum Exp $ -#OKV=original kernel version, KV=patched kernel version. They can be the same. - -#we use this next variable to avoid duplicating stuff on cvs -GFILESDIR=${PORTDIR}/sys-kernel/linux-sources/files -OKV=${PV} -KV=${PVR} -S=${WORKDIR}/linux-${KV} -# don't need linux-extras right now -#S2=${WORKDIR}/linux-${KV}-extras - -# What's in this kernel? - -# INCLUDED: -# R. Gooch's devfs-patch-v99.21 -# Reiserfs linux-2.2.19-reiserfs-3.5.34-patch - -PDEVFS=devfs-patch-v99.21 -PREISERFS=linux-2.2.19-reiserfs-3.5.34-patch - -DESCRIPTION="Full sources for the Gentoo Linux kernel" -SRC_URI="http://www.kernel.org/pub/linux/kernel/v2.2/linux-${PV}.tar.bz2 - ftp://ftp.atnf.csiro.au/pub/people/rgooch/linux/kernel-patches/v2.2/${PDEVFS}.gz - ftp://ftp.namesys.com/pub/reiserfs-for-2.2/${PREISERFS}.bz2" -PROVIDE="virtual/kernel" -HOMEPAGE="http://www.kernel.org/ - http://www.atnf.csiro.au/~rgooch/linux/kernel-patches.html/ - http://www.namesys.com" - - -if [ $PN = "linux-sources" ] && [ -z "`use build`" ] -then - #The following two notes may not be true w/ 2.2, but 2.2 seems to work just fine - # with them, so they stay. - #console-tools is needed to solve the loadkeys fiasco. - #binutils version needed to avoid Athlon/PIII/SSE assembler bugs. - DEPEND=">=sys-devel/binutils-2.11.90.0.31 sys-apps/console-tools >=sys-apps/modutils-2.4.2 sys-devel/perl" - - RDEPEND=">=sys-libs/ncurses-5.2 >=sys-apps/baselayout-1.7.4" -fi - -[ -z "$LINUX_HOSTCFLAGS" ] && LINUX_HOSTCFLAGS="-Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -I${S}/include" - -src_unpack() { - #mkdir ${S2} - - cd ${WORKDIR} - unpack linux-${PV}.tar.bz2 - mv linux linux-${KV} || die - #dodir /usr/src/linux-${KV}-extras - zcat ${DISTDIR}/${PDEVFS}.gz | patch -d linux-${KV} -p1 || die - bzcat ${DISTDIR}/${PREISERFS}.bz2 | patch -d linux-${KV} -p1 || die - echo "Preparing for compilation..." - - #sometimes we have icky kernel symbols; this seems to get rid of them - cd ${S} - make mrproper || die - - #linux-sources needs to be fully configured, too. This is the configuration for the default kernel - cp ${S}/arch/i386/defconfig .config || die - yes "" | make oldconfig - echo "Ignore any errors from the yes command above." - - #fix silly permissions in tarball - cd ${WORKDIR} - chown -R 0.0 * - chmod -R a+r-w+X,u+w * - - # Gentoo Linux uses /boot, so fix 'make install' to work properly - cd ${S} - mv Makefile Makefile.orig - sed -e 's:#export\tINSTALL_PATH:export\tINSTALL_PATH:' \ - Makefile.orig >Makefile || die # test, remove me if Makefile ok - rm Makefile.orig -} - -src_compile() { - if [ "${PN}" = "linux-headers" ] - then - cd ${S} - make include/linux/autoconf.h include/linux/version.h || die - fi -} - -src_install() { - if [ "$PN" = "linux-sources" ] - then - dodir /usr/src - cd ${S} - echo ">>> Copying sources..." - mv ${WORKDIR}/* ${D}/usr/src - elif [ "$PN" = "linux-headers" ] - then - dodir /usr/include/linux - cp -ax ${S}/include/linux/* ${D}/usr/include/linux - dodir /usr/include/asm - cp -ax ${S}/include/asm-i386/* ${D}/usr/include/asm - fi - if [ -d ${D}/usr/src/linux-${KV} ] - then - cd ${D}/usr/src/linux-${KV} - if [ -e .config ] - then - mv .config .config.eg - fi - fi -} - -pkg_preinst() { - if [ "$PN" = "linux-headers" ] - then - if [ -L ${ROOT}usr/include/linux ] - then - rm ${ROOT}usr/include/linux - fi - if [ -L ${ROOT}usr/include/asm ] - then - rm ${ROOT}usr/include/asm - fi - fi -} - -pkg_postinst() { - [ "$PN" = "linux-headers" ] && return - rm -f ${ROOT}/usr/src/linux - ln -sf linux-${KV} ${ROOT}/usr/src/linux - #copy over our .config if one isn't already present - cd ${ROOT}/usr/src/linux-${KV} - if [ "${PN}" = "linux-sources" ] && [ -e .config.eg ] && [ ! -e .config ] - then - cp -a .config.eg .config - fi -} diff --git a/sys-kernel/linux-sources/linux-sources-2.2.21_pre3.ebuild b/sys-kernel/linux-sources/linux-sources-2.2.21_pre3.ebuild deleted file mode 100644 index 33ce5d0cddd5..000000000000 --- a/sys-kernel/linux-sources/linux-sources-2.2.21_pre3.ebuild +++ /dev/null @@ -1,140 +0,0 @@ -# Copyright 1999-2002 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# Maintainer: Daniel Robbins <drobbins@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-sources/linux-sources-2.2.21_pre3.ebuild,v 1.2 2002/03/12 22:31:53 g2boojum Exp $ -#OKV=original kernel version, KV=patched kernel version. They can be the same. - -#we use this next variable to avoid duplicating stuff on cvs -GFILESDIR=${PORTDIR}/sys-kernel/linux-sources/files -OKV=2.2.20 -KV=${PVR} -S=${WORKDIR}/linux-${KV} -# don't need linux-extras right now -#S2=${WORKDIR}/linux-${KV}-extras - -# What's in this kernel? - -# INCLUDED: -# Alan Cox's patch-2.2.21-pre3 -# R. Gooch's devfs-patch-v99.21 -# Reiserfs linux-2.2.19-reiserfs-3.5.34-patch - -PAC=patch-2.2.21-pre3 -PDEVFS=devfs-patch-v99.21 -PREISERFS=linux-2.2.19-reiserfs-3.5.34-patch - -DESCRIPTION="Full sources for the Gentoo Linux kernel" -SRC_URI="http://www.kernel.org/pub/linux/kernel/v2.2/linux-${OKV}.tar.bz2 - http://www.kernel.org/pub/linux/kernel/v2.2/testing/${PAC}.gz - ftp://ftp.atnf.csiro.au/pub/people/rgooch/linux/kernel-patches/v2.2/${PDEVFS}.gz - ftp://ftp.namesys.com/pub/reiserfs-for-2.2/${PREISERFS}.bz2" -PROVIDE="virtual/kernel" -HOMEPAGE="http://www.kernel.org/ - http://www.atnf.csiro.au/~rgooch/linux/kernel-patches.html/ - http://www.namesys.com" - - -if [ $PN = "linux-sources" ] && [ -z "`use build`" ] -then - #The following two notes may not be true w/ 2.2, but 2.2 seems to work just fine - # with them, so they stay. - #console-tools is needed to solve the loadkeys fiasco. - #binutils version needed to avoid Athlon/PIII/SSE assembler bugs. - DEPEND=">=sys-devel/binutils-2.11.90.0.31 sys-apps/console-tools >=sys-apps/modutils-2.4.2 sys-devel/perl" - - RDEPEND=">=sys-libs/ncurses-5.2 >=sys-apps/baselayout-1.7.4" -fi - -[ -z "$LINUX_HOSTCFLAGS" ] && LINUX_HOSTCFLAGS="-Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -I${S}/include" - -src_unpack() { - #mkdir ${S2} - - cd ${WORKDIR} - unpack linux-${OKV}.tar.bz2 - mv linux linux-${KV} || die - #dodir /usr/src/linux-${KV}-extras - zcat ${DISTDIR}/${PAC}.gz | patch -d linux-${KV} -p1 || die - zcat ${DISTDIR}/${PDEVFS}.gz | patch -d linux-${KV} -p1 || die - bzcat ${DISTDIR}/${PREISERFS}.bz2 | patch -d linux-${KV} -p1 || die - echo "Preparing for compilation..." - - #sometimes we have icky kernel symbols; this seems to get rid of them - cd ${S} - make mrproper || die - - #linux-sources needs to be fully configured, too. This is the configuration for the default kernel - cp ${S}/arch/i386/defconfig .config || die - yes "" | make oldconfig - echo "Ignore any errors from the yes command above." - - #fix silly permissions in tarball - cd ${WORKDIR} - chown -R 0.0 * - chmod -R a+r-w+X,u+w * - - # Gentoo Linux uses /boot, so fix 'make install' to work properly - cd ${S} - mv Makefile Makefile.orig - sed -e 's:#export\tINSTALL_PATH:export\tINSTALL_PATH:' \ - Makefile.orig >Makefile || die # test, remove me if Makefile ok - rm Makefile.orig -} - -src_compile() { - if [ "${PN}" = "linux-headers" ] - then - cd ${S} - make include/linux/autoconf.h include/linux/version.h || die - fi -} - -src_install() { - if [ "$PN" = "linux-sources" ] - then - dodir /usr/src - cd ${S} - echo ">>> Copying sources..." - mv ${WORKDIR}/* ${D}/usr/src - elif [ "$PN" = "linux-headers" ] - then - dodir /usr/include/linux - cp -ax ${S}/include/linux/* ${D}/usr/include/linux - dodir /usr/include/asm - cp -ax ${S}/include/asm-i386/* ${D}/usr/include/asm - fi - if [ -d ${D}/usr/src/linux-${KV} ] - then - cd ${D}/usr/src/linux-${KV} - if [ -e .config ] - then - mv .config .config.eg - fi - fi -} - -pkg_preinst() { - if [ "$PN" = "linux-headers" ] - then - if [ -L ${ROOT}usr/include/linux ] - then - rm ${ROOT}usr/include/linux - fi - if [ -L ${ROOT}usr/include/asm ] - then - rm ${ROOT}usr/include/asm - fi - fi -} - -pkg_postinst() { - [ "$PN" = "linux-headers" ] && return - rm -f ${ROOT}/usr/src/linux - ln -sf linux-${KV} ${ROOT}/usr/src/linux - #copy over our .config if one isn't already present - cd ${ROOT}/usr/src/linux-${KV} - if [ "${PN}" = "linux-sources" ] && [ -e .config.eg ] && [ ! -e .config ] - then - cp -a .config.eg .config - fi -} diff --git a/sys-kernel/linux-sources/linux-sources-2.4.13.ebuild b/sys-kernel/linux-sources/linux-sources-2.4.13.ebuild deleted file mode 100644 index ba967b5368a4..000000000000 --- a/sys-kernel/linux-sources/linux-sources-2.4.13.ebuild +++ /dev/null @@ -1,285 +0,0 @@ -# Copyright 1999-2001 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# Maintainer: System Team <system@gentoo.org> -# Author: Daniel Robbins <drobbins@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-sources/linux-sources-2.4.13.ebuild,v 1.6 2002/01/19 20:29:04 drobbins Exp $ - -#OKV=original kernel version, KV=patched kernel version. They can be the same. - -#we use this next variable to avoid duplicating stuff on cvs -GFILESDIR=${PORTDIR}/sys-kernel/linux-sources/files -OKV=${PV} -KV=${OKV} -S=${WORKDIR}/linux-${KV} -S2=${WORKDIR}/linux-${KV}-extras -if [ $PN = "linux-extras" ] -then - KS=${ROOT}usr/src/linux-${KV} - KS2=${ROOT}usr/src/linux-${KV}-extras -else - KS=${S} - KS2=${S2} -fi - -# Kernel Features Enabled USE Variable Status -# -# Reiserfs Y - Production-ready -# JFS N jfs Testing-only (commented out for now) -# LVM Y lvm Production-ready -# ext3 Y ext3 Production-ready -# MOSIX N mosix Testing only, probably quite stable -# XFS N xfs will probably need to be placed in a separate kernel -# PCMCIA-CS N pcmcia Need to move this to its own ebuild -# lm-sensors N lm_sensors Need to move this to its own ebuild - -# Patch Versions -ACPIV=20011109 -LVMV=1.0.1-rc4 -EXT3V=0.9.15 -LOWLV=2.4.15-pre5 -PREEV="${KV}-1" -MOSV=1.5.2 -EXT3P="ext3-2.4-${EXT3V}-`echo ${KV} |sed -e 's:\.::g' -e 's:-::'`" - -[ "${PN}" = "linux" ] && DESCRIPTION="Linux kernel version ${KV}, including modules, binary tools, libraries and includes" -[ "${PN}" = "linux-sources" ] && DESCRIPTION="Linux kernel version ${KV} - full sources" -[ "${PN}" = "linux-extras" ] && DESCRIPTION="Linux kernel support tools and libraries" - -# We use build in /usr/src/linux in case of linux-extras -# so we need no sources -[ ! "${PN}" = "linux-extras" ] && SRC_URI="http://www.de.kernel.org/pub/linux/kernel/v2.4/linux-${OKV}.tar.bz2 -ftp://ftp.sistina.com/pub/LVM/1.0/lvm_${LVMV}.tar.gz -http://www.mosix.cs.huji.ac.il/ftps/MOSIX-${MOSV}.tar.gz" - -#http://developer.intel.com/technology/iapc/acpi/downloads/acpi-${ACPIV}.diff.gz" -#http://www.kernel.org/pub/linux/kernel/people/rml/preempt-kernel/2.4/preempt-kernel-rml-2.4.15-pre4-1.patch -#http://www.zip.com.au/~akpm/linux/${LOWLV}-low-latency.patch.gz - -[ "$PN" != "linux-extras" ] && PROVIDE="virtual/kernel" - -HOMEPAGE="http://www.kernel.org/ - http://www.namesys.com - http://www.sistina.com/lvm/ - http://developer.intel.com/technology/iapc/acpi/" - -DEPEND=">=sys-apps/modutils-2.4.2 sys-devel/perl" -#these deps are messed up; fix 'em and add ncurses (required my mosix compile, menuconfig) -if [ $PN = "linux" ] -then -# RDEPEND="mosix? ( ~sys-apps/mosix-user-${MOSV} ) >=sys-apps/e2fsprogs-1.22 >=sys-apps/util-linux-2.11f >=sys-apps/reiserfs-utils-3.6.25-r1" - RDEPEND=">=sys-apps/e2fsprogs-1.22 >=sys-apps/util-linux-2.11f >=sys-apps/reiserfs-utils-3.6.25-r1" -elif [ $PN = "linux-sources" ] -then - if [ "`use build`" ] - then - DEPEND="" - RDEPEND="" - else - #ncurses is required for "make menuconfig" - RDEPEND=">=sys-libs/ncurses-5.2" - fi -elif [ $PN = "linux-extras" ] -then - #linux-extras/headers requires a rev of the current kernel sources to be installed - RDEPEND="~sys-kernel/linux-sources-${PV}" -elif [ $PN = "linux-headers" ] -then - DEPEND="" - RDEPEND="" -fi - -[ -z "$LINUX_HOSTCFLAGS" ] && LINUX_HOSTCFLAGS="-Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -I${KS}/include" - -patchorama() { - local x - for x in ${*} - do - [ -d "$x" ] && continue - echo ">>> Applying ${x}..." - if [ "${x##*.}" = "bz2" ] - then - cat $x | bzip2 -d | patch -p1 -l - elif [ "${x##*.}" = "gz" ] - then - cat $x | gzip -d | patch -p1 -l - else - patch -p1 -l < $x - fi - done -} - - -src_unpack() { - - [ "$PN" = "linux-extras" ] && return - mkdir ${S2} - - cd ${WORKDIR} - unpack linux-${OKV}.tar.bz2 - mv linux linux-${KV} || die - dodir /usr/src/linux-${KV}-extras - cd ${KS2} - tar -xz --no-same-owner -f ${DISTDIR}/MOSIX-${MOSV}.tar.gz MOSIX-${MOSV}/patches.${OKV} - cd ${S} - patchorama ${KS2}/MOSIX-${MOSV}/patches.${OKV} - echo "Preparing for compilation..." - - #sometimes we have icky kernel symbols; this seems to get rid of them - make mrproper || die - - #linux-sources needs to be fully configured, too. Not just linux - #this is the configuration for the default kernel - cp ${S}/arch/i386/defconfig .config || die - yes "" | make oldconfig - echo "Ignore any errors from the yes command above." - - #fix silly permissions in tarball - cd ${WORKDIR} - chown -R 0.0 * - chmod -R a+r-w+X,u+w * - - # Gentoo Linux uses /boot, so fix 'make install' to work properly - #seems they cant make up their mind if it should be a space or tab - cd ${S} - mv Makefile Makefile.orig - sed -e 's/#export\tINSTALL_PATH/export\tINSTALL_PATH/' \ - Makefile.orig >Makefile || die # test, remove me if Makefile ok - rm Makefile.orig -} - -src_compile() { - - if [ "${PN}" = "linux-headers" ] - then - cd ${KS} - make include/linux/autoconf.h include/linux/version.h || die - elif [ "${PN}" = "linux-sources" ] - then - echo - else - if [ $PN = "linux" ] - then - cd ${KS} - make symlinks || die - make HOSTCFLAGS="${LINUX_HOSTCFLAGS}" dep || die - make HOSTCFLAGS="${LINUX_HOSTCFLAGS}" LEX="flex -l" bzImage || die - make HOSTCFLAGS="${LINUX_HOSTCFLAGS}" LEX="flex -l" modules || die - fi - #LVM tools are included in the linux and linux-extras pakcages - # cd ${KS2}/LVM/${LVMV} - # - # # This is needed for linux-extras - # if [ -f "Makefile" ] - # then - # make clean || die - # fi - # # I had to hack this in so that LVM will look in the current linux - # # source directory instead of /usr/src/linux for stuff - pete - # CFLAGS="${CFLAGS} -I${KS}/include" ./configure --prefix=/ --mandir=/usr/share/man --with-kernel_dir="${KS}" || die - # make || die - fi -} - -src_install() { - - if [ "${PN}" = "linux" ] || [ "${PN}" = "linux-extras" ] - then - # dodir /usr/lib - - # cd ${KS2}/LVM/${LVMV}/tools - # CFLAGS="${CFLAGS} -I${KS}/include" make install -e prefix=${D} mandir=${D}/usr/share/man sbindir=${D}/sbin libdir=${D}/lib || die - #no need for a static library in /lib - # mv ${D}/lib/*.a ${D}/usr/lib - - if [ "${PN}" = "linux" ] - then - dodir /usr/src/linux-${KV} - cd ${D}/usr/src - #grab includes and documentation only - echo ">>> Copying includes and documentation..." - cp -ax ${S}/include ${D}/usr/src/linux-${KV} - cp -ax ${S}/Documentation ${D}/usr/src/linux-${KV} - - #grab compiled kernel - dodir /boot/boot - insinto /boot/boot - cd ${S} - doins arch/i386/boot/bzImage - - #grab modules - # Do we have a bug in modutils ? - # Meanwhile we use this quick fix (achim) - - install -d ${D}/lib/modules/`uname -r` - make INSTALL_MOD_PATH=${D} modules_install || die - - cd ${S} - depmod -b ${D} -F ${S}/System.map ${KV} - #rm -rf ${D}/lib/modules/`uname -r` - #fix symlink - cd ${D}/lib/modules/${KV} - rm build - ln -sf /usr/src/linux-${KV} build - fi - - cd ${KS2}/cloop-${CLOOPV} - insinto /lib/modules/${KV}/kernel/drivers/block - doins cloop.o - into /usr - dobin create_compressed_fs extract_compressed_fs - - elif [ "$PN" = "linux-sources" ] - then - dodir /usr/src - cd ${S} - echo ">>> Copying sources..." - cp -ax ${WORKDIR}/* ${D}/usr/src - elif [ "$PN" = "linux-headers" ] - then - dodir /usr/include/linux - cp -ax ${KS}/include/linux/* ${D}/usr/include/linux - dodir /usr/include/asm - cp -ax ${KS}/include/asm-i386/* ${D}/usr/include/asm - fi - if [ -d ${D}/usr/src/linux-${KV} ] - then - #don't overwrite existing .config if present - cd ${D}/usr/src/linux-${KV} - if [ -e .config ] - then - cp -a .config .config.eg - fi - fi -} - -pkg_preinst() { - - if [ "$PN" = "linux-headers" ] - then - if [ -L ${ROOT}usr/include/linux ] - then - rm ${ROOT}usr/include/linux - fi - if [ -L ${ROOT}usr/include/asm ] - then - rm ${ROOT}usr/include/asm - fi - fi -} - -pkg_postinst() { - - if [ "$PN" = "linux-extras" ] || [ "$PN" = "linux-headers" ] - then - return - fi - rm -f ${ROOT}/usr/src/linux - ln -sf linux-${KV} ${ROOT}/usr/src/linux - - #copy over our .config if one isn't already present - cd ${ROOT}/usr/src/linux-${KV} - if [ "${PN}" = "linux-sources" ] && [ -e .config.eg ] && [ ! -e .config ] - then - cp -a .config.eg .config - fi -} diff --git a/sys-kernel/linux-sources/linux-sources-2.4.16-r2.ebuild b/sys-kernel/linux-sources/linux-sources-2.4.16-r2.ebuild deleted file mode 100644 index e9e82de87683..000000000000 --- a/sys-kernel/linux-sources/linux-sources-2.4.16-r2.ebuild +++ /dev/null @@ -1,168 +0,0 @@ -# Copyright 1999-2001 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# Maintainer: Daniel Robbins <drobbins@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-sources/linux-sources-2.4.16-r2.ebuild,v 1.1 2001/12/24 17:45:41 drobbins Exp $ - -#OKV=original kernel version, KV=patched kernel version. They can be the same. - -#we use this next variable to avoid duplicating stuff on cvs -GFILESDIR=${PORTDIR}/sys-kernel/linux-sources/files -OKV=${PV} -KV=${OKV} -S=${WORKDIR}/linux-${KV} -S2=${WORKDIR}/linux-${KV}-extras - -# Patch versions. We now have a new system. To enable a patch, set the patch version. To disable -# a patch, comment out the patch version and it won't be enabled. In this ebuild, ACPI, low latency -# and preempt patches are enabled, but MOSIX is not. - -XFSV=20011214 -ACPIV=20011120 -LOWLV=2.4.16 -PREEV="${KV}-1" -#MOSV=1.5.2 - -DESCRIPTION="Linux kernel version ${KV} - full sources" - -PATCHES="" -SRC_URI="http://www.de.kernel.org/pub/linux/kernel/v2.4/linux-${OKV}.tar.bz2" -[ "$MOSV" ] && { SRC_URI="$SRC_URI http://www.mosix.cs.huji.ac.il/ftps/MOSIX-${MOSV}.tar.gz"; PATCHES="$PATCHES ${S2}/MOSIX-${MOSV}/patches.${OKV}"; } -[ "$ACPIV" ] && { SRC_URI="$SRC_URI http://developer.intel.com/technology/iapc/acpi/downloads/acpi-${ACPIV}.diff.gz"; PATCHES="$PATCHES ${DISTDIR}/acpi-${ACPIV}.diff.gz"; } -[ "$LOWLV" ] && { SRC_URI="$SRC_URI http://www.zip.com.au/~akpm/linux/${LOWLV}-low-latency.patch.gz"; PATCHES="$PATCHES ${DISTDIR}/${LOWLV}-low-latency.patch.gz"; } -[ "$PREEV" ] && { SRC_URI="$SRC_URI http://www.kernel.org/pub/linux/kernel/people/rml/preempt-kernel/v2.4/preempt-kernel-rml-${PREEV}.patch" PATCHES="$PATCHES ${DISTDIR}/preempt-kernel-rml-${PREEV}.patch"; } -[ "$XFSV" ] && { SRC_URI="$SRC_URI http://www.ibiblio.org/gentoo/distfiles/XFS-${XFSV}.patch.bz2" PATCHES="$PATCHES ${DISTDIR}/XFS-${XFSV}.patch.bz2"; } - -PROVIDE="virtual/kernel" -HOMEPAGE="http://www.kernel.org/ http://www.namesys.com http://www.sistina.com/lvm/ http://developer.intel.com/technology/iapc/acpi/" - -if [ $PN = "linux-sources" ] && [ -z "`use build`" ] -then - #console-tools is needed to solve the loadkeys fiasco. - #binutils version needed to avoid Athlon/PIII/SSE assembler bugs. - DEPEND=">=sys-devel/binutils-2.11.90.0.31 sys-apps/console-tools >=sys-apps/modutils-2.4.2 sys-devel/perl" - RDEPEND=">=sys-libs/ncurses-5.2" -fi - -[ -z "$LINUX_HOSTCFLAGS" ] && LINUX_HOSTCFLAGS="-Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -I${S}/include" - -patchorama() { - local x - for x in ${*} - do - [ -d "$x" ] && continue - echo ">>> Applying ${x}..." - if [ "${x##*.}" = "bz2" ] - then - cat $x | bzip2 -d | patch -p1 -l - elif [ "${x##*.}" = "gz" ] - then - cat $x | gzip -d | patch -p1 -l - else - patch -p1 -l < $x - fi - done -} - -src_unpack() { - mkdir ${S2} - - cd ${WORKDIR} - unpack linux-${OKV}.tar.bz2 - mv linux linux-${KV} || die - dodir /usr/src/linux-${KV}-extras - if [ "$MOSIX" ] - then - cd ${S2} - tar -xz --no-same-owner -f ${DISTDIR}/MOSIX-${MOSV}.tar.gz MOSIX-${MOSV}/patches.${OKV} - fi - cd ${S} - # the linux-2.4.16-binutils.patch fixes a compile problem in the kernel (uses binutils incorrectly). - # This triggers an error when binutils 2.11.92.0.12.3 is installed. This particular problem is fixed - # in kernel 2.4.17. - patchorama ${FILESDIR}/linux-2.4.16-binutils.patch $PATCHES - echo "Fixing up a single reject..." - #This is a reject related to both low latency and XFS's kdb modifying the same enum. No biggie. - cp ${GFILESDIR}/sysctl.h ${S}/include/linux - echo "Removing -xfs extension from the kernel..." - cp Makefile Makefile.orig - sed -e 's:EXTRAVERSION =-xfs:EXTRAVERSION =:g' Makefile.orig > Makefile - echo "Preparing for compilation..." - - #sometimes we have icky kernel symbols; this seems to get rid of them - make mrproper || die - - #linux-sources needs to be fully configured, too. This is the configuration for the default kernel - cp ${S}/arch/i386/defconfig .config || die - yes "" | make oldconfig - echo "Ignore any errors from the yes command above." - - #fix silly permissions in tarball - cd ${WORKDIR} - chown -R 0.0 * - chmod -R a+r-w+X,u+w * - - # Gentoo Linux uses /boot, so fix 'make install' to work properly; seems they cant make up their mind if it should be a space or tab - cd ${S} - mv Makefile Makefile.orig - sed -e 's/#export\tINSTALL_PATH/export\tINSTALL_PATH/' \ - Makefile.orig >Makefile || die # test, remove me if Makefile ok - rm Makefile.orig -} - -src_compile() { - if [ "${PN}" = "linux-headers" ] - then - cd ${S} - make include/linux/autoconf.h include/linux/version.h || die - fi -} - -src_install() { - if [ "$PN" = "linux-sources" ] - then - dodir /usr/src - cd ${S} - echo ">>> Copying sources..." - cp -ax ${WORKDIR}/* ${D}/usr/src - elif [ "$PN" = "linux-headers" ] - then - dodir /usr/include/linux - cp -ax ${S}/include/linux/* ${D}/usr/include/linux - dodir /usr/include/asm - cp -ax ${S}/include/asm-i386/* ${D}/usr/include/asm - fi - if [ -d ${D}/usr/src/linux-${KV} ] - then - cd ${D}/usr/src/linux-${KV} - if [ -e .config ] - then - mv .config .config.eg - fi - fi -} - -pkg_preinst() { - if [ "$PN" = "linux-headers" ] - then - if [ -L ${ROOT}usr/include/linux ] - then - rm ${ROOT}usr/include/linux - fi - if [ -L ${ROOT}usr/include/asm ] - then - rm ${ROOT}usr/include/asm - fi - fi -} - -pkg_postinst() { - [ "$PN" = "linux-headers" ] && return - rm -f ${ROOT}/usr/src/linux - ln -sf linux-${KV} ${ROOT}/usr/src/linux - #copy over our .config if one isn't already present - cd ${ROOT}/usr/src/linux-${KV} - if [ "${PN}" = "linux-sources" ] && [ -e .config.eg ] && [ ! -e .config ] - then - cp -a .config.eg .config - fi -} diff --git a/sys-kernel/linux-sources/linux-sources-2.4.16-r3.ebuild b/sys-kernel/linux-sources/linux-sources-2.4.16-r3.ebuild deleted file mode 100644 index 97d7c3c39c70..000000000000 --- a/sys-kernel/linux-sources/linux-sources-2.4.16-r3.ebuild +++ /dev/null @@ -1,179 +0,0 @@ -# Copyright 1999-2001 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# Maintainer: Daniel Robbins <drobbins@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-sources/linux-sources-2.4.16-r3.ebuild,v 1.1 2001/12/26 07:30:24 drobbins Exp $ - -#OKV=original kernel version, KV=patched kernel version. They can be the same. - -#we use this next variable to avoid duplicating stuff on cvs -GFILESDIR=${PORTDIR}/sys-kernel/linux-sources/files -OKV=${PV} -KV=${OKV} -S=${WORKDIR}/linux-${KV} -S2=${WORKDIR}/linux-${KV}-extras - -# Patch versions. We now have a new system. To enable a patch, set the patch version. To disable -# a patch, comment out the patch version and it won't be enabled. In this ebuild, ACPI, low latency -# and preempt patches are enabled, but MOSIX is not. - -#XFS patch -XFSV=20011214 -#ACPI patch -ACPIV=20011120 -#Low latency patch -#LOWLV=2.4.16 -#Preemptive kernel patch -PREEV="${KV}-2" -#Lock-break patch -LBPV="${KV}-3" -#Bridge/netfilter compatibility patch -BNFV="0.0.4-against-2.4.16" -#MOSIX patch -#MOSV=1.5.2 - -DESCRIPTION="Linux kernel version ${KV} - full sources" - -PATCHES="" -SRC_URI="http://www.de.kernel.org/pub/linux/kernel/v2.4/linux-${OKV}.tar.bz2" -[ "$MOSV" ] && { SRC_URI="$SRC_URI http://www.mosix.cs.huji.ac.il/ftps/MOSIX-${MOSV}.tar.gz"; PATCHES="$PATCHES ${S2}/MOSIX-${MOSV}/patches.${OKV}"; } -[ "$ACPIV" ] && { SRC_URI="$SRC_URI http://developer.intel.com/technology/iapc/acpi/downloads/acpi-${ACPIV}.diff.gz"; PATCHES="$PATCHES ${DISTDIR}/acpi-${ACPIV}.diff.gz"; } -[ "$LOWLV" ] && { SRC_URI="$SRC_URI http://www.zip.com.au/~akpm/linux/${LOWLV}-low-latency.patch.gz"; PATCHES="$PATCHES ${DISTDIR}/${LOWLV}-low-latency.patch.gz"; } -[ "$PREEV" ] && { SRC_URI="$SRC_URI http://www.kernel.org/pub/linux/kernel/people/rml/preempt-kernel/v2.4/preempt-kernel-rml-${PREEV}.patch" PATCHES="$PATCHES ${DISTDIR}/preempt-kernel-rml-${PREEV}.patch"; } -[ "$LBPV" ] && { SRC_URI="$SRC_URI http://www.kernel.org/pub/linux/kernel/people/rml/lock-break/v2.4/lock-break-rml-${LBPV}.patch" PATCHES="$PATCHES ${DISTDIR}/lock-break-rml-${LBPV}.patch"; } -[ "$XFSV" ] && { SRC_URI="$SRC_URI http://www.ibiblio.org/gentoo/distfiles/XFS-${XFSV}.patch.bz2" PATCHES="$PATCHES ${DISTDIR}/XFS-${XFSV}.patch.bz2"; } -[ "$BNFV" ] && { SRC_URI="$SRC_URI http://bridge.sourceforge.net/devel/bridge-nf/bridge-nf-${BNFV}.diff" PATCHES="$PATCHES ${DISTDIR}/bridge-nf-${BNFV}.diff"; } - -PROVIDE="virtual/kernel" -HOMEPAGE="http://www.kernel.org/ http://www.namesys.com http://www.sistina.com/lvm/ http://developer.intel.com/technology/iapc/acpi/" - -if [ $PN = "linux-sources" ] && [ -z "`use build`" ] -then - #console-tools is needed to solve the loadkeys fiasco. - #binutils version needed to avoid Athlon/PIII/SSE assembler bugs. - DEPEND=">=sys-devel/binutils-2.11.92.0.12.3 sys-apps/console-tools >=sys-apps/modutils-2.4.2 sys-devel/perl" - RDEPEND=">=sys-libs/ncurses-5.2" -fi - -[ -z "$LINUX_HOSTCFLAGS" ] && LINUX_HOSTCFLAGS="-Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -I${S}/include" - -patchorama() { - local x - for x in ${*} - do - [ -d "$x" ] && continue - echo ">>> Applying ${x}..." - if [ "${x##*.}" = "bz2" ] - then - cat $x | bzip2 -d | patch -p1 -l - elif [ "${x##*.}" = "gz" ] - then - cat $x | gzip -d | patch -p1 -l - else - patch -p1 -l < $x - fi - done -} - -src_unpack() { - mkdir ${S2} - - cd ${WORKDIR} - unpack linux-${OKV}.tar.bz2 - mv linux linux-${KV} || die - dodir /usr/src/linux-${KV}-extras - if [ "$MOSIX" ] - then - cd ${S2} - tar -xz --no-same-owner -f ${DISTDIR}/MOSIX-${MOSV}.tar.gz MOSIX-${MOSV}/patches.${OKV} - fi - cd ${S} - # the linux-2.4.16-binutils.patch fixes a compile problem in the kernel (uses binutils incorrectly). - # This triggers an error when binutils 2.11.92.0.12.3 is installed. This particular problem is fixed - # in kernel 2.4.17. - patchorama ${FILESDIR}/linux-2.4.16-binutils.patch $PATCHES - #echo "Fixing up a single reject..." - #This is a reject related to both low latency and XFS's kdb modifying the same enum. No biggie. - #cp ${GFILESDIR}/sysctl.h ${S}/include/linux - echo "Removing -xfs extension from the kernel..." - cp Makefile Makefile.orig - sed -e 's:EXTRAVERSION =-xfs:EXTRAVERSION =:g' Makefile.orig > Makefile - echo "Preparing for compilation..." - - #sometimes we have icky kernel symbols; this seems to get rid of them - make mrproper || die - - #linux-sources needs to be fully configured, too. This is the configuration for the default kernel - cp ${S}/arch/i386/defconfig .config || die - yes "" | make oldconfig - echo "Ignore any errors from the yes command above." - - #fix silly permissions in tarball - cd ${WORKDIR} - chown -R 0.0 * - chmod -R a+r-w+X,u+w * - - # Gentoo Linux uses /boot, so fix 'make install' to work properly; seems they cant make up their mind if it should be a space or tab - cd ${S} - mv Makefile Makefile.orig - sed -e 's/#export\tINSTALL_PATH/export\tINSTALL_PATH/' \ - Makefile.orig >Makefile || die # test, remove me if Makefile ok - rm Makefile.orig -} - -src_compile() { - if [ "${PN}" = "linux-headers" ] - then - cd ${S} - make include/linux/autoconf.h include/linux/version.h || die - fi -} - -src_install() { - if [ "$PN" = "linux-sources" ] - then - dodir /usr/src - cd ${S} - echo ">>> Copying sources..." - cp -ax ${WORKDIR}/* ${D}/usr/src - elif [ "$PN" = "linux-headers" ] - then - dodir /usr/include/linux - cp -ax ${S}/include/linux/* ${D}/usr/include/linux - dodir /usr/include/asm - cp -ax ${S}/include/asm-i386/* ${D}/usr/include/asm - fi - if [ -d ${D}/usr/src/linux-${KV} ] - then - cd ${D}/usr/src/linux-${KV} - if [ -e .config ] - then - mv .config .config.eg - fi - fi -} - -pkg_preinst() { - if [ "$PN" = "linux-headers" ] - then - if [ -L ${ROOT}usr/include/linux ] - then - rm ${ROOT}usr/include/linux - fi - if [ -L ${ROOT}usr/include/asm ] - then - rm ${ROOT}usr/include/asm - fi - fi -} - -pkg_postinst() { - [ "$PN" = "linux-headers" ] && return - rm -f ${ROOT}/usr/src/linux - ln -sf linux-${KV} ${ROOT}/usr/src/linux - #copy over our .config if one isn't already present - cd ${ROOT}/usr/src/linux-${KV} - if [ "${PN}" = "linux-sources" ] && [ -e .config.eg ] && [ ! -e .config ] - then - cp -a .config.eg .config - fi -} diff --git a/sys-kernel/linux-sources/linux-sources-2.4.16.ebuild b/sys-kernel/linux-sources/linux-sources-2.4.16.ebuild deleted file mode 100644 index a1f551341f0d..000000000000 --- a/sys-kernel/linux-sources/linux-sources-2.4.16.ebuild +++ /dev/null @@ -1,157 +0,0 @@ -# Copyright 1999-2001 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# Maintainer: Daniel Robbins <drobbins@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-sources/linux-sources-2.4.16.ebuild,v 1.2 2001/12/12 06:39:29 drobbins Exp $ - -#OKV=original kernel version, KV=patched kernel version. They can be the same. - -#we use this next variable to avoid duplicating stuff on cvs -GFILESDIR=${PORTDIR}/sys-kernel/linux-sources/files -OKV=${PV} -KV=${OKV} -S=${WORKDIR}/linux-${KV} -S2=${WORKDIR}/linux-${KV}-extras - -# Patch versions. We now have a new system. To enable a patch, set the patch version. To disable -# a patch, comment out the patch version and it won't be enabled. In this ebuild, ACPI, low latency -# and preempt patches are enabled, but MOSIX is not. - -ACPIV=20011120 -LOWLV=2.4.16 -PREEV="${KV}-1" -#MOSV=1.5.2 - -DESCRIPTION="Linux kernel version ${KV} - full sources" - -PATCHES="" -SRC_URI="http://www.de.kernel.org/pub/linux/kernel/v2.4/linux-${OKV}.tar.bz2" -[ "$MOSV" ] && { SRC_URI="$SRC_URI http://www.mosix.cs.huji.ac.il/ftps/MOSIX-${MOSV}.tar.gz"; PATCHES="$PATCHES ${S2}/MOSIX-${MOSV}/patches.${OKV}"; } -[ "$ACPIV" ] && { SRC_URI="$SRC_URI http://developer.intel.com/technology/iapc/acpi/downloads/acpi-${ACPIV}.diff.gz"; PATCHES="$PATCHES ${DISTDIR}/acpi-${ACPIV}.diff.gz"; } -[ "$LOWLV" ] && { SRC_URI="$SRC_URI http://www.zip.com.au/~akpm/linux/${LOWLV}-low-latency.patch.gz"; PATCHES="$PATCHES ${DISTDIR}/${LOWLV}-low-latency.patch.gz"; } -[ "$PREEV" ] && { SRC_URI="$SRC_URI http://www.kernel.org/pub/linux/kernel/people/rml/preempt-kernel/v2.4/preempt-kernel-rml-${PREEV}.patch" PATCHES="$PATCHES ${DISTDIR}/preempt-kernel-rml-${PREEV}.patch"; } - -PROVIDE="virtual/kernel" -HOMEPAGE="http://www.kernel.org/ http://www.namesys.com http://www.sistina.com/lvm/ http://developer.intel.com/technology/iapc/acpi/" - -if [ $PN = "linux-sources" ] && [ -z "`use build`" ] -then - #console-tools is needed to solve the loadkeys fiasco. - DEPEND="sys-apps/console-tools >=sys-apps/modutils-2.4.2 sys-devel/perl" - RDEPEND=">=sys-libs/ncurses-5.2" -fi - -[ -z "$LINUX_HOSTCFLAGS" ] && LINUX_HOSTCFLAGS="-Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -I${S}/include" - -patchorama() { - local x - for x in ${*} - do - [ -d "$x" ] && continue - echo ">>> Applying ${x}..." - if [ "${x##*.}" = "bz2" ] - then - cat $x | bzip2 -d | patch -p1 -l - elif [ "${x##*.}" = "gz" ] - then - cat $x | gzip -d | patch -p1 -l - else - patch -p1 -l < $x - fi - done -} - -src_unpack() { - mkdir ${S2} - - cd ${WORKDIR} - unpack linux-${OKV}.tar.bz2 - mv linux linux-${KV} || die - dodir /usr/src/linux-${KV}-extras - if [ "$MOSIX" ] - then - cd ${S2} - tar -xz --no-same-owner -f ${DISTDIR}/MOSIX-${MOSV}.tar.gz MOSIX-${MOSV}/patches.${OKV} - fi - cd ${S} - patchorama $PATCHES - echo "Preparing for compilation..." - - #sometimes we have icky kernel symbols; this seems to get rid of them - make mrproper || die - - #linux-sources needs to be fully configured, too. This is the configuration for the default kernel - cp ${S}/arch/i386/defconfig .config || die - yes "" | make oldconfig - echo "Ignore any errors from the yes command above." - - #fix silly permissions in tarball - cd ${WORKDIR} - chown -R 0.0 * - chmod -R a+r-w+X,u+w * - - # Gentoo Linux uses /boot, so fix 'make install' to work properly; seems they cant make up their mind if it should be a space or tab - cd ${S} - mv Makefile Makefile.orig - sed -e 's/#export\tINSTALL_PATH/export\tINSTALL_PATH/' \ - Makefile.orig >Makefile || die # test, remove me if Makefile ok - rm Makefile.orig -} - -src_compile() { - if [ "${PN}" = "linux-headers" ] - then - cd ${S} - make include/linux/autoconf.h include/linux/version.h || die - fi -} - -src_install() { - if [ "$PN" = "linux-sources" ] - then - dodir /usr/src - cd ${S} - echo ">>> Copying sources..." - cp -ax ${WORKDIR}/* ${D}/usr/src - elif [ "$PN" = "linux-headers" ] - then - dodir /usr/include/linux - cp -ax ${S}/include/linux/* ${D}/usr/include/linux - dodir /usr/include/asm - cp -ax ${S}/include/asm-i386/* ${D}/usr/include/asm - fi - if [ -d ${D}/usr/src/linux-${KV} ] - then - #don't overwrite existing .config if present - cd ${D}/usr/src/linux-${KV} - if [ -e .config ] - then - cp -a .config .config.eg - fi - fi -} - -pkg_preinst() { - if [ "$PN" = "linux-headers" ] - then - if [ -L ${ROOT}usr/include/linux ] - then - rm ${ROOT}usr/include/linux - fi - if [ -L ${ROOT}usr/include/asm ] - then - rm ${ROOT}usr/include/asm - fi - fi -} - -pkg_postinst() { - [ "$PN" = "linux-headers" ] && return - rm -f ${ROOT}/usr/src/linux - ln -sf linux-${KV} ${ROOT}/usr/src/linux - #copy over our .config if one isn't already present - cd ${ROOT}/usr/src/linux-${KV} - if [ "${PN}" = "linux-sources" ] && [ -e .config.eg ] && [ ! -e .config ] - then - cp -a .config.eg .config - fi -} diff --git a/sys-kernel/linux-sources/linux-sources-2.4.17-r3.ebuild b/sys-kernel/linux-sources/linux-sources-2.4.17-r3.ebuild deleted file mode 100644 index 6a7ba6f4ec00..000000000000 --- a/sys-kernel/linux-sources/linux-sources-2.4.17-r3.ebuild +++ /dev/null @@ -1,140 +0,0 @@ -# Copyright 1999-2002 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# Maintainer: Daniel Robbins <drobbins@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-sources/linux-sources-2.4.17-r3.ebuild,v 1.3 2002/02/10 23:03:47 drobbins Exp $ -#OKV=original kernel version, KV=patched kernel version. They can be the same. - -#we use this next variable to avoid duplicating stuff on cvs -GFILESDIR=${PORTDIR}/sys-kernel/linux-sources/files -OKV=${PV} -KV=${PVR} -S=${WORKDIR}/linux-${KV} -S2=${WORKDIR}/linux-${KV}-extras - -#What's in this kernel? -#====================== -# EXISTING patches: -# xfs (26 Jan 2002 CVS) -# read-latency-2 from akpm (improves multiple disk read/write IO performance) -# fastpte (enables an option to do fast scanning of the page tables) -# irqrate-a1 (optimizes irq handling, no more ksoftirqd and eliminates irq storms on servers) -# ide (from http://www.linuxdiskcert.org, patch ide.2.4.17.01192002.patch) ide updates, performance improvements -# note: enable "Taskfile" options in kernel config -# preempt-2.4.17-r1 (preemptible kernel) -# loopback device deadlock fixes from akpm -# NEW in 2.4.17-r3: -# acpi-20011205 (ACPI support, new-style power management) -# REMOVED from 2.4.17-r3: -# readahead patch from akpm (really slowed things down; was mistakenly recommended to me before it was ready) - -DESCRIPTION="Full sources for the Gentoo Linux kernel" -SRC_URI="http://www.kernel.org/pub/linux/kernel/v2.4/linux-${OKV}.tar.bz2 http://www.ibiblio.org/gentoo/distfiles/linux-gentoo-${KV}.patch.bz2" -PROVIDE="virtual/kernel" -HOMEPAGE="http://www.kernel.org/ http://www.gentoo.org/" - -XFSV=20020124 - -if [ $PN = "linux-sources" ] && [ -z "`use build`" ] -then - #console-tools is needed to solve the loadkeys fiasco. - #binutils version needed to avoid Athlon/PIII/SSE assembler bugs. - DEPEND=">=sys-devel/binutils-2.11.90.0.31 sys-apps/console-tools >=sys-apps/modutils-2.4.2 sys-devel/perl" - RDEPEND=">=sys-libs/ncurses-5.2 >=sys-apps/xfsprogs-${XFSV} >=sys-apps/dmapi-${XFSV} >=sys-apps/attr-${XFSV} >=sys-apps/acl-${XFSV} >=sys-apps/xfsdump-${XFSV}" -fi - -[ -z "$LINUX_HOSTCFLAGS" ] && LINUX_HOSTCFLAGS="-Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -I${S}/include" - -src_unpack() { - mkdir ${S2} - - cd ${WORKDIR} - unpack linux-${OKV}.tar.bz2 - mv linux linux-${KV} || die - dodir /usr/src/linux-${KV}-extras - if [ "$MOSIX" ] - then - cd ${S2} - tar -xz --no-same-owner -f ${DISTDIR}/MOSIX-${MOSV}.tar.gz MOSIX-${MOSV}/patches.${OKV} - fi - cd ${S} - cat ${DISTDIR}/linux-gentoo-${KV}.patch.bz2 | bzip2 -d | patch -p1 || die - echo "Preparing for compilation..." - - #sometimes we have icky kernel symbols; this seems to get rid of them - make mrproper || die - - #linux-sources needs to be fully configured, too. This is the configuration for the default kernel - cp ${S}/arch/i386/defconfig .config || die - yes "" | make oldconfig - echo "Ignore any errors from the yes command above." - - #fix silly permissions in tarball - cd ${WORKDIR} - chown -R 0.0 * - chmod -R a+r-w+X,u+w * - - # Gentoo Linux uses /boot, so fix 'make install' to work properly - cd ${S} - mv Makefile Makefile.orig - sed -e 's:#export\tINSTALL_PATH:export\tINSTALL_PATH:' \ - Makefile.orig >Makefile || die # test, remove me if Makefile ok - rm Makefile.orig -} - -src_compile() { - if [ "${PN}" = "linux-headers" ] - then - cd ${S} - make include/linux/autoconf.h include/linux/version.h || die - fi -} - -src_install() { - if [ "$PN" = "linux-sources" ] - then - dodir /usr/src - cd ${S} - echo ">>> Copying sources..." - mv ${WORKDIR}/* ${D}/usr/src - elif [ "$PN" = "linux-headers" ] - then - dodir /usr/include/linux - cp -ax ${S}/include/linux/* ${D}/usr/include/linux - dodir /usr/include/asm - cp -ax ${S}/include/asm-i386/* ${D}/usr/include/asm - fi - if [ -d ${D}/usr/src/linux-${KV} ] - then - cd ${D}/usr/src/linux-${KV} - if [ -e .config ] - then - mv .config .config.eg - fi - fi -} - -pkg_preinst() { - if [ "$PN" = "linux-headers" ] - then - if [ -L ${ROOT}usr/include/linux ] - then - rm ${ROOT}usr/include/linux - fi - if [ -L ${ROOT}usr/include/asm ] - then - rm ${ROOT}usr/include/asm - fi - fi -} - -pkg_postinst() { - [ "$PN" = "linux-headers" ] && return - rm -f ${ROOT}/usr/src/linux - ln -sf linux-${KV} ${ROOT}/usr/src/linux - #copy over our .config if one isn't already present - cd ${ROOT}/usr/src/linux-${KV} - if [ "${PN}" = "linux-sources" ] && [ -e .config.eg ] && [ ! -e .config ] - then - cp -a .config.eg .config - fi -} diff --git a/sys-kernel/linux-sources/linux-sources-2.4.17-r4.ebuild b/sys-kernel/linux-sources/linux-sources-2.4.17-r4.ebuild deleted file mode 100644 index 018deed7f5b9..000000000000 --- a/sys-kernel/linux-sources/linux-sources-2.4.17-r4.ebuild +++ /dev/null @@ -1,152 +0,0 @@ -# Copyright 1999-2002 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# Maintainer: Daniel Robbins <drobbins@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-sources/linux-sources-2.4.17-r4.ebuild,v 1.1 2002/02/14 04:56:37 drobbins Exp $ -#OKV=original kernel version, KV=patched kernel version. They can be the same. - -#we use this next variable to avoid duplicating stuff on cvs -GFILESDIR=${PORTDIR}/sys-kernel/linux-sources/files -OKV=${PV} -KV=${PVR} -S=${WORKDIR}/linux-${KV} -S2=${WORKDIR}/linux-${KV}-extras - -# What's in this kernel? - -# INCLUDED: -# xfs (13 Feb 2002 CVS) -# read-latency2.patch from http://www.zipworld.com.au/~akpm/linux/2.4/2.4.18-pre9/ -# (improves multiple disk read/write IO performance) -# fastpte -# (enables an option to do fast scanning of the page tables) -# ide.2.4.17.02072002.patch from http://www.linuxdiskcert.org/ -# (revamped IDE code) -# preempt-kernel-rml-2.4.17-3 from http://www.tech9.net/rml/linux/ -# (preemptible kernel) -# loopback device deadlock fixes from akpm - -# UPDATED in 2.4.17-r4: -# xfs was updated from 26 Jan 2002 to 13 Feb 2002 CVS -# ide updated from 01192002 to 02072002 -# preempt was updated from -1 to -3 - -# REMOVED from 2.4.17-r4: -# irqrate-a1 (which should close bug #396, possibly others) -# acpi-20020208-2.4.17.diff.gz from http://sourceforge.net/projects/acpi -# (see bug #689; this patch conflicts with the stock aic7xxx scsi driver. -# this bug has been sent upstream) - -# Note: enable "Taskfile" options in kernel config if you're using IDE -# The linuxdiskcert site says "no" but the patch author says "yes" - -DESCRIPTION="Full sources for the Gentoo Linux kernel" -SRC_URI="http://www.kernel.org/pub/linux/kernel/v2.4/linux-${OKV}.tar.bz2 http://www.ibiblio.org/gentoo/distfiles/linux-gentoo-${KV}.patch.bz2" -PROVIDE="virtual/kernel" -HOMEPAGE="http://www.kernel.org/ http://www.gentoo.org/" - -XFSV=20020124 - -if [ $PN = "linux-sources" ] && [ -z "`use build`" ] -then - #console-tools is needed to solve the loadkeys fiasco. - #binutils version needed to avoid Athlon/PIII/SSE assembler bugs. - DEPEND=">=sys-devel/binutils-2.11.90.0.31 sys-apps/console-tools >=sys-apps/modutils-2.4.2 sys-devel/perl" - RDEPEND=">=sys-libs/ncurses-5.2 >=sys-apps/xfsprogs-${XFSV} >=sys-apps/dmapi-${XFSV} >=sys-apps/attr-${XFSV} >=sys-apps/acl-${XFSV} >=sys-apps/xfsdump-${XFSV}" -fi - -[ -z "$LINUX_HOSTCFLAGS" ] && LINUX_HOSTCFLAGS="-Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -I${S}/include" - -src_unpack() { - mkdir ${S2} - - cd ${WORKDIR} - unpack linux-${OKV}.tar.bz2 - mv linux linux-${KV} || die - dodir /usr/src/linux-${KV}-extras - if [ "$MOSIX" ] - then - cd ${S2} - tar -xz --no-same-owner -f ${DISTDIR}/MOSIX-${MOSV}.tar.gz MOSIX-${MOSV}/patches.${OKV} - fi - cd ${S} - cat ${DISTDIR}/linux-gentoo-${KV}.patch.bz2 | bzip2 -d | patch -p1 || die - echo "Preparing for compilation..." - - #sometimes we have icky kernel symbols; this seems to get rid of them - make mrproper || die - - #linux-sources needs to be fully configured, too. This is the configuration for the default kernel - cp ${S}/arch/i386/defconfig .config || die - yes "" | make oldconfig - echo "Ignore any errors from the yes command above." - - #fix silly permissions in tarball - cd ${WORKDIR} - chown -R 0.0 * - chmod -R a+r-w+X,u+w * - - # Gentoo Linux uses /boot, so fix 'make install' to work properly - cd ${S} - mv Makefile Makefile.orig - sed -e 's:#export\tINSTALL_PATH:export\tINSTALL_PATH:' \ - Makefile.orig >Makefile || die # test, remove me if Makefile ok - rm Makefile.orig -} - -src_compile() { - if [ "${PN}" = "linux-headers" ] - then - cd ${S} - make include/linux/autoconf.h include/linux/version.h || die - fi -} - -src_install() { - if [ "$PN" = "linux-sources" ] - then - dodir /usr/src - cd ${S} - echo ">>> Copying sources..." - mv ${WORKDIR}/* ${D}/usr/src - elif [ "$PN" = "linux-headers" ] - then - dodir /usr/include/linux - cp -ax ${S}/include/linux/* ${D}/usr/include/linux - dodir /usr/include/asm - cp -ax ${S}/include/asm-i386/* ${D}/usr/include/asm - fi - if [ -d ${D}/usr/src/linux-${KV} ] - then - cd ${D}/usr/src/linux-${KV} - if [ -e .config ] - then - mv .config .config.eg - fi - fi -} - -pkg_preinst() { - if [ "$PN" = "linux-headers" ] - then - if [ -L ${ROOT}usr/include/linux ] - then - rm ${ROOT}usr/include/linux - fi - if [ -L ${ROOT}usr/include/asm ] - then - rm ${ROOT}usr/include/asm - fi - fi -} - -pkg_postinst() { - [ "$PN" = "linux-headers" ] && return - rm -f ${ROOT}/usr/src/linux - ln -sf linux-${KV} ${ROOT}/usr/src/linux - #copy over our .config if one isn't already present - cd ${ROOT}/usr/src/linux-${KV} - if [ "${PN}" = "linux-sources" ] && [ -e .config.eg ] && [ ! -e .config ] - then - cp -a .config.eg .config - fi -} diff --git a/sys-kernel/linux-sources/linux-sources-2.4.17-r5.ebuild b/sys-kernel/linux-sources/linux-sources-2.4.17-r5.ebuild deleted file mode 100644 index 14eb96cd58c0..000000000000 --- a/sys-kernel/linux-sources/linux-sources-2.4.17-r5.ebuild +++ /dev/null @@ -1,136 +0,0 @@ -# Copyright 1999-2002 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# Maintainer: Daniel Robbins <drobbins@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-sources/linux-sources-2.4.17-r5.ebuild,v 1.6 2002/03/26 00:20:07 drobbins Exp $ -#OKV=original kernel version, KV=patched kernel version. They can be the same. - -#we use this next variable to avoid duplicating stuff on cvs -GFILESDIR=${PORTDIR}/sys-kernel/linux-sources/files -OKV=${PV} -KV=${PVR} -S=${WORKDIR}/linux-${KV} - -# What's in this kernel? - -# INCLUDED: -# xfs (13 Feb 2002 CVS) -# read-latency2.patch from http://www.zipworld.com.au/~akpm/linux/2.4/2.4.18-pre9/ -# (improves multiple disk read/write IO performance) -# fastpte -# (enables an option to do fast scanning of the page tables) -# preempt-kernel-rml-2.4.17-3 from http://www.tech9.net/rml/linux/ -# (preemptible kernel) -# loopback device deadlock fixes from akpm - -# ADDED in 2.4.17-r5: -# acpi-20020214-2.4.17.diff.gz from http://sourceforge.net/projects/acpi -# This patch should close bug #689 which was sent upstream. - -# REMOVED from 2.4.17-r5: -# ide.2.4.17.02072002.patch from http://www.linuxdiskcert.org/ -# (revamped IDE code; this closes bug #690; we'll add it back as soon as the -# confirmed with author completion error is fixed (probably in the next release)) - - -DESCRIPTION="Full sources for the Gentoo Linux kernel" -SRC_URI="http://www.kernel.org/pub/linux/kernel/v2.4/linux-${OKV}.tar.bz2 http://www.ibiblio.org/gentoo/distfiles/linux-gentoo-${KV}.patch.bz2" -PROVIDE="virtual/kernel" -HOMEPAGE="http://www.kernel.org/ http://www.gentoo.org/" - -XFSV=20020124 - -if [ $PN = "linux-sources" ] && [ -z "`use build`" ] -then - #console-tools is needed to solve the loadkeys fiasco; binutils version needed to avoid Athlon/PIII/SSE assembler bugs. - DEPEND=">=sys-devel/binutils-2.11.90.0.31" - RDEPEND=">=sys-libs/ncurses-5.2 sys-devel/perl >=sys-apps/xfsprogs-${XFSV} sys-apps/kbd >=sys-apps/dmapi-${XFSV} >=sys-apps/modutils-2.4.2 sys-devel/make >=sys-apps/attr-${XFSV} >=sys-apps/acl-${XFSV} >=sys-apps/xfsdump-${XFSV}" -fi - -[ -z "$LINUX_HOSTCFLAGS" ] && LINUX_HOSTCFLAGS="-Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -I${S}/include" - -src_unpack() { - cd ${WORKDIR} - unpack linux-${OKV}.tar.bz2 - mv linux linux-${KV} || die - cd ${S} - cat ${DISTDIR}/linux-gentoo-${KV}.patch.bz2 | bzip2 -d | patch -p1 || die - - #sometimes we have icky kernel symbols; this seems to get rid of them - make mrproper || die - - #this file is required for other things to build properly, so we autogenerate it - make include/linux/version.h || die - - #fix silly permissions in tarball - cd ${WORKDIR} - chown -R 0.0 * - chmod -R a+r-w+X,u+w * - - # Gentoo Linux uses /boot, so fix 'make install' to work properly - cd ${S} - mv Makefile Makefile.orig - sed -e 's:#export\tINSTALL_PATH:export\tINSTALL_PATH:' \ - Makefile.orig >Makefile || die # test, remove me if Makefile ok - rm Makefile.orig -} - -src_compile() { - if [ "$PN" = "linux-headers" ] - then - yes "" | make oldconfig - echo "Ignore any errors from the yes command above." - fi -} - -src_install() { - if [ "$PN" = "linux-sources" ] - then - dodir /usr/src - echo ">>> Copying sources..." - mv ${WORKDIR}/* ${D}/usr/src - else - #linux-headers - dodir /usr/include/linux - cp -ax ${S}/include/linux/* ${D}/usr/include/linux - rm -rf ${D}/usr/include/linux/modules - dodir /usr/include/asm - cp -ax ${S}/include/asm-i386/* ${D}/usr/include/asm - fi -} - -pkg_preinst() { - if [ "$PN" = "linux-headers" ] - then - [ -L ${ROOT}usr/include/linux ] && rm ${ROOT}usr/include/linux - [ -L ${ROOT}usr/include/asm ] && rm ${ROOT}usr/include/asm - true - fi -} - -pkg_postinst() { - [ "$PN" = "linux-headers" ] && return - cd ${ROOT}usr/src/linux-${KV} - make mrproper - if [ -e "${ROOT}usr/src/linux/.config" ] - then - cp "${ROOT}usr/src/linux/.config" .config - else - cp "${ROOT}usr/src/linux-${KV}/arch/i386/defconfig" .config - fi - #The default setting will be selected. - yes "" | make oldconfig - echo "Ignore any errors from the yes command above." - #remove /usr/src/linux symlink - rm -f ${ROOT}/usr/src/linux - #set up a new one - ln -sf linux-${KV} ${ROOT}/usr/src/linux - #this will generate include/linux/modversions.h, among other things: - cd ${ROOT}/usr/src/linux-${KV} - make dep - #This next line forces the next "make dep" to run in non-fastdep mode, calling - #genksyms and recalculating things correctly for us. This prevents users from - #bumping into problems when the default config is in SMP mode, they turn it off, - #they build and they get smp_num_cpus redefined errors. A full (non-fastdep) - #"make dep" appears to be needed between SMP<->UP switches. - find -iname *.stamp -exec rm {} \; -} diff --git a/sys-kernel/linux-sources/linux-sources-2.4.18.ebuild b/sys-kernel/linux-sources/linux-sources-2.4.18.ebuild deleted file mode 100644 index 36f28a8155ca..000000000000 --- a/sys-kernel/linux-sources/linux-sources-2.4.18.ebuild +++ /dev/null @@ -1,129 +0,0 @@ -# Copyright 1999-2002 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# Maintainer: Daniel Robbins <drobbins@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-sources/linux-sources-2.4.18.ebuild,v 1.5 2002/03/22 05:26:09 drobbins Exp $ -#OKV=original kernel version, KV=patched kernel version. They can be the same. - -#we use this next variable to avoid duplicating stuff on cvs -GFILESDIR=${PORTDIR}/sys-kernel/linux-sources/files -OKV=2.4.17 -KV=${PVR} -S=${WORKDIR}/linux-${KV} - -# What's in this kernel? - -# INCLUDED: -# Andrea Archangeli's 2.4.18-ac4-aa1 patch -# http://www.kernel.org/pub/linux/kernel/people/andrea/kernels/v2.4/2.4.18rc4aa1.gz -# This patch includes recent SGI XFS code as well. -# read-latency2.patch from http://www.zipworld.com.au/~akpm/linux/2.4/2.4.18-pre9/ -# (improves multiple disk read/write IO performance) -# acpi-20020214-2.4.17.diff.gz from http://sourceforge.net/projects/acpi -# This patch should close bug #689 which was sent upstream. -# bootmem fix patch that is included with Mandrake's cooker kernel: /kernel-2.4.17.20mdk-1-1mdk.src.rpm - -# REMOVED: -# ide.2.4.17.02072002.patch from http://www.linuxdiskcert.org/ -# (revamped IDE code; this closes bug #690; we'll add it back as soon as the -# confirmed with author completion error is fixed (probably in the next release)) -# preempt-kernel-rml-2.4.17-3 from http://www.tech9.net/rml/linux/ -# (preemptible kernel) -- should be a bit conservative with the many aa patches -# loopback device deadlock fixes from akpm / are these included in aa's patches? - -DESCRIPTION="Full sources for the Gentoo Linux kernel" -SRC_URI="http://www.kernel.org/pub/linux/kernel/v2.4/linux-${OKV}.tar.bz2 http://www.ibiblio.org/gentoo/distfiles/linux-gentoo-${KV}.patch.bz2" -PROVIDE="virtual/kernel" -HOMEPAGE="http://www.kernel.org/ http://www.gentoo.org/" - -XFSV=20020124 - -if [ $PN = "linux-sources" ] && [ -z "`use build`" ] -then - #console-tools is needed to solve the loadkeys fiasco; binutils version needed to avoid Athlon/PIII/SSE assembler bugs. - DEPEND=">=sys-devel/binutils-2.11.90.0.31" - RDEPEND=">=sys-libs/ncurses-5.2 sys-devel/perl >=sys-apps/xfsprogs-${XFSV} sys-apps/kbd >=sys-apps/dmapi-${XFSV} >=sys-apps/modutils-2.4.2 sys-devel/make >=sys-apps/attr-${XFSV} >=sys-apps/acl-${XFSV} >=sys-apps/xfsdump-${XFSV}" -fi - -[ -z "$LINUX_HOSTCFLAGS" ] && LINUX_HOSTCFLAGS="-Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -I${S}/include" - -src_unpack() { - cd ${WORKDIR} - unpack linux-${OKV}.tar.bz2 - mv linux linux-${KV} || die - cd ${S} - cat ${DISTDIR}/linux-gentoo-${KV}.patch.bz2 | bzip2 -d | patch -p1 || die - - #sometimes we have icky kernel symbols; this seems to get rid of them - make mrproper || die - - #this file is required for other things to build properly, so we autogenerate it - make include/linux/version.h || die - - #fix silly permissions in tarball - cd ${WORKDIR} - chown -R 0.0 * - chmod -R a+r-w+X,u+w * - - # Gentoo Linux uses /boot, so fix 'make install' to work properly - cd ${S} - mv Makefile Makefile.orig - sed -e 's:#export\tINSTALL_PATH:export\tINSTALL_PATH:' \ - Makefile.orig >Makefile || die # test, remove me if Makefile ok - rm Makefile.orig -} - -src_compile() { - if [ "$PN" = "linux-headers" ] - then - yes "" | make oldconfig - echo "Ignore any errors from the yes command above." - fi -} - -src_install() { - if [ "$PN" = "linux-sources" ] - then - dodir /usr/src - cd ${S} - echo ">>> Copying sources..." - mv ${WORKDIR}/* ${D}/usr/src - else - #linux-headers - dodir /usr/include/linux - cp -ax ${S}/include/linux/* ${D}/usr/include/linux - rm -rf ${D}/usr/include/linux/modules - dodir /usr/include/asm - cp -ax ${S}/include/asm-i386/* ${D}/usr/include/asm - fi -} - -pkg_preinst() { - if [ "$PN" = "linux-headers" ] - then - [ -L ${ROOT}usr/include/linux ] && rm ${ROOT}usr/include/linux - [ -L ${ROOT}usr/include/asm ] && rm ${ROOT}usr/include/asm - true - fi -} - -pkg_postinst() { - [ "$PN" = "linux-headers" ] && return - make mrproper - cd ${ROOT}usr/src/linux-${KV} - if [ -e "${ROOT}usr/src/linux/.config" ] - then - cp "${ROOT}usr/src/linux/.config" .config - else - cp "${ROOT}usr/src/linux-${KV}/arch/i386/defconfig" .config - fi - #The default setting will be selected. - yes "" | make oldconfig - echo "Ignore any errors from the yes command above." - #remove /usr/src/linux symlink - rm -f ${ROOT}/usr/src/linux - #set up a new one - ln -sf linux-${KV} ${ROOT}/usr/src/linux - #this will generate include/linux/modversions.h, among other things: - cd ${ROOT}/usr/src/linux-${KV} - make dep -} diff --git a/sys-kernel/linux-sources/linux-sources-2.4.19-r1.ebuild b/sys-kernel/xfs-sources/xfs-sources-2.4.18.ebuild index 59daef5debf9..64e5c8b9af3c 100644 --- a/sys-kernel/linux-sources/linux-sources-2.4.19-r1.ebuild +++ b/sys-kernel/xfs-sources/xfs-sources-2.4.18.ebuild @@ -1,31 +1,27 @@ # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # Maintainer: Daniel Robbins <drobbins@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-sources/linux-sources-2.4.19-r1.ebuild,v 1.1 2002/04/05 22:51:56 drobbins Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/xfs-sources/xfs-sources-2.4.18.ebuild,v 1.1 2002/04/23 05:19:56 drobbins Exp $ #OKV=original kernel version, KV=patched kernel version. They can be the same. #we use this next variable to avoid duplicating stuff on cvs GFILESDIR=${PORTDIR}/sys-kernel/linux-sources/files OKV=2.4.18 -KV=2.4.19-r1 +KV=2.4.18-xfs S=${WORKDIR}/linux-${KV} +ETYPE="sources" # What's in this kernel? # INCLUDED: -# 2.4.19-pre2 stock kernel, plus: -# 2.4.19-pre2-ac4 patch, plus: -# SGI XFS (28 Mar 2002 CVS) - -# Changes from 2.4.19 ebuild: -# including linux/malloc.h is back to a warning to fix vmware compatibility +# This kernel is a straight XFS CVS snapshot from April 22, 2002. DESCRIPTION="Full sources for the Gentoo Linux kernel" SRC_URI="http://www.kernel.org/pub/linux/kernel/v2.4/linux-${OKV}.tar.bz2 http://www.ibiblio.org/gentoo/distfiles/linux-gentoo-${KV}.patch.bz2" PROVIDE="virtual/kernel" HOMEPAGE="http://www.kernel.org/ http://www.gentoo.org/" -if [ $PN = "linux-sources" ] && [ -z "`use build`" ] +if [ $ETYPE = "sources" ] && [ -z "`use build`" ] then #console-tools is needed to solve the loadkeys fiasco; binutils version needed to avoid Athlon/PIII/SSE assembler bugs. DEPEND=">=sys-devel/binutils-2.11.90.0.31" @@ -61,7 +57,7 @@ src_unpack() { } src_compile() { - if [ "$PN" = "linux-headers" ] + if [ "$ETYPE" = "headers" ] then yes "" | make oldconfig echo "Ignore any errors from the yes command above." @@ -69,7 +65,7 @@ src_compile() { } src_install() { - if [ "$PN" = "linux-sources" ] + if [ "$ETYPE" = "sources" ] then dodir /usr/src echo ">>> Copying sources..." @@ -85,7 +81,7 @@ src_install() { } pkg_preinst() { - if [ "$PN" = "linux-headers" ] + if [ "$ETYPE" = "headers" ] then [ -L ${ROOT}usr/include/linux ] && rm ${ROOT}usr/include/linux [ -L ${ROOT}usr/include/asm ] && rm ${ROOT}usr/include/asm @@ -94,7 +90,7 @@ pkg_preinst() { } pkg_postinst() { - [ "$PN" = "linux-headers" ] && return + [ "$ETYPE" = "headers" ] && return cd ${ROOT}usr/src/linux-${KV} make mrproper if [ -e "${ROOT}usr/src/linux/.config" ] |