search for: b3ca881c903b

Displaying 1 result from an estimated 1 matches for "b3ca881c903b".

2006 Apr 19
0
[patch] define and use cpu_test_and_clear() and some type checking fixes
This patch defines a test_and_clear bitop for cpumask_t pointers. Also fixes "wrong pointer type" for type specific bitops by using &foo [0] instead of &foo. NOTE: hard 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...