memblock tests: fix undefined reference to `BIT'
authorWei Yang <richard.weiyang@gmail.com>
Tue, 2 Apr 2024 13:27:01 +0000 (13:27 +0000)
committerMike Rapoport (IBM) <rppt@kernel.org>
Thu, 4 Apr 2024 08:08:33 +0000 (11:08 +0300)
commit592447f6cb3c20d606d6c5d8e6af68e99707b786
treebde00a6256e417672f2249bbfaaa4dffc403c0bf
parente0f5a8e74be88f2476e58b25d3b49a9521bdc4ec
memblock tests: fix undefined reference to `BIT'

commit 772dd0342727 ("mm: enumerate all gfp flags") define gfp flags
with the help of BIT, while gfp_types.h doesn't include header file for
the definition. This through an error on building memblock tests.

Let's include linux/bits.h to fix it.

Signed-off-by: Wei Yang <richard.weiyang@gmail.com>
CC: Suren Baghdasaryan <surenb@google.com>
CC: Michal Hocko <mhocko@suse.com>
Link: https://lore.kernel.org/r/20240402132701.29744-4-richard.weiyang@gmail.com
Signed-off-by: Mike Rapoport (IBM) <rppt@kernel.org>
include/linux/gfp_types.h