Re: MAX_IO_APICS #ifdef'd wrongly

From: Martin J. Bligh (mbligh@aracnet.com)
Date: Fri Jan 17 2003 - 19:52:28 EST


> I shot for the one liner that fixed the case I could test. Shoving it
> into subarch is cleaner, but needs more code movement and changes the
> prior semantics. The prior semantics were broken for larger Summit
> configurations, hmm. Maybe _all_ the array sizes should go into some
> kind of subarch analogue of param.h, e.g. mach_param.h

That sounds like the right thing to do longer-term ... let's change it
to the defn below for now, so people's trees work, then have a proper
think about to organise subarch to make this stuff work easily
(no doubt there's other gremlins there to be fixed at the same time).

M.

diff -urpN -X /home/fletch/.diff.exclude virgin/include/asm-i386/apicdef.h max_io_apics/include/asm-i386/apicdef.h
--- virgin/include/asm-i386/apicdef.h Fri Jan 17 09:18:31 2003
+++ max_io_apics/include/asm-i386/apicdef.h Fri Jan 17 16:49:41 2003
@@ -115,7 +115,7 @@
 
 #define APIC_BASE (fix_to_virt(FIX_APIC_BASE))
 
-#ifdef CONFIG_X86_NUMA
+#ifdef CONFIG_NUMA
  #define MAX_IO_APICS 32
 #else
  #define MAX_IO_APICS 8

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Jan 23 2003 - 22:00:17 EST