diff options
author | Christoph Hellwig <hch@lst.de> | 2019-08-28 10:21:09 -0400 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-08-28 10:52:35 -0400 |
commit | f0ade90a8aa1ea523eb366d1d1e8bd3463d9cf8a (patch) | |
tree | 09b23e5e308b433731b0a73fefa6516e1257dcd2 | |
parent | c18ce674d548c00faa6b7e760bacbaf1f39315f3 (diff) |
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.de
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
-rw-r--r-- | mm/mmu_notifier.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/mm/mmu_notifier.c b/mm/mmu_notifier.c index 3ebdc748b168..9e2125ae10a5 100644 --- a/mm/mmu_notifier.c +++ b/mm/mmu_notifier.c | |||
@@ -177,7 +177,6 @@ int __mmu_notifier_invalidate_range_start(struct mmu_notifier_range *range) | |||
177 | 177 | ||
178 | return ret; | 178 | return ret; |
179 | } | 179 | } |
180 | EXPORT_SYMBOL_GPL(__mmu_notifier_invalidate_range_start); | ||
181 | 180 | ||
182 | void __mmu_notifier_invalidate_range_end(struct mmu_notifier_range *range, | 181 | void __mmu_notifier_invalidate_range_end(struct mmu_notifier_range *range, |
183 | bool only_end) | 182 | bool only_end) |
@@ -209,7 +208,6 @@ void __mmu_notifier_invalidate_range_end(struct mmu_notifier_range *range, | |||
209 | } | 208 | } |
210 | srcu_read_unlock(&srcu, id); | 209 | srcu_read_unlock(&srcu, id); |
211 | } | 210 | } |
212 | EXPORT_SYMBOL_GPL(__mmu_notifier_invalidate_range_end); | ||
213 | 211 | ||
214 | void __mmu_notifier_invalidate_range(struct mm_struct *mm, | 212 | void __mmu_notifier_invalidate_range(struct mm_struct *mm, |
215 | unsigned long start, unsigned long end) | 213 | unsigned long start, unsigned long end) |
@@ -224,7 +222,6 @@ void __mmu_notifier_invalidate_range(struct mm_struct *mm, | |||
224 | } | 222 | } |
225 | srcu_read_unlock(&srcu, id); | 223 | srcu_read_unlock(&srcu, id); |
226 | } | 224 | } |
227 | EXPORT_SYMBOL_GPL(__mmu_notifier_invalidate_range); | ||
228 | 225 | ||
229 | /* | 226 | /* |
230 | * Same as mmu_notifier_register but here the caller must hold the | 227 | * Same as mmu_notifier_register but here the caller must hold the |