[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200610201457.5698b119@canb.auug.org.au>
Date: Wed, 10 Jun 2020 20:14:57 +1000
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: Linux Next Mailing List <linux-next@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Mike Rapoport <rppt@...ux.ibm.com>
Subject: Re: linux-next: build failure after merge of the akpm-current tree
Hi Andrew,
On Tue, 9 Jun 2020 21:01:37 -0700 Andrew Morton <akpm@...ux-foundation.org> wrote:
>
> I've sent this in as well:
>
> From: Andrew Morton <akpm@...ux-foundation.org>
> Subject: arch/sparc/mm/srmmu.c: fix build
>
> "mm: consolidate pte_index() and pte_offset_*() definitions" was supposed
> to remove arch/sparc/mm/srmmu.c:pte_offset_kernel().
>
> Fixes: 974b9b2c68f3d35 ("mm: consolidate pte_index() and pte_offset_*() definitions")
> Reported-by: kernel test robot <lkp@...el.com>
> Cc: Mike Rapoport <rppt@...ux.ibm.com>
> Cc: Johannes Weiner <hannes@...xchg.org>
> Signed-off-by: Andrew Morton <akpm@...ux-foundation.org>
> ---
>
> arch/sparc/mm/srmmu.c | 10 ----------
> 1 file changed, 10 deletions(-)
>
> --- a/arch/sparc/mm/srmmu.c~arch-sparc-mm-srmmuc-fix-build
> +++ a/arch/sparc/mm/srmmu.c
> @@ -140,16 +140,6 @@ void pmd_set(pmd_t *pmdp, pte_t *ptep)
> set_pte((pte_t *)&pmd_val(*pmdp), __pte(SRMMU_ET_PTD | ptp));
> }
>
> -/* Find an entry in the third-level page table.. */
> -pte_t *pte_offset_kernel(pmd_t *dir, unsigned long address)
> -{
> - void *pte;
> -
> - pte = __nocache_va((pmd_val(*dir) & SRMMU_PTD_PMASK) << 4);
> - return (pte_t *) pte +
> - ((address >> PAGE_SHIFT) & (PTRS_PER_PTE - 1));
> -}
> -
> /*
> * size: bytes to allocate in the nocache area.
> * align: bytes, number to align at.
> _
>
Thanks.
--
Cheers,
Stephen Rothwell
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists