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)
Mar 20 2024, 11:57 AM
Unknown Object (File)
Mar 19 2024, 3:05 AM
Unknown Object (File)
Mar 19 2024, 3:05 AM
Unknown Object (File)
Mar 19 2024, 3:02 AM
Unknown Object (File)
Jan 14 2024, 10:02 AM
Unknown Object (File)
Dec 23 2023, 10:28 AM
Unknown Object (File)
Mar 5 2023, 5:45 PM
Unknown Object (File)
Feb 17 2023, 3:06 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.