mm: allow pgtable_page_ctor() to fail
authorKirill A. Shutemov <kirill.shutemov@linux.intel.com>
Thu, 14 Nov 2013 22:31:20 +0000 (14:31 -0800)
committerIshan Mittal <imittal@nvidia.com>
Wed, 30 Apr 2014 12:44:52 +0000 (17:44 +0530)
commitfec267fcf544e4d363be62305525ee30a6c1eb74
tree6cbf901ef605f79f8dc8f13df21fa73c29bbe1e7
parent12eb126f0604cd721ba45df91fc181a8d72fe598
mm: allow pgtable_page_ctor() to fail

Change pgtable_page_ctor() return type from void to bool.  Returns true,
if initialization is successful and false otherwise.

Current implementation never fails, but it will change later.
(cherry picked from commit 390f44e2aa2ab83f08231d7d05f066dc3494490e)

Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/mm.h