The header that is used is still spinlock.h. The lock.h is included by spinlock.h. Currently, if you include lock.h directly, you will get a compile time error.
This may change in the future when we actually start pushing it towards mainline. But as it stands, spinlock.h should still be used.
Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds