Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

s390/mm: remove unnecessary parameter from gmap_do_ipte_notify

Signed-off-by: Dominik Dingel <dingel@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>

authored by

Dominik Dingel and committed by
Martin Schwidefsky
aaeff84a c7c5be73

+3 -4
+2 -2
arch/s390/include/asm/pgtable.h
··· 841 841 void gmap_register_ipte_notifier(struct gmap_notifier *); 842 842 void gmap_unregister_ipte_notifier(struct gmap_notifier *); 843 843 int gmap_ipte_notify(struct gmap *, unsigned long start, unsigned long len); 844 - void gmap_do_ipte_notify(struct mm_struct *, unsigned long addr, pte_t *); 844 + void gmap_do_ipte_notify(struct mm_struct *, pte_t *); 845 845 846 846 static inline pgste_t pgste_ipte_notify(struct mm_struct *mm, 847 847 unsigned long addr, ··· 850 850 #ifdef CONFIG_PGSTE 851 851 if (pgste_val(pgste) & PGSTE_IN_BIT) { 852 852 pgste_val(pgste) &= ~PGSTE_IN_BIT; 853 - gmap_do_ipte_notify(mm, addr, ptep); 853 + gmap_do_ipte_notify(mm, ptep); 854 854 } 855 855 #endif 856 856 return pgste;
+1 -2
arch/s390/mm/pgtable.c
··· 802 802 /** 803 803 * gmap_do_ipte_notify - call all invalidation callbacks for a specific pte. 804 804 * @mm: pointer to the process mm_struct 805 - * @addr: virtual address in the process address space 806 805 * @pte: pointer to the page table entry 807 806 * 808 807 * This function is assumed to be called with the page table lock held 809 808 * for the pte to notify. 810 809 */ 811 - void gmap_do_ipte_notify(struct mm_struct *mm, unsigned long addr, pte_t *pte) 810 + void gmap_do_ipte_notify(struct mm_struct *mm, pte_t *pte) 812 811 { 813 812 unsigned long segment_offset; 814 813 struct gmap_notifier *nb;