Page MenuHomeFreeBSD

LinuxKPI: add lockdep_map
ClosedPublic

Authored by bz on Tue, Mar 23, 5:03 PM.

Details

Summary

Add stubs for struct lockdep_map and three accessor functions
used by iwlwifi.

Obtained-from: bz_iwlwifi
Sponsored-by: The FreeBSD Foundation
MFC-after: 2 weeks
Reviewed-by: ...

Differential Revision:

Diff Detail

Repository
R10 FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

bz requested review of this revision.Tue, Mar 23, 5:03 PM
sys/compat/linuxkpi/common/include/linux/lockdep.h
36–37

_ probably sorts before d

sys/compat/linuxkpi/common/include/linux/lockdep.h
36–37

I can change that.
I assume the final order will one day depend on whether the structs are interdependent but we'll hopefully never have to find out.

This revision is now accepted and ready to land.Tue, Mar 23, 7:41 PM

Re-sort struct stubs alphabetically as suggested by @emaste .

This revision now requires review to proceed.Wed, Mar 24, 7:08 PM
bz marked an inline comment as done.Wed, Mar 24, 7:08 PM
emaste added inline comments.
sys/compat/linuxkpi/common/include/linux/lockdep.h
36–37

Yes, indeed.

This revision is now accepted and ready to land.Wed, Mar 24, 7:09 PM
This revision was automatically updated to reflect the committed changes.