projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3bbf7f4
)
cpumask: resurrect CPU_MASK_CPU0
author
Rusty Russell
<rusty@rustcorp.com.au>
Thu, 16 Apr 2015 03:03:51 +0000
(12:33 +0930)
committer
Rusty Russell
<rusty@rustcorp.com.au>
Thu, 16 Apr 2015 03:03:51 +0000
(12:33 +0930)
We removed it in
2f0f267ea072
(cpumask: remove deprecated functions.),
but grep shows it still used by MIPS, and not unreasonably.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
include/linux/cpumask.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/cpumask.h
b/include/linux/cpumask.h
index 89558d0b56acbdfe67b7c3fd66189feeb819f779..27e285b92b5f748b8ffe9a8e599c8850f0346007 100644
(file)
--- a/
include/linux/cpumask.h
+++ b/
include/linux/cpumask.h
@@
-814,4
+814,9
@@
cpumap_print_to_pagebuf(bool list, char *buf, const struct cpumask *mask)
[0 ... BITS_TO_LONGS(NR_CPUS)-1] = 0UL \
} }
+#define CPU_MASK_CPU0 \
+(cpumask_t) { { \
+ [0] = 1UL \
+} }
+
#endif /* __LINUX_CPUMASK_H */