X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fasm-arm%2Flocks.h;h=852220eecdbc5d3147528bd6853f2a039ae91543;hb=252815b0cfe711001eff0327872209986b36d490;hp=f08dc844791301f91871506a1c2c50d1a0f27e03;hpb=4d7de66e2cc508761f050d1d4eaca88a6e6f711e;p=linux-2.6 diff --git a/include/asm-arm/locks.h b/include/asm-arm/locks.h index f08dc84479..852220eecd 100644 --- a/include/asm-arm/locks.h +++ b/include/asm-arm/locks.h @@ -103,7 +103,7 @@ ({ \ smp_mb(); \ __asm__ __volatile__( \ - "@ up_op_read\n" \ + "@ up_op_write\n" \ "1: ldrex lr, [%0]\n" \ " adds lr, lr, %1\n" \ " strex ip, lr, [%0]\n" \ @@ -231,7 +231,7 @@ #define __up_op_write(ptr,wake) \ ({ \ __asm__ __volatile__( \ - "@ up_op_read\n" \ + "@ up_op_write\n" \ " mrs ip, cpsr\n" \ " orr lr, ip, #128\n" \ " msr cpsr_c, lr\n" \