linux/arch/sparc64/mm
David S. Miller 48b0e5487f [SPARC64]: Fix ugly dependency on NR_CPUS being a power-of-2.
The page->flags D-cache dirty state tracking depended upon
NR_CPUS being a power-of-2 via it's "NR_CPUS - 1" masking.

Fix that to use a fixed (256 - 1) mask as that is the limit
imposed by thread_info->cpu which is a "u8".

Finally, add a compile time check that NR_CPUS is not greater
than 256.

Signed-off-by: David S. Miller <davem@davemloft.net>
2005-07-27 16:08:44 -07:00
..
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
extable.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
fault.c [SPARC64]: Kill ancient and unused SYSCALL_TRACING debugging code. 2005-07-10 15:56:40 -07:00
generic.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hugetlbpage.c [PATCH] Hugepage consolidation 2005-06-21 18:46:15 -07:00
init.c [SPARC64]: Fix ugly dependency on NR_CPUS being a power-of-2. 2005-07-27 16:08:44 -07:00
tlb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ultra.S [SPARC64]: Fix UltraSPARC-III fallout from membar changes. 2005-07-05 19:45:24 -07:00