MFC r360529: Implement more lockdep macros in the LinuxKPI.
Submitted by: ashafer_badland.io (Austin Shafer) Sponsored by: Mellanox Technologies