mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-25 18:59:33 +03:00
Add 3 missing typedefs.
Add processorid_t, pc_t, index_t.
This commit is contained in:
parent
a76df2dc0f
commit
8e2140b770
8
include/sys/processor.h
Normal file
8
include/sys/processor.h
Normal file
@ -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
Block a user