OSDN Git Service

powerpc32: Remove clear_pages() and define clear_page() inline
authorChristophe Leroy <christophe.leroy@c-s.fr>
Tue, 9 Feb 2016 16:08:25 +0000 (17:08 +0100)
committerScott Wood <oss@buserror.net>
Fri, 11 Mar 2016 23:20:11 +0000 (17:20 -0600)
commit5736f96d12dd4204d3aac43bf7b512ab434b904f
tree396af6f695328a3ab83feecb6b424c8c09616aa3
parentd6bfa02fccf58b957f457c1bd0bb71f6ab169a0b
powerpc32: Remove clear_pages() and define clear_page() inline

clear_pages() is never used expect by clear_page, and PPC32 is the
only architecture (still) having this function. Neither PPC64 nor
any other architecture has it.

This patch removes clear_pages() and moves clear_page() function
inline (same as PPC64) as it only is a few isns

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Scott Wood <oss@buserror.net>
arch/powerpc/include/asm/page_32.h
arch/powerpc/kernel/misc_32.S
arch/powerpc/kernel/ppc_ksyms_32.c