]> Pileus Git - ~andy/linux/commitdiff
Move missplaced code line to the right place.
authorRalf Baechle <ralf@linux-mips.org>
Sun, 6 Feb 2005 21:55:49 +0000 (21:55 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Sat, 29 Oct 2005 18:30:26 +0000 (19:30 +0100)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/mm/c-r4k.c
arch/mips/sgi-ip27/Kconfig [new file with mode: 0644]

index 1466c497beab3c339d87bc487213c13a596f9923..726e899486a37246c3a16bdf485d7d2f8b4bdbd8 100644 (file)
@@ -1012,15 +1012,14 @@ static void __init probe_pcache(void)
         * with that for us so we don't need to take care ourselves.
         */
        switch (c->cputype) {
-               if (c->dcache.waysize > PAGE_SIZE)
-
        case CPU_R10000:
        case CPU_R12000:
                break;
        case CPU_24K:
                if (!(read_c0_config7() & (1 << 16)))
        default:
-                       c->dcache.flags |= MIPS_CACHE_ALIASES;
+                       if (c->dcache.waysize > PAGE_SIZE)
+                               c->dcache.flags |= MIPS_CACHE_ALIASES;
        }
 
        switch (c->cputype) {
diff --git a/arch/mips/sgi-ip27/Kconfig b/arch/mips/sgi-ip27/Kconfig
new file mode 100644 (file)
index 0000000..7b0bc44
--- /dev/null
@@ -0,0 +1,54 @@
+#config SGI_SN0_XXL
+#      bool "IP27 XXL"
+#      depends on SGI_IP27
+#        This options adds support for userspace processes upto 16TB size.
+#        Normally the limit is just .5TB.
+
+config SGI_SN0_N_MODE
+       bool "IP27 N-Mode"
+       depends on SGI_IP27
+       help
+         The nodes of Origin 200, Origin 2000 and Onyx 2 systems can be
+         configured in either N-Modes which allows for more nodes or M-Mode
+         which allows for more memory.  Your system is most probably
+         running in M-Mode, so you should say N here.
+
+config ARCH_DISCONTIGMEM_ENABLE
+       bool
+       default y if SGI_IP27
+       help
+         Say Y to upport efficient handling of discontiguous physical memory,
+         for architectures which are either NUMA (Non-Uniform Memory Access)
+         or have huge holes in the physical address space for other reasons.
+         See <file:Documentation/vm/numa> for more.
+
+config NUMA
+       bool "NUMA Support"
+       depends on SGI_IP27
+       help
+         Say Y to compile the kernel to support NUMA (Non-Uniform Memory
+         Access).  This option is for configuring high-end multiprocessor
+         server machines.  If in doubt, say N.
+
+config MAPPED_KERNEL
+       bool "Mapped kernel support"
+       depends on SGI_IP27
+       help
+         Change the way a Linux kernel is loaded into memory on a MIPS64
+         machine.  This is required in order to support text replication and
+         NUMA.  If you need to understand it, read the source code.
+
+config REPLICATE_KTEXT
+       bool "Kernel text replication support"
+       depends on SGI_IP27
+       help
+         Say Y here to enable replicating the kernel text across multiple
+         nodes in a NUMA cluster.  This trades memory for speed.
+
+config REPLICATE_EXHANDLERS
+       bool "Exception handler replication support"
+       depends on SGI_IP27
+       help
+         Say Y here to enable replicating the kernel exception handlers
+         across multiple nodes in a NUMA cluster. This trades memory for
+         speed.