Page MenuHomeFreeBSD

linuxkpi: Add mmu_notifier.h
ClosedPublic

Authored by manu on Jun 23 2022, 8:22 AM.
Tags
None
Referenced Files
F166502886: D35567.id107280.diff
Thu, Aug 13, 8:49 PM
F166466154: D35567.id107529.diff
Thu, Aug 13, 5:59 PM
Unknown Object (File)
Wed, Aug 12, 3:53 PM
Unknown Object (File)
Wed, Aug 12, 6:40 AM
Unknown Object (File)
Tue, Aug 11, 4:02 PM
Unknown Object (File)
Mon, Aug 10, 6:05 PM
Unknown Object (File)
Sun, Aug 9, 2:50 PM
Unknown Object (File)
Sat, Aug 8, 9:26 PM

Details

Summary

Provide dummy structure needed for drm-kmod.

MFC after: 1 week
Sponsored by: Beckhoff Automation GmbH & Co. KG

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

manu requested review of this revision.Jun 23 2022, 8:22 AM
manu added a parent revision: D35566: linuxkpi: Add mmu_context.h.
bz added inline comments.
sys/compat/linuxkpi/common/include/linux/mmu_notifier.h
33

I seem to remember that empty structs cause dtrace to warn or something; @markj do you remember what it was? do we need a dummy field?

sys/compat/linuxkpi/common/include/linux/mmu_notifier.h
33

It was a problem with arrays of empty structs, and fixed by commit 963f5dc7a30624e95d72fb7f87b8892651164e46 . So this should be fine as it is.

sys/compat/linuxkpi/common/include/linux/mmu_notifier.h
33

Thanks for the info.

This revision was not accepted when it landed; it landed in state Needs Review.Jun 29 2022, 7:58 AM
This revision was automatically updated to reflect the committed changes.