[patch 1/8] openmosix/i386-replace-TIF_NEED_RESCHED.patch

Florian Delizy <[email protected]> Thu, 23 Nov 2006 19:38:33 +0100
Newsgroups gmane.linux.cluster.openmosix.devel
Message-ID <[email protected]>
This patch fixes the i386 port (that I broke ;) )

thanks to Aaron Hughes

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________
openMosix-devel mailing list
openMosix-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/openmosix-devel
i386-replace-TIF_NEED_RESCHED.patch (text/x-patch, 561 B)
Index: linux/arch/i386/kernel/entry.S
===================================================================
--- linux.orig/arch/i386/kernel/entry.S	2006-11-16 22:45:51.000000000 +0100
+++ linux/arch/i386/kernel/entry.S	2006-11-23 18:43:32.000000000 +0100
@@ -349,11 +349,11 @@
 
 #ifdef CONFIG_OPENMOSIX
 	/* Check if some oM requests are pending */
-	bt %ecx, $TIF_NEED_OM_RESCHED
+	bt $TIF_NEED_OM_REFRESH, %ecx
 	jnc work_pending_no_om
 	SAVE_ALL
 	call openmosix_pre_usermode
-	RESTORE_ALL
+	RESTORE_REGS
 work_pending_no_om:
 #endif /* CONFIG_OPENMOSIX */