Commit f0ade90a authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Jason Gunthorpe

mm/mmu_notifiers: remove the __mmu_notifier_invalidate_range_start/end exports

No modular code uses these, which makes a lot of sense given the wrappers
around them are only called by core mm code.

Link: https://lore.kernel.org/r/20190828142109.29012-1-hch@lst.deSigned-off-by: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarJason Gunthorpe <jgg@mellanox.com>
Signed-off-by: default avatarJason Gunthorpe <jgg@mellanox.com>
parent c18ce674
...@@ -177,7 +177,6 @@ int __mmu_notifier_invalidate_range_start(struct mmu_notifier_range *range) ...@@ -177,7 +177,6 @@ int __mmu_notifier_invalidate_range_start(struct mmu_notifier_range *range)
return ret; return ret;
} }
EXPORT_SYMBOL_GPL(__mmu_notifier_invalidate_range_start);
void __mmu_notifier_invalidate_range_end(struct mmu_notifier_range *range, void __mmu_notifier_invalidate_range_end(struct mmu_notifier_range *range,
bool only_end) bool only_end)
...@@ -209,7 +208,6 @@ void __mmu_notifier_invalidate_range_end(struct mmu_notifier_range *range, ...@@ -209,7 +208,6 @@ void __mmu_notifier_invalidate_range_end(struct mmu_notifier_range *range,
} }
srcu_read_unlock(&srcu, id); srcu_read_unlock(&srcu, id);
} }
EXPORT_SYMBOL_GPL(__mmu_notifier_invalidate_range_end);
void __mmu_notifier_invalidate_range(struct mm_struct *mm, void __mmu_notifier_invalidate_range(struct mm_struct *mm,
unsigned long start, unsigned long end) unsigned long start, unsigned long end)
...@@ -224,7 +222,6 @@ void __mmu_notifier_invalidate_range(struct mm_struct *mm, ...@@ -224,7 +222,6 @@ void __mmu_notifier_invalidate_range(struct mm_struct *mm,
} }
srcu_read_unlock(&srcu, id); srcu_read_unlock(&srcu, id);
} }
EXPORT_SYMBOL_GPL(__mmu_notifier_invalidate_range);
/* /*
* Same as mmu_notifier_register but here the caller must hold the * Same as mmu_notifier_register but here the caller must hold the
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment