Add 3 missing typedefs.
Add processorid_t, pc_t, index_t.
This commit is contained in:
parent
a76df2dc0f
commit
8e2140b770
|
@ -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 */
|
|
@ -3,4 +3,6 @@
|
|||
|
||||
#include <sys/sunddi.h>
|
||||
|
||||
typedef uintptr_t pc_t;
|
||||
|
||||
#endif /* SPL_SYSTM_H */
|
||||
|
|
|
@ -57,5 +57,6 @@ typedef uint_t minor_t;
|
|||
typedef ulong_t pfn_t;
|
||||
typedef ulong_t pgcnt_t;
|
||||
typedef long spgcnt_t;
|
||||
typedef short index_t;
|
||||
|
||||
#endif /* _SPL_TYPES_H */
|
||||
|
|
Loading…
Reference in New Issue