summaryrefslogtreecommitdiffstats
path: root/include/sys/processor.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sys/processor.h')
-rw-r--r--include/sys/processor.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/sys/processor.h b/include/sys/processor.h
new file mode 100644
index 000000000..65285868a
--- /dev/null
+++ b/include/sys/processor.h
@@ -0,0 +1,8 @@
+#ifndef _SPL_PROCESSOR_H
+#define _SPL_PROCESSOR_H
+
+#define getcpuid() smp_processor_id()
+
+typedef int processorid_t;
+
+#endif /* _SPL_PROCESSOR_H */