fix CPU_EQUAL macro in sched.h
authorSzabolcs Nagy <nsz@port70.net>
Wed, 13 Aug 2014 14:55:56 +0000 (16:55 +0200)
committerSzabolcs Nagy <nsz@port70.net>
Wed, 13 Aug 2014 14:55:56 +0000 (16:55 +0200)
include/sched.h

index 4394b64b289d36bde5a5a3dd312094e0e0bb0fe2..3e34a72c0b79ce836763c0965566408aaca105e9 100644 (file)
@@ -123,7 +123,7 @@ __CPU_op_func_S(XOR, ^)
 #define CPU_XOR(d,s1,s2) CPU_XOR_S(sizeof(cpu_set_t),d,s1,s2)
 #define CPU_COUNT(set) CPU_COUNT_S(sizeof(cpu_set_t),set)
 #define CPU_ZERO(set) CPU_ZERO_S(sizeof(cpu_set_t),set)
-#define CPU_EQUAL(set) CPU_EQUAL_S(sizeof(cpu_set_t),set)
+#define CPU_EQUAL(s1,s2) CPU_EQUAL_S(sizeof(cpu_set_t),s1,s2)
 
 #endif