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)
Tue, May 20, 10:01 PM
Unknown Object (File)
Thu, May 15, 4:14 PM
Unknown Object (File)
Wed, May 14, 9:28 PM
Unknown Object (File)
Fri, May 9, 3:22 AM
Unknown Object (File)
Mar 31 2025, 5:01 AM
Unknown Object (File)
Mar 22 2025, 10:00 PM
Unknown Object (File)
Feb 22 2025, 4:24 AM
Unknown Object (File)
Feb 20 2025, 5:59 AM

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.