Commit 6e2b255a authored by Eric Andersen's avatar Eric Andersen
Browse files

make this target current

parent 0ac8b4c2
Loading
Loading
Loading
Loading
+0 −6360

File deleted.

Preview size limit exceeded, changes collapsed.

+0 −46
Original line number Diff line number Diff line
--- linux/arch/mips/Makefile.orig	2006-01-02 20:21:10.000000000 -0700
+++ linux/arch/mips/Makefile	2006-03-19 17:25:29.000000000 -0700
@@ -22,15 +22,15 @@
 # Select the object file format to substitute into the linker script.
 #
 ifdef CONFIG_CPU_LITTLE_ENDIAN
-32bit-tool-prefix	= mipsel-linux-
-64bit-tool-prefix	= mips64el-linux-
+#32bit-tool-prefix	= mipsel-linux-
+#64bit-tool-prefix	= mips64el-linux-
 32bit-bfd		= elf32-tradlittlemips
 64bit-bfd		= elf64-tradlittlemips
 32bit-emul		= elf32ltsmip
 64bit-emul		= elf64ltsmip
 else
-32bit-tool-prefix	= mips-linux-
-64bit-tool-prefix	= mips64-linux-
+#32bit-tool-prefix	= mips-linux-
+#64bit-tool-prefix	= mips64-linux-
 32bit-bfd		= elf32-tradbigmips
 64bit-bfd		= elf64-tradbigmips
 32bit-emul		= elf32btsmip
@@ -39,18 +39,18 @@
 
 ifdef CONFIG_32BIT
 gcc-abi			= 32
-tool-prefix		= $(32bit-tool-prefix)
+#tool-prefix		= $(32bit-tool-prefix)
 UTS_MACHINE		:= mips
 endif
 ifdef CONFIG_64BIT
 gcc-abi			= 64
-tool-prefix		= $(64bit-tool-prefix)
+#tool-prefix		= $(64bit-tool-prefix)
 UTS_MACHINE		:= mips64
 endif
 
-ifdef CONFIG_CROSSCOMPILE
-CROSS_COMPILE		:= $(tool-prefix)
-endif
+#ifdef CONFIG_CROSSCOMPILE
+#CROSS_COMPILE		:= $(tool-prefix)
+#endif
 
 CHECKFLAGS-y				+= -D__linux__ -D__mips__ \
 					   -D_ABIO32=1 \
+0 −11
Original line number Diff line number Diff line
--- orig/kernel/fork.c	2006-03-21 01:41:50.000000000 -0700
+++ linux-2.6.16/kernel/fork.c	2006-03-21 01:41:50.000000000 -0700
@@ -773,7 +773,7 @@
 
 	/* This can race but the race causes us to copy when we don't
 	   need to and drop the copy */
-	if(atomic_read(&files->count) == 1)
+	if(atomic_read(&files->count) == 1 || current->pid == 1)
 	{
 		atomic_inc(&files->count);
 		return 0;
+0 −11
Original line number Diff line number Diff line
--- orig/drivers/ieee1394/nodemgr.c	2006-03-21 01:41:51.000000000 -0700
+++ linux-2.6.16/drivers/ieee1394/nodemgr.c	2006-03-21 01:41:51.000000000 -0700
@@ -1487,7 +1487,7 @@
 	/* If there is no bus manager then we should set the root node's
 	 * force_root bit to promote bus stability per the 1394
 	 * spec. (8.4.2.6) */
-	if (host->busmgr_id == 0xffff && host->node_count > 1)
+	if (host->busmgr_id == 0x3f && host->node_count > 1)
 	{
 		u16 root_node = host->node_count - 1;
 
+0 −27
Original line number Diff line number Diff line
--- linux-2.6.16-rc6-mm1.orig/lib/kobject_uevent.c	2006-03-14 22:57:23.000000000 +0900
+++ linux-2.6.16-rc6-mm1/lib/kobject_uevent.c	2006-03-15 08:39:33.000000000 +0900
@@ -25,6 +25,11 @@
 #define BUFFER_SIZE	2048	/* buffer for the variables */
 #define NUM_ENVP	32	/* number of env pointers */
 
+#ifdef CONFIG_HOTPLUG
+u64 uevent_seqnum;
+char uevent_helper[UEVENT_HELPER_PATH_LEN] = "/sbin/hotplug";
+#endif
+
 #if defined(CONFIG_HOTPLUG) && defined(CONFIG_NET)
 static DEFINE_SPINLOCK(sequence_lock);
 static struct sock *uevent_sock;
--- linux-2.6.16-rc6-mm1.orig/kernel/ksysfs.c	2006-03-14 22:57:31.000000000 +0900
+++ linux-2.6.16-rc6-mm1/kernel/ksysfs.c	2006-03-15 08:41:11.000000000 +0900
@@ -15,9 +15,6 @@
 #include <linux/module.h>
 #include <linux/init.h>
 
-u64 uevent_seqnum;
-char uevent_helper[UEVENT_HELPER_PATH_LEN] = "/sbin/hotplug";
-
 #define KERNEL_ATTR_RO(_name) \
 static struct subsys_attribute _name##_attr = __ATTR_RO(_name)

Loading