summaryrefslogtreecommitdiffstats
path: root/runtime/runtime.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/runtime.h')
-rw-r--r--runtime/runtime.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/runtime.h b/runtime/runtime.h
index fe176ab0..7a614163 100644
--- a/runtime/runtime.h
+++ b/runtime/runtime.h
@@ -31,6 +31,10 @@
#include <linux/kallsyms.h>
#include <linux/version.h>
+#ifndef for_each_cpu
+#define for_each_cpu(cpu) for_each_cpu_mask((cpu), cpu_possible_map)
+#endif
+
#ifdef DEBUG
/** Prints debug line.
* This function prints a debug message immediately to stpd.