]> git.baikalelectronics.ru Git - kernel.git/commit
mm: bootmem: pass pgdat instead of pgdat->bdata down the stack
authorJohannes Weiner <hannes@cmpxchg.org>
Tue, 29 May 2012 22:06:36 +0000 (15:06 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 29 May 2012 23:22:22 +0000 (16:22 -0700)
commit63805076be11518dc5ae49d7b1d4acec898d8828
tree9151744d050e93bddcacc3a46c37dfb198fefbb3
parent480dab62a1145ddf2f5c547686cdbb4d222e917d
mm: bootmem: pass pgdat instead of pgdat->bdata down the stack

Pass down the node descriptor instead of the more specific bootmem node
descriptor down the call stack, like nobootmem does, when there is no good
reason for the two to be different.

Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Acked-by: Tejun Heo <tj@kernel.org>
Acked-by: David S. Miller <davem@davemloft.net>
Cc: Yinghai Lu <yinghai@kernel.org>
Cc: Gavin Shan <shangw@linux.vnet.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/bootmem.c