From mboxrd@z Thu Jan 1 00:00:00 1970 From: arnd@arndb.de (Arnd Bergmann) Date: Thu, 19 Nov 2015 12:25:45 +0100 Subject: [PATCH] include: asm-generic: page.h: Remove useless get_user_page and free_user_page In-Reply-To: References: Message-ID: <5663971.11WtULN11Y@wuerfel> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Thursday 19 November 2015 03:40:25 Chen Gang wrote: > diff --git a/include/asm-generic/page.h b/include/asm-generic/page.h > index 37d1fe2..67cfb7d 100644 > --- a/include/asm-generic/page.h > +++ b/include/asm-generic/page.h > @@ -24,9 +24,6 @@ > > #ifndef __ASSEMBLY__ > > -#define get_user_page(vaddr) __get_free_page(GFP_KERNEL) > -#define free_user_page(page, addr) free_page(addr) > - > #define clear_page(page) memset((page), 0, PAGE_SIZE) > #define copy_page(to,from) memcpy((to), (from), PAGE_SIZE) > > Looks good. I can take the asm-generic portion when you split it up, and I can also help you merge the remaining patches in case some of the arch maintainers fail to pick them up. I think all five of them are actively maintained though, so the patches should just go through the respective architecture trees. Arnd