Skip to content

Commit

Permalink
Move missplaced code line to the right place.
Browse files Browse the repository at this point in the history
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
Ralf Baechle committed Oct 29, 2005
1 parent 0efe276 commit ae6aafe
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 3 deletions.
5 changes: 2 additions & 3 deletions arch/mips/mm/c-r4k.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
54 changes: 54 additions & 0 deletions arch/mips/sgi-ip27/Kconfig
Original file line number Diff line number Diff line change
@@ -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.

0 comments on commit ae6aafe

Please sign in to comment.