diff options
author | Dominik Dingel <dingel@linux.vnet.ibm.com> | 2014-03-19 05:18:49 -0400 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2014-03-21 04:57:58 -0400 |
commit | aaeff84a2dfa224611fc9fee89cb20277469c454 (patch) | |
tree | f4847e2dd0318fe8ce8c9f017c0d7fad619fab4a | |
parent | c7c5be73ccc05da9899b313b9fa0042aae56502f (diff) |
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>
-rw-r--r-- | arch/s390/include/asm/pgtable.h | 4 | ||||
-rw-r--r-- | arch/s390/mm/pgtable.c | 3 |
2 files changed, 3 insertions, 4 deletions
diff --git a/arch/s390/include/asm/pgtable.h b/arch/s390/include/asm/pgtable.h index a7dd672c97f8..9602154401d2 100644 --- a/arch/s390/include/asm/pgtable.h +++ b/arch/s390/include/asm/pgtable.h | |||
@@ -841,7 +841,7 @@ void __gmap_zap(unsigned long address, struct gmap *); | |||
841 | void gmap_register_ipte_notifier(struct gmap_notifier *); | 841 | void gmap_register_ipte_notifier(struct gmap_notifier *); |
842 | void gmap_unregister_ipte_notifier(struct gmap_notifier *); | 842 | void gmap_unregister_ipte_notifier(struct gmap_notifier *); |
843 | int gmap_ipte_notify(struct gmap *, unsigned long start, unsigned long len); | 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 | static inline pgste_t pgste_ipte_notify(struct mm_struct *mm, | 846 | static inline pgste_t pgste_ipte_notify(struct mm_struct *mm, |
847 | unsigned long addr, | 847 | unsigned long addr, |
@@ -850,7 +850,7 @@ static inline pgste_t pgste_ipte_notify(struct mm_struct *mm, | |||
850 | #ifdef CONFIG_PGSTE | 850 | #ifdef CONFIG_PGSTE |
851 | if (pgste_val(pgste) & PGSTE_IN_BIT) { | 851 | if (pgste_val(pgste) & PGSTE_IN_BIT) { |
852 | pgste_val(pgste) &= ~PGSTE_IN_BIT; | 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 | #endif | 855 | #endif |
856 | return pgste; | 856 | return pgste; |
diff --git a/arch/s390/mm/pgtable.c b/arch/s390/mm/pgtable.c index 27a1b931f17d..796c9320c709 100644 --- a/arch/s390/mm/pgtable.c +++ b/arch/s390/mm/pgtable.c | |||
@@ -802,13 +802,12 @@ EXPORT_SYMBOL_GPL(gmap_ipte_notify); | |||
802 | /** | 802 | /** |
803 | * gmap_do_ipte_notify - call all invalidation callbacks for a specific pte. | 803 | * gmap_do_ipte_notify - call all invalidation callbacks for a specific pte. |
804 | * @mm: pointer to the process mm_struct | 804 | * @mm: pointer to the process mm_struct |
805 | * @addr: virtual address in the process address space | ||
806 | * @pte: pointer to the page table entry | 805 | * @pte: pointer to the page table entry |
807 | * | 806 | * |
808 | * This function is assumed to be called with the page table lock held | 807 | * This function is assumed to be called with the page table lock held |
809 | * for the pte to notify. | 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 | unsigned long segment_offset; | 812 | unsigned long segment_offset; |
814 | struct gmap_notifier *nb; | 813 | struct gmap_notifier *nb; |