summaryrefslogtreecommitdiffstats
path: root/mm/bootmem.c
diff options
context:
space:
mode:
authorAndrew Morton2012-05-30 00:06:31 +0200
committerLinus Torvalds2012-05-30 01:22:21 +0200
commit955c1cd7401565671b064e499115344ec8067dfd (patch)
treeeee1370c654ac7d17403ca82a751e64a6ee041d9 /mm/bootmem.c
parentmm: move is_vma_temporary_stack() declaration to huge_mm.h (diff)
downloadkernel-qcow2-linux-955c1cd7401565671b064e499115344ec8067dfd.tar.gz
kernel-qcow2-linux-955c1cd7401565671b064e499115344ec8067dfd.tar.xz
kernel-qcow2-linux-955c1cd7401565671b064e499115344ec8067dfd.zip
mm/page_alloc.c: remove pageblock_default_order()
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>
Diffstat (limited to 'mm/bootmem.c')
0 files changed, 0 insertions, 0 deletions