patch-2.4.0-test5 linux/arch/arm/kernel/ecard.c

Next file: linux/arch/arm/kernel/hw-sa1100.c
Previous file: linux/arch/arm/kernel/dma.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test4/linux/arch/arm/kernel/ecard.c linux/arch/arm/kernel/ecard.c
@@ -44,12 +44,6 @@
 #include <asm/pgalloc.h>
 #include <asm/mmu_context.h>
 
-#ifdef CONFIG_ARCH_ARC
-#include <asm/arch/oldlatches.h>
-#else
-#define oldlatch_init()
-#endif
-
 #ifndef CONFIG_ARCH_RPC
 #define HAVE_EXPMASK
 #endif
@@ -378,7 +372,8 @@
 		ecard_task_reset(req);
 	} else {
 		if (ecard_pid <= 0)
-			ecard_pid = kernel_thread(ecard_task, NULL, 0);
+			ecard_pid = kernel_thread(ecard_task, NULL,
+					CLONE_FS | CLONE_FILES | CLONE_SIGHAND);
 
 		ecard_req = req;
 
@@ -1061,8 +1056,6 @@
 void __init ecard_init(void)
 {
 	int slot;
-
-	oldlatch_init();
 
 #ifdef CONFIG_CPU_32
 	init_waitqueue_head(&ecard_wait);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)