Move missplaced code line to the right place.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
0efe27617e
commit
ae6aafe309
2 changed files with 56 additions and 3 deletions
|
@ -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) {
|
||||
|
|
54
arch/mips/sgi-ip27/Kconfig
Normal file
54
arch/mips/sgi-ip27/Kconfig
Normal file
|
@ -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.
|
Loading…
Reference in a new issue