--- include/linux/mmu_notifier.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) Index: linux-2.6/include/linux/mmu_notifier.h =================================================================== --- linux-2.6.orig/include/linux/mmu_notifier.h 2008-01-31 19:25:36.000000000 -0800 +++ linux-2.6/include/linux/mmu_notifier.h 2008-01-31 19:28:34.000000000 -0800 @@ -129,13 +129,11 @@ struct mmu_rmap_notifier_ops { * RCU is used to traverse the list. A quiescent period needs to pass * before the notifier is guaranteed to be visible to all threads */ -extern void __mmu_notifier_register(struct mmu_notifier *mn, - struct mm_struct *mm); -/* Will acquire mmap_sem for write*/ extern void mmu_notifier_register(struct mmu_notifier *mn, struct mm_struct *mm); + struct mm_struct *mm); /* - * Will acquire mmap_sem for write. + * Must hold mmap_sem for write. * * A quiescent period needs to pass before the mmu_notifier structure * can be released. mmu_notifier_release() will wait for a quiescent period