Page MenuHomeFreeBSD

LinuxKPI: add lockdep_map
ClosedPublic

Authored by bz on Mar 23 2021, 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
rG 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.Mar 23 2021, 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.Mar 23 2021, 7:41 PM

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

This revision now requires review to proceed.Mar 24 2021, 7:08 PM
bz marked an inline comment as done.Mar 24 2021, 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.Mar 24 2021, 7:09 PM
This revision was automatically updated to reflect the committed changes.