Page MenuHomeFreeBSD

linuxkpi: Add mmu_notifier.h
ClosedPublic

Authored by manu on Jun 23 2022, 8:22 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Nov 11, 8:37 PM
Unknown Object (File)
Mon, Nov 11, 8:36 PM
Unknown Object (File)
Fri, Nov 1, 3:50 AM
Unknown Object (File)
Oct 13 2024, 5:10 AM
Unknown Object (File)
Oct 5 2024, 7:42 AM
Unknown Object (File)
Sep 30 2024, 9:17 AM
Unknown Object (File)
Sep 22 2024, 10:30 PM
Unknown Object (File)
Sep 17 2024, 1:39 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.