patch-2.4.21 linux-2.4.21/arch/i386/kernel/process.c
Next file: linux-2.4.21/arch/i386/kernel/setup.c
Previous file: linux-2.4.21/arch/i386/kernel/pci-irq.c
Back to the patch index
Back to the overall index
- Lines: 26
- Date:
2003-06-13 07:51:29.000000000 -0700
- Orig file:
linux-2.4.20/arch/i386/kernel/process.c
- Orig date:
2002-08-02 17:39:42.000000000 -0700
diff -urN linux-2.4.20/arch/i386/kernel/process.c linux-2.4.21/arch/i386/kernel/process.c
@@ -485,7 +485,7 @@
/*
* Create a kernel thread
*/
-int kernel_thread(int (*fn)(void *), void * arg, unsigned long flags)
+int arch_kernel_thread(int (*fn)(void *), void * arg, unsigned long flags)
{
long retval, d0;
@@ -508,6 +508,7 @@
"r" (arg), "r" (fn),
"b" (flags | CLONE_VM)
: "memory");
+
return retval;
}
@@ -726,7 +727,7 @@
* is not really acceptable.]
*/
memcpy(tss->io_bitmap, next->io_bitmap,
- IO_BITMAP_SIZE*sizeof(unsigned long));
+ IO_BITMAP_BYTES);
tss->bitmap = IO_BITMAP_OFFSET;
} else
/*
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)