]> 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>
Fri, 28 Feb 2025 00:59:48 +0000 (16:59 -0800)
commit50cbe614b3ab3a4e9b660fd9b470b57d18e5a27d
tree4c797bbbad75f87eba91f3ef326a65c3784b3ebd
parentab0fd111273229030e3272391a05f044a5079887
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