From 8e2140b770152df7aa91e495f11a73308bfc6c13 Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Fri, 14 May 2010 09:42:53 -0700 Subject: Add 3 missing typedefs. Add processorid_t, pc_t, index_t. --- include/sys/processor.h | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 include/sys/processor.h (limited to 'include/sys/processor.h') 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 */ -- cgit v1.2.3