[PATCH] i386: srat on non-acpi hw fix
commit5d35704028d09a183448daceab5dcb94f21a3645
authorMagnus Damm <magnus@valinux.co.jp>
Sun, 30 Oct 2005 22:59:48 +0000 (30 14:59 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 31 Oct 2005 01:37:13 +0000 (30 17:37 -0800)
tree2b1b4416c162c458a26d601412d09a7ed9c21b84
parent6c180d94abdcfb77a2fe4275bd03687fa159acd7
[PATCH] i386: srat on non-acpi hw fix

This patch adds a check for the return value of acpi_find_root_pointer().
Without this patch systems without ACPI support such as QEMU crashes when
booting a NUMA kernel with CONFIG_ACPI_SRAT=y.

Signed-off-by: Magnus Damm <magnus@valinux.co.jp>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/kernel/srat.c