locking/atomics: Flip fallbacks and instrumentation
[linux-2.6-microblaze.git] / scripts / atomic / fallbacks / add_negative
index 03cc2e0..a66635b 100755 (executable)
@@ -1,6 +1,6 @@
 cat <<EOF
 /**
- * ${atomic}_add_negative - add and test if negative
+ * ${arch}${atomic}_add_negative - add and test if negative
  * @i: integer value to add
  * @v: pointer of type ${atomic}_t
  *
@@ -9,8 +9,8 @@ cat <<EOF
  * result is greater than or equal to zero.
  */
 static __always_inline bool
-${atomic}_add_negative(${int} i, ${atomic}_t *v)
+${arch}${atomic}_add_negative(${int} i, ${atomic}_t *v)
 {
-       return ${atomic}_add_return(i, v) < 0;
+       return ${arch}${atomic}_add_return(i, v) < 0;
 }
 EOF