diff options
author | 2019-09-23 15:36:45 -0700 | |
---|---|---|
committer | 2019-09-24 15:54:10 -0700 | |
commit | 2286bf4e4d8f2fda407222b54f685dff3b80e0a0 (patch) | |
tree | 1b98c91cde4aa7821666065c4e08eae6e2fbb85e /mm/Makefile | |
parent | mm/vmalloc.c: move 'area->pages' after if statement (diff) | |
download | linux-2286bf4e4d8f2fda407222b54f685dff3b80e0a0.tar.gz linux-2286bf4e4d8f2fda407222b54f685dff3b80e0a0.tar.bz2 linux-2286bf4e4d8f2fda407222b54f685dff3b80e0a0.zip |
mm: use CPU_BITS_NONE to initialize init_mm.cpu_bitmask
Replace open-coded bitmap array initialization of init_mm.cpu_bitmask with
neat CPU_BITS_NONE macro.
And, since init_mm.cpu_bitmask is statically set to zero, there is no way
to clear it again in start_kernel().
Link: http://lkml.kernel.org/r/1565703815-8584-1-git-send-email-rppt@linux.ibm.com
Signed-off-by: Mike Rapoport <rppt@linux.ibm.com>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/Makefile')
0 files changed, 0 insertions, 0 deletions