android_kernel_xiaomi_sm8350/arch/sparc64
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
..
boot Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
kernel [SPARC]: Add inotify syscall entries. 2005-07-27 14:14:39 -07:00
lib [SPARC64]: Avoid membar instructions in delay slots. 2005-06-27 15:42:04 -07:00
math-emu Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mm [SPARC64]: Fix ugly dependency on NR_CPUS being a power-of-2. 2005-07-27 16:08:44 -07:00
oprofile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
prom Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
solaris [SPARC64]: Pass regs and entry/exit boolean to syscall_trace() 2005-07-10 16:55:48 -07:00
defconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Kconfig Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/i2c-2.6 2005-07-12 15:54:36 -07:00
Kconfig.debug Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00