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, Sep 17, 1:39 PM
Unknown Object (File)
Sun, Sep 15, 8:36 PM
Unknown Object (File)
Thu, Sep 5, 9:51 AM
Unknown Object (File)
Wed, Sep 4, 7:24 AM
Unknown Object (File)
Mon, Sep 2, 6:10 AM
Unknown Object (File)
Mon, Sep 2, 6:10 AM
Unknown Object (File)
Mon, Sep 2, 6:10 AM
Unknown Object (File)
Mon, Sep 2, 5:58 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.