]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm/swap: remove SWAP_FLAG_PRIO_SHIFT
authorBaoquan He <bhe@redhat.com>
Wed, 5 Feb 2025 09:27:12 +0000 (17:27 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Tue, 4 Mar 2025 05:49:39 +0000 (21:49 -0800)
commite5e8ed54ca43bd4d423e45d481d7a9db1a7679f9
treeb1198da9fe57b8628b477fa3b1ec42fb4fe4b072
parentf000b582e6d3c5e9c680e7ec01d78d7c237e98fc
mm/swap: remove SWAP_FLAG_PRIO_SHIFT

It doesn't make sense to have a zero value of shift.  Remove it to avoid
confusion.

Link: https://lkml.kernel.org/r/20250205092721.9395-4-bhe@redhat.com
Signed-off-by: Baoquan He <bhe@redhat.com>
Cc: Chris Li <chrisl@kernel.org>
Cc: Kairui Song <ryncsn@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/swap.h
mm/swapfile.c