diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2012-05-29 15:06:31 -0700 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2012-08-10 00:25:08 +0100 |
commit | 27c4b68bb5e9b5dd81ae5e156e4094643d127608 (patch) | |
tree | c07d88ba2c7e0b1d81b4b1004a75ea34e2054434 /mm/internal.h | |
parent | 2145a2c9d596f59f6dd32932c98f9a1025bbb3b8 (diff) |
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>
Diffstat (limited to 'mm/internal.h')
0 files changed, 0 insertions, 0 deletions