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:
attilio 2008-03-01 22:14:45 +00:00
parent 2bbc151215
commit ebfccf6289

View File

@ -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_ */