[GFS2] Fix typo in last patch
[pandora-kernel.git] / arch / i386 / kernel / semaphore.c
index 7455ab6..98352c3 100644 (file)
@@ -12,7 +12,6 @@
  *
  * rw semaphores implemented November 1999 by Benjamin LaHaise <bcrl@kvack.org>
  */
-#include <linux/config.h>
 #include <asm/semaphore.h>
 
 /*
@@ -110,11 +109,11 @@ asm(
 ".align        4\n"
 ".globl        __write_lock_failed\n"
 "__write_lock_failed:\n\t"
-       LOCK "addl      $" RW_LOCK_BIAS_STR ",(%eax)\n"
+       LOCK_PREFIX "addl       $" RW_LOCK_BIAS_STR ",(%eax)\n"
 "1:    rep; nop\n\t"
        "cmpl   $" RW_LOCK_BIAS_STR ",(%eax)\n\t"
        "jne    1b\n\t"
-       LOCK "subl      $" RW_LOCK_BIAS_STR ",(%eax)\n\t"
+       LOCK_PREFIX "subl       $" RW_LOCK_BIAS_STR ",(%eax)\n\t"
        "jnz    __write_lock_failed\n\t"
        "ret"
 );
@@ -124,11 +123,11 @@ asm(
 ".align        4\n"
 ".globl        __read_lock_failed\n"
 "__read_lock_failed:\n\t"
-       LOCK "incl      (%eax)\n"
+       LOCK_PREFIX "incl       (%eax)\n"
 "1:    rep; nop\n\t"
        "cmpl   $1,(%eax)\n\t"
        "js     1b\n\t"
-       LOCK "decl      (%eax)\n\t"
+       LOCK_PREFIX "decl       (%eax)\n\t"
        "js     __read_lock_failed\n\t"
        "ret"
 );