From: Bernhard Walle Date: Sat, 21 Jun 2008 17:01:02 +0000 (+0200) Subject: Add return value to reserve_bootmem_node() X-Git-Tag: v2.6.26-rc8~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=71c2742f5e6348d76ee62085cf0a13e5eff0f00e;p=pandora-kernel.git 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 Reported-by: Adrian Bunk Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed