Displaying 2 results from an estimated 2 matches for "__cpu_test_and_set".
2006 Apr 19
0
[patch] define and use cpu_test_and_clear() and some type checking fixes
...rd tabs are not my own :)
Signed-off-by: Jimi Xenidis <jimix@watson.ibm.com>
--
diff -r b3ca881c903b xen/include/xen/cpumask.h
--- a/xen/include/xen/cpumask.h Wed Apr 19 10:26:37 2006 -0400
+++ b/xen/include/xen/cpumask.h Wed Apr 19 11:45:07 2006 -0400
@@ -111,6 +111,12 @@ static inline int __cpu_test_and_set(int
static inline int __cpu_test_and_set(int cpu, cpumask_t *addr)
{
return test_and_set_bit(cpu, addr->bits);
+}
+
+#define cpu_test_and_clear(cpu, cpumask) __cpu_test_and_clear((cpu),
&(cpumask))
+static inline int __cpu_test_and_clear(int cpu, cpumask_t *addr)
+{
+ return test_and_clea...
2005 Jan 12
3
syslinux build fails with 2.6 linux headers
...declared (first use in this function)
/usr/include/linux/cpumask.h:104: error: `nbits' undeclared (first use in this function)
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:111: error: parse error before "cpumask_t"
/usr/include/linux/cpumask.h: In function `__cpu_test_and_set':
/usr/include/linux/cpumask.h:113: error: `cpu' undeclared (first use in this function)
/usr/include/linux/cpumask.h:113: error: `addr' undeclared (first use in this function)
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:117: error: parse error before '*...