[parisc-linux-cvs] Entry.S patch

Matthew Wilcox willy@ldl.fc.hp.com
Thu, 15 Feb 2001 20:04:22 -0700


... and this was all that was needed to get past `starting kswapd'.

Index: arch/parisc/kernel/entry.S
===================================================================
RCS file: /home/cvs/parisc/linux/arch/parisc/kernel/entry.S,v
retrieving revision 1.69
diff -u -p -r1.69 entry.S
--- entry.S	2001/02/14 02:29:28	1.69
+++ entry.S	2001/02/16 02:59:05
@@ -506,6 +506,11 @@ __kernel_thread:
 	.export	ret_from_kernel_thread
 ret_from_kernel_thread:
 
+	/* Call schedule_tail first though */
+	
+	bl	schedule_tail, %r2
+	nop
+
 	LDREG	TASK_PT_GR26-TASK_SZ_ALGN(%r30), %r1
 	LDREG	TASK_PT_GR25-TASK_SZ_ALGN(%r30), %r26
 	ble	0(%sr7, %r1)