From mboxrd@z Thu Jan 1 00:00:00 1970 From: Zoltan Menyhart Date: Wed, 12 May 2004 15:35:52 +0000 Subject: Who owns those locks ? (3) Message-Id: <40A24458.533E637D@nospam.org> MIME-Version: 1 Content-Type: multipart/mixed; boundary="------------E711D0845B24809FA39FCEF3" List-Id: To: linux-ia64@vger.kernel.org, linux-kernel@vger.kernel.org This is a multi-part message in MIME format. --------------E711D0845B24809FA39FCEF3 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Don't know why I thought that the assembly code of the spin lock would be in a single file :-) Zolt=E1n --------------E711D0845B24809FA39FCEF3 Content-Type: text/plain; charset=us-ascii; name="n475" Content-Disposition: inline; filename="n475" Content-Transfer-Encoding: 7bit --- 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 --------------E711D0845B24809FA39FCEF3--