> Move definition of struct mmu_notifier and struct mmu_notifier_ops under > CONFIG_MMU_NOTIFIER to ensure they doesn't get dereferenced when they > don't make sense.
The callbacks take a mmu_notifier parameter. So how does this compile for !MMU_NOTIFIER?