fix CPU_EQUAL macro in sched.h
authorSzabolcs Nagy <nsz@port70.net>
Wed, 13 Aug 2014 14:55:56 +0000 (16:55 +0200)
committerRich Felker <dalias@aerifal.cx>
Mon, 30 Mar 2015 05:15:43 +0000 (01:15 -0400)
(cherry picked from commit d146d4dc1104aa3472daf81d2581aca65df54d13)

include/sched.h

index 105dac9557f17f24195fea948e727d61eeffcbb0..024667573634d4464a9e2ceccdcce3e6b998250e 100644 (file)
@@ -122,7 +122,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