mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-19 10:44:14 +08:00
48b0e5487f
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> |
||
---|---|---|
.. | ||
extable.c | ||
fault.c | ||
generic.c | ||
hugetlbpage.c | ||
init.c | ||
Makefile | ||
tlb.c | ||
ultra.S |