[PATCH] x86 NUMA panic compile error

Andy Whitcroft
2006-05-15T14:08:29Z

Is this check now needed given we have the zone alignment patches in
this -mm also? I think we want to make it at least possible to
boot such a kernel on a 'flat' machine.

-apw

=== 8< ===
x86 NUMA panic compile error

Seem we have a syntax error rising from the the new panic added
to let people know NUMA didn't work on physically non-numa hardware.

Signed-off-by: Andy Whitcroft <apw@shadowen.org>
---
srat.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -upN reference/arch/i386/kernel/srat.c current/arch/i386/kernel/srat.c
--- reference/arch/i386/kernel/srat.c
+++ current/arch/i386/kernel/srat.c
@@ -269,7 +269,7 @@ int __init get_memcfg_from_srat(void)
extern int use_cyclone;
if (use_cyclone == 0) {
/* Make sure user sees something */
- static const char s[] __initdata = "Not an IBM x440/NUMAQ. Don't use i386 CONFIG_NUMA anywhere else."
+ static const char s[] __initdata = "Not an IBM x440/NUMAQ. Don't use i386 CONFIG_NUMA anywhere else.";
early_printk(s);
panic(s);
}