diff options
author | Brian Behlendorf <[email protected]> | 2010-05-14 09:42:53 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2010-05-14 09:42:53 -0700 |
commit | 8e2140b770152df7aa91e495f11a73308bfc6c13 (patch) | |
tree | 4bf2d8eb2e02f0f71b88a344871d89dfa6525730 /include/sys/processor.h | |
parent | a76df2dc0fde313d1ecaab61d0dcd46c3cdd6151 (diff) |
Add 3 missing typedefs.
Add processorid_t, pc_t, index_t.
Diffstat (limited to 'include/sys/processor.h')
-rw-r--r-- | include/sys/processor.h | 8 |
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 */ |