patch-2.1.29 linux/include/asm-sparc/smp_lock.h

Next file: linux/include/asm-sparc/string.h
Previous file: linux/include/asm-sparc/sigcontext.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.28/linux/include/asm-sparc/smp_lock.h linux/include/asm-sparc/smp_lock.h
@@ -46,7 +46,7 @@
 	mov	%%o7, %%g4
 	call	___lock_kernel
 	 ld	[%%g6 + %0], %%g2
-"	: : "i" (TASK_LOCK_DEPTH), "r" (klip), "r" (proc)
+"	: : "i" (AOFF_task_lock_depth), "r" (klip), "r" (proc)
 	: "g2", "g3", "g4", "g7", "memory");
 }
 
@@ -59,7 +59,7 @@
 	mov	%%o7, %%g4
 	call	___unlock_kernel
 	 ld	[%%g6 + %0], %%g2
-"	: : "i" (TASK_LOCK_DEPTH), "r" (klip)
+"	: : "i" (AOFF_task_lock_depth), "r" (klip)
 	: "g2", "g3", "g4", "memory");
 }
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov