]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-i386/alternative.h
i386: fix early usage of atomic_add_return and local_add_return on real i386
[linux-2.6-omap-h63xx.git] / include / asm-i386 / alternative.h
index 0f70b379b029cca89aa8cded9d705b282e9c6fa7..eb7da5402bfaa17623bb523bed36c171adc0c776 100644 (file)
@@ -97,6 +97,12 @@ static inline void alternatives_smp_switch(int smp) {}
                      "663:\n\t" newinstr "\n664:\n"   /* replacement */ \
                      ".previous" : output : [feat] "i" (feature), ##input)
 
+/*
+ * use this macro(s) if you need more than one output parameter
+ * in alternative_io
+ */
+#define ASM_OUTPUT2(a, b) a, b
+
 /*
  * Alternative inline assembly for SMP.
  *