]> err.no Git - linux-2.6/commit
Add return value to reserve_bootmem_node()
authorBernhard Walle <bwalle@suse.de>
Sat, 21 Jun 2008 17:01:02 +0000 (19:01 +0200)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 21 Jun 2008 18:25:10 +0000 (11:25 -0700)
commit71c2742f5e6348d76ee62085cf0a13e5eff0f00e
tree44020f575319903e3ef18665baec360b6ea1c98d
parenta19214430d27a3af6f1672ec26f3c893ef899ede
Add return value to reserve_bootmem_node()

This patch changes the function reserve_bootmem_node() from void to int,
returning -ENOMEM if the allocation fails.

This fixes a build problem on x86 with CONFIG_KEXEC=y and
CONFIG_NEED_MULTIPLE_NODES=y

Signed-off-by: Bernhard Walle <bwalle@suse.de>
Reported-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/bootmem.h
mm/bootmem.c