Merge tag 'rtc-6.2' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux
[platform/kernel/linux-rpi.git] / arch / arm64 / kernel / elfcore.c
index 27ef7ad..353009d 100644 (file)
@@ -47,7 +47,7 @@ static int mte_dump_tag_range(struct coredump_params *cprm,
                 * Pages mapped in user space as !pte_access_permitted() (e.g.
                 * PROT_EXEC only) may not have the PG_mte_tagged flag set.
                 */
-               if (!test_bit(PG_mte_tagged, &page->flags)) {
+               if (!page_mte_tagged(page)) {
                        put_page(page);
                        dump_skip(cprm, MTE_PAGE_TAG_STORAGE);
                        continue;