[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1419430091.11699.0.camel@t520.localdomain>
Date: Wed, 24 Dec 2014 09:08:11 -0500
From: Mark Salter <msalter@...hat.com>
To: "Kirill A. Shutemov" <kirill.shutemov@...ux.intel.com>
Cc: akpm@...ux-foundation.org, peterz@...radead.org, mingo@...nel.org,
davej@...hat.com, sasha.levin@...cle.com, hughd@...gle.com,
linux-mm@...ck.org, linux-arch@...r.kernel.org,
linux-kernel@...r.kernel.org, Aurelien Jacquiot <a-jacquiot@...com>
Subject: Re: [PATCH 15/38] c6x: drop pte_file()
On Wed, 2014-12-24 at 14:22 +0200, Kirill A. Shutemov wrote:
> We've replaced remap_file_pages(2) implementation with emulation.
> Nobody creates non-linear mapping anymore.
>
> Signed-off-by: Kirill A. Shutemov <kirill.shutemov@...ux.intel.com>
> Cc: Mark Salter <msalter@...hat.com>
> Cc: Aurelien Jacquiot <a-jacquiot@...com>
> ---
> arch/c6x/include/asm/pgtable.h | 5 -----
> 1 file changed, 5 deletions(-)
>
Acked-by: Mark Salter <msalter@...hat.com>
> diff --git a/arch/c6x/include/asm/pgtable.h b/arch/c6x/include/asm/pgtable.h
> index c0eed5b18860..78d4483ba40c 100644
> --- a/arch/c6x/include/asm/pgtable.h
> +++ b/arch/c6x/include/asm/pgtable.h
> @@ -50,11 +50,6 @@ extern void paging_init(void);
> #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) })
> #define __swp_entry_to_pte(x) ((pte_t) { (x).val })
>
> -static inline int pte_file(pte_t pte)
> -{
> - return 0;
> -}
> -
> #define set_pte(pteptr, pteval) (*(pteptr) = pteval)
> #define set_pte_at(mm, addr, ptep, pteval) set_pte(ptep, pteval)
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists