public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* Who owns those locks ? (3)
@ 2004-05-12 15:35 Zoltan Menyhart
  0 siblings, 0 replies; only message in thread
From: Zoltan Menyhart @ 2004-05-12 15:35 UTC (permalink / raw)
  To: linux-ia64, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 105 bytes --]

Don't know why I thought that the assembly code of the spin
lock would be in a single file :-)

Zoltán

[-- Attachment #2: n475 --]
[-- Type: text/plain, Size: 408 bytes --]

--- 2.6.5.ref/arch/ia64/kernel/head.S	Wed Apr 21 16:18:26 2004
+++ 2.6.5.new/arch/ia64/kernel/head.S	Wed May 12 16:31:33 2004
@@ -917,7 +917,8 @@
 	ld4 r30=[r31]		// don't use ld4.bias; if it's contended, we won't write the word
 	;;
 	cmp4.ne p14,p0=r30,r0
-	mov r30 = 1
+//	mov r30 = 1
+	shr.u r30 = r13, 12	// Current task pointer
 (p14)	br.cond.sptk.few .wait
 	;;
 	cmpxchg4.acq r30=[r31], r30, ar.ccv


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-05-12 15:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-12 15:35 Who owns those locks ? (3) Zoltan Menyhart

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox