mm/page_alloc.c: remove pageblock_default_order()
commit27c4b68bb5e9b5dd81ae5e156e4094643d127608
authorAndrew Morton <akpm@linux-foundation.org>
Tue, 29 May 2012 22:06:31 +0000 (29 15:06 -0700)
committerBen Hutchings <ben@decadent.org.uk>
Thu, 9 Aug 2012 23:25:08 +0000 (10 00:25 +0100)
treec07d88ba2c7e0b1d81b4b1004a75ea34e2054434
parent2145a2c9d596f59f6dd32932c98f9a1025bbb3b8
mm/page_alloc.c: remove pageblock_default_order()

commit 955c1cd7401565671b064e499115344ec8067dfd upstream.

This has always been broken: one version takes an unsigned int and the
other version takes no arguments.  This bug was hidden because one
version of set_pageblock_order() was a macro which doesn't evaluate its
argument.

Simplify it all and remove pageblock_default_order() altogether.

Reported-by: rajman mekaco <rajman.mekaco@gmail.com>
Cc: Mel Gorman <mel@csn.ul.ie>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: Tejun Heo <tj@kernel.org>
Cc: Minchan Kim <minchan.kim@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
mm/page_alloc.c