Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ALPHA: misc fixes

1. arch/alpha/Kconfig

several adjustments:
a) additions to the systems list and cleanup of same
b) change limits of NR_CPUS and make dep. on platform

Note that MARVEL support is limited to 32 CPUs whan using
42-bit KSEG - one needs 48-bit KSEG to handle up to 64, and
we've never supported 48-bit KSEG.

2. include/asm-alpha/core_wildfire.h

fix a typo that undoubtedly prevents WILDFIRE support
from working

Signed-off-by: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Cc: Richard Henderson <rth@twiddle.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Jay Estabrook and committed by
Linus Torvalds
d7083174 5ae0b6c7

+15 -13
+14 -12
arch/alpha/Kconfig
··· 83 83 check out the Linux/Alpha FAQ, accessible on the WWW from 84 84 <http://www.alphalinux.org/>. In summary: 85 85 86 - Alcor/Alpha-XLT AS 600 86 + Alcor/Alpha-XLT AS 600, AS 500, XL-300, XL-366 87 87 Alpha-XL XL-233, XL-266 88 88 AlphaBook1 Alpha laptop 89 89 Avanti AS 200, AS 205, AS 250, AS 255, AS 300, AS 400 90 90 Cabriolet AlphaPC64, AlphaPCI64 91 - DP264 DP264 91 + DP264 DP264 / DS20 / ES40 / DS10 / DS10L 92 92 EB164 EB164 21164 evaluation board 93 93 EB64+ EB64+ 21064 evaluation board 94 94 EB66 EB66 21066 evaluation board 95 95 EB66+ EB66+ 21066 evaluation board 96 - Jensen DECpc 150, DEC 2000 model 300, 97 - DEC 2000 model 500 96 + Jensen DECpc 150, DEC 2000 models 300, 500 98 97 LX164 AlphaPC164-LX 99 98 Lynx AS 2100A 100 - Miata Personal Workstation 433a, 433au, 500a, 101 - 500au, 600a, or 600au 99 + Miata Personal Workstation 433/500/600 a/au 102 100 Marvel AlphaServer ES47 / ES80 / GS1280 103 101 Mikasa AS 1000 104 102 Noname AXPpci33, UDB (Multia) ··· 106 108 Ruffian RPX164-2, AlphaPC164-UX, AlphaPC164-BX 107 109 SX164 AlphaPC164-SX 108 110 Sable AS 2000, AS 2100 109 - Shark DS 20L 110 - Takara Takara 111 - Titan AlphaServer ES45 / DS25 111 + Shark DS 20L 112 + Takara Takara (OEM) 113 + Titan AlphaServer ES45 / DS25 / DS15 112 114 Wildfire AlphaServer GS 40/80/160/320 113 115 114 116 If you don't know what to do, choose "generic". ··· 544 546 default y 545 547 546 548 config NR_CPUS 547 - int "Maximum number of CPUs (2-64)" 548 - range 2 64 549 + int "Maximum number of CPUs (2-32)" 550 + range 2 32 549 551 depends on SMP 550 - default "64" 552 + default "32" if ALPHA_GENERIC || ALPHA_MARVEL 553 + default "4" if !ALPHA_GENERIC && !ALPHA_MARVEL 554 + help 555 + MARVEL support can handle a maximum of 32 CPUs, all the others 556 + with working support have a maximum of 4 CPUs. 551 557 552 558 config ARCH_DISCONTIGMEM_ENABLE 553 559 bool "Discontiguous Memory Support (EXPERIMENTAL)"
+1 -1
include/asm-alpha/core_wildfire.h
··· 295 295 296 296 __EXTERN_INLINE int wildfire_is_mmio(const volatile void __iomem *xaddr) 297 297 { 298 - unsigned long addr = (unsigned long)addr; 298 + unsigned long addr = (unsigned long)xaddr; 299 299 return (addr & 0x100000000UL) == 0; 300 300 } 301 301