Commit aaeff84a authored by Dominik Dingel's avatar Dominik Dingel Committed by Martin Schwidefsky

s390/mm: remove unnecessary parameter from gmap_do_ipte_notify

Signed-off-by: default avatarDominik Dingel <dingel@linux.vnet.ibm.com>
Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
parent c7c5be73
...@@ -841,7 +841,7 @@ void __gmap_zap(unsigned long address, struct gmap *); ...@@ -841,7 +841,7 @@ void __gmap_zap(unsigned long address, struct gmap *);
void gmap_register_ipte_notifier(struct gmap_notifier *); void gmap_register_ipte_notifier(struct gmap_notifier *);
void gmap_unregister_ipte_notifier(struct gmap_notifier *); void gmap_unregister_ipte_notifier(struct gmap_notifier *);
int gmap_ipte_notify(struct gmap *, unsigned long start, unsigned long len); int gmap_ipte_notify(struct gmap *, unsigned long start, unsigned long len);
void gmap_do_ipte_notify(struct mm_struct *, unsigned long addr, pte_t *); void gmap_do_ipte_notify(struct mm_struct *, pte_t *);
static inline pgste_t pgste_ipte_notify(struct mm_struct *mm, static inline pgste_t pgste_ipte_notify(struct mm_struct *mm,
unsigned long addr, unsigned long addr,
...@@ -850,7 +850,7 @@ static inline pgste_t pgste_ipte_notify(struct mm_struct *mm, ...@@ -850,7 +850,7 @@ static inline pgste_t pgste_ipte_notify(struct mm_struct *mm,
#ifdef CONFIG_PGSTE #ifdef CONFIG_PGSTE
if (pgste_val(pgste) & PGSTE_IN_BIT) { if (pgste_val(pgste) & PGSTE_IN_BIT) {
pgste_val(pgste) &= ~PGSTE_IN_BIT; pgste_val(pgste) &= ~PGSTE_IN_BIT;
gmap_do_ipte_notify(mm, addr, ptep); gmap_do_ipte_notify(mm, ptep);
} }
#endif #endif
return pgste; return pgste;
......
...@@ -802,13 +802,12 @@ EXPORT_SYMBOL_GPL(gmap_ipte_notify); ...@@ -802,13 +802,12 @@ EXPORT_SYMBOL_GPL(gmap_ipte_notify);
/** /**
* gmap_do_ipte_notify - call all invalidation callbacks for a specific pte. * gmap_do_ipte_notify - call all invalidation callbacks for a specific pte.
* @mm: pointer to the process mm_struct * @mm: pointer to the process mm_struct
* @addr: virtual address in the process address space
* @pte: pointer to the page table entry * @pte: pointer to the page table entry
* *
* This function is assumed to be called with the page table lock held * This function is assumed to be called with the page table lock held
* for the pte to notify. * for the pte to notify.
*/ */
void gmap_do_ipte_notify(struct mm_struct *mm, unsigned long addr, pte_t *pte) void gmap_do_ipte_notify(struct mm_struct *mm, pte_t *pte)
{ {
unsigned long segment_offset; unsigned long segment_offset;
struct gmap_notifier *nb; struct gmap_notifier *nb;
......
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