diff options
author | Peter Collingbourne <pcc@google.com> | 2022-07-26 16:02:41 -0700 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2022-09-11 20:25:53 -0700 |
commit | 4d86d4f7227c6f2acfbbbe0623d49865aa71b756 (patch) | |
tree | e6e27cdb7ef6fc96c596e5ad9e7a11e7cd2af44c /mm | |
parent | 24a95998e9baba5e3236d9127d2d302a1a2ad2ab (diff) | |
download | lwn-4d86d4f7227c6f2acfbbbe0623d49865aa71b756.tar.gz lwn-4d86d4f7227c6f2acfbbbe0623d49865aa71b756.zip |
mm: add more BUILD_BUG_ONs to gfp_migratetype()
gfp_migratetype() also expects GFP_RECLAIMABLE and
GFP_MOVABLE|GFP_RECLAIMABLE to be shiftable into MIGRATE_* enum values, so
add some more BUILD_BUG_ONs to reflect this assumption.
Link: https://linux-review.googlesource.com/id/Iae64e2182f75c3aca776a486b71a72571d66d83e
Link: https://lkml.kernel.org/r/20220726230241.3770532-1-pcc@google.com
Signed-off-by: Peter Collingbourne <pcc@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions