[SSI] openssi/kernel/include/asm-i386 semaphore.h,1.6,1.7

Roger Tsang <[email protected]>
Newsgroups gmane.linux.cluster.ssic.cvs
Message-ID <[email protected]>
Update of /cvsroot/ssic-linux/openssi/kernel/include/asm-i386
In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv16224/kernel/include/asm-i386

Modified Files:
      Tag: OPENSSI-FC
	semaphore.h 
Log Message:
Bug fixes and enhancements. See ChangeLog.


Index: semaphore.h
===================================================================
RCS file: /cvsroot/ssic-linux/openssi/kernel/include/asm-i386/semaphore.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- semaphore.h	3 Feb 2009 06:18:13 -0000	1.6
+++ semaphore.h	27 Oct 2009 03:18:30 -0000	1.7
@@ -179,7 +179,7 @@
 		:"memory","ax");
 
 #ifdef CONFIG_SSI
-	set_mb(sem->owner, current);
+	sem->owner = current;
 #endif
 }
 
@@ -208,7 +208,7 @@
 		:"memory");
 #ifdef CONFIG_SSI
 	if (result == 0)
-		set_mb(sem->owner, current);
+		sem->owner = current;
 #endif
 	return result;
 }
@@ -237,7 +237,7 @@
 		:"memory");
 #ifdef CONFIG_SSI
 	if (result == 0)
-		set_mb(sem->owner, current);
+		sem->owner = current;
 #endif
 	return result;
 }
@@ -255,7 +255,7 @@
 	if (sem_flushing(sem))
 		return;
 #endif
-	set_mb(sem->owner, NULL);
+	sem->owner = NULL;
 #endif
 	__asm__ __volatile__(
 		"# atomic up operation\n\t"


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.