Split the kernel / userland interface with propert _KERNEL stub.
This should have been always there, but an userland brekage for the recent lockmgr modifies showed it.
This commit is contained in:
parent
2bbc151215
commit
ebfccf6289
@ -68,6 +68,9 @@ struct lock {
|
||||
};
|
||||
|
||||
#define lk_wmesg lk_object.lo_name
|
||||
|
||||
#ifdef _KERNEL
|
||||
|
||||
/*
|
||||
* Lock request types:
|
||||
* LK_SHARED - get one of many possible shared locks. If a process
|
||||
@ -232,4 +235,6 @@ int lockstatus(struct lock *);
|
||||
int lockmgr_chain(struct thread *td, struct thread **ownerp);
|
||||
#endif
|
||||
|
||||
#endif /* _KERNEL */
|
||||
|
||||
#endif /* !_SYS_LOCKMGR_H_ */
|
||||
|
Loading…
x
Reference in New Issue
Block a user