Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp140143pxf; Wed, 31 Mar 2021 19:25:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyjh38wqEIZjAtnBO4gaNjLzmKYtNx9i1yZzCjsPzAs6iWPnjgKA0Crz3P9MYEoCCzUi0wa X-Received: by 2002:a50:fc08:: with SMTP id i8mr7080851edr.277.1617243907716; Wed, 31 Mar 2021 19:25:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617243907; cv=none; d=google.com; s=arc-20160816; b=cRK2tr+/x2I/8WTSB2STvEyGAKVO+QcwsyjrJ3WqukQT5VgIiRiMvlYKQe5yITl+c3 P0JGB4N28MYkYi0uhyB0Z51vqczWoYY1Idde3oYqHD2IiCcm/ime5FqlnClK8WqM7VAo H4XH9FpnBWzyFqICqLHo1ALaApeWykdCFU6RDjtFXWin9SXWrnjzhaIKCRXiYtqhE+dE DRmaPZplVfUd5P8V2dPfJxdY5tci4yGjIJswU3UyLa/1ELgZtNAWTgOGGXuBYs6HRuFI GIhsuPBLfd6xy/IT5I5xefYoeUMZvcZv3tHUT5i8wf9LfN0TBeKlAXw2mddZ4rPm3q1G BCyg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=u9e6zTNmcsnCpqFHpBWOQwTSdHufLBlLVgQ0NV9n0N0=; b=u0z3ilaMaay5JdiNzhsdUqpl215uI0A4ykJlUDKEWLwZ4s1bWwxhtSjHFfxMlg0KOW Axzp3fIulNQd+bIcjdjhP4GTUKm6Si1iVpl79Vfu9PnHiAcdSskezRtGT7iKWjpLu88M 6BJ5hYTlcahaqTlvzoU3JeeJVnWFxgbVLealB4RVB7w9ckzENPYwPybbjqYiqLV3O/kx epm27CU3WB2j9HzADKPo7CgJddZjm4/ItoE2j3SpuArMOAn6kugdN55YYD7UjwjWSr4N 8T3db5oj0mDenwm324IucKYhQwRNbVEVNmDgloBWOAD84lFpq0OlO0uvXt+kHN3aloql QRvg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f11si3031766ejr.284.2021.03.31.19.24.45; Wed, 31 Mar 2021 19:25:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233017AbhDACXp (ORCPT + 99 others); Wed, 31 Mar 2021 22:23:45 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:14979 "EHLO szxga05-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233129AbhDACXn (ORCPT ); Wed, 31 Mar 2021 22:23:43 -0400 Received: from DGGEMS412-HUB.china.huawei.com (unknown [172.30.72.58]) by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4F9n4J4JMWzyNmb; Thu, 1 Apr 2021 10:21:36 +0800 (CST) Received: from huawei.com (10.175.113.32) by DGGEMS412-HUB.china.huawei.com (10.3.19.212) with Microsoft SMTP Server id 14.3.498.0; Thu, 1 Apr 2021 10:23:32 +0800 From: Shixin Liu To: Andrew Morton , Anshuman Khandual CC: , , Shixin Liu Subject: [PATCH -next 1/3] mm/debug_vm_pgtable: Fix one comment mistake Date: Thu, 1 Apr 2021 10:23:13 +0800 Message-ID: <20210401022315.2911967-1-liushixin2@huawei.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.175.113.32] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The branch condition should be CONFIG_TRANSPARENT_HUGEPAGE instead of CONFIG_ARCH_HAS_PTE_DEVMAP. Signed-off-by: Shixin Liu --- mm/debug_vm_pgtable.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mm/debug_vm_pgtable.c b/mm/debug_vm_pgtable.c index 05efe98a9ac2..a5c71a94e804 100644 --- a/mm/debug_vm_pgtable.c +++ b/mm/debug_vm_pgtable.c @@ -755,12 +755,12 @@ static void __init pmd_swap_soft_dirty_tests(unsigned long pfn, pgprot_t prot) WARN_ON(!pmd_swp_soft_dirty(pmd_swp_mksoft_dirty(pmd))); WARN_ON(pmd_swp_soft_dirty(pmd_swp_clear_soft_dirty(pmd))); } -#else /* !CONFIG_ARCH_HAS_PTE_DEVMAP */ +#else /* !CONFIG_TRANSPARENT_HUGEPAGE */ static void __init pmd_soft_dirty_tests(unsigned long pfn, pgprot_t prot) { } static void __init pmd_swap_soft_dirty_tests(unsigned long pfn, pgprot_t prot) { } -#endif /* CONFIG_ARCH_HAS_PTE_DEVMAP */ +#endif /* CONFIG_TRANSPARENT_HUGEPAGE */ static void __init pte_swap_tests(unsigned long pfn, pgprot_t prot) { -- 2.25.1