From patchwork Fri Dec 8 02:56:09 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergey Senozhatsky X-Patchwork-Id: 10101557 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 0C74F60329 for ; Fri, 8 Dec 2017 03:00:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EF92C28968 for ; Fri, 8 Dec 2017 03:00:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E31A728977; Fri, 8 Dec 2017 03:00:46 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 83CAE28968 for ; Fri, 8 Dec 2017 03:00:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752602AbdLHC4v (ORCPT ); Thu, 7 Dec 2017 21:56:51 -0500 Received: from mail-pf0-f195.google.com ([209.85.192.195]:34889 "EHLO mail-pf0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752078AbdLHC4t (ORCPT ); Thu, 7 Dec 2017 21:56:49 -0500 Received: by mail-pf0-f195.google.com with SMTP id j124so6216930pfc.2; Thu, 07 Dec 2017 18:56:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=osX+U2ispcPUvVs5qfMpY2huZVj2Bpybaiy+nkgdN+I=; b=vgpEJMakEJL2xdq0o2GzThx9Awvk/SbtaC5W8Q82CXb2Z5bH2czcgUSho7AKqFghjv vpQqL6lBSz8oDQzXrW1jCUGSU5GKBIBxz+NzUMvKIhkxa1iAMelDzcFHRgDHHdN2Vy9R S4orEFY1cajfChwSW56RAdpa12CtW6mLDuT2F2XlCz/uiBhKVmqzW1RYElnV3ETM7Cph FirfkvyK0/1kfWRHqSJuocHjrBnA1sllD5J+1XSjwyqhQYijJa7hCIv073DjBahLz70Z Abms6xhHJIMJk4tXNhvMc5E2jOX0qo3aWoCWyYQtNlC0ymVYWJA9NQM3uY2ame76BNQc Jneg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=osX+U2ispcPUvVs5qfMpY2huZVj2Bpybaiy+nkgdN+I=; b=p8Pn4r+MW0npmH9+inUO7QcPfcgRdu8McLQlA/EkM9tbrgF0L7F1+Ewst9ai1KFxeh X9/4YR05p7EGLK1vrdd00dGR+wShShnJHasYmDVHrwlin5pGi1rhRHqUJBb65aRJH3tn xwBLZsPvP41++2/qi/hhVRRm0a6gyh1iPkRddl9Pyc2Zwtecj7pCoOgQ5LOIS0NrqOre AjAkcyjEV9Efbv/owKBp+21KDcF3iHkO511aF23QPcp+GwUGgxGsT8rNBhwg7JXZ12WT EsaC/ZCctOSlqhqKnofiizFBDrsxczTMoFYDfXgC6b5SAsYUb9ujEpksScojfFUpbmVu iksg== X-Gm-Message-State: AJaThX5ZejTPhqOIAHfPj6QAYij8GUH3K3/bj7+3/dP5NiuC4gBokbmD wWR3ZeB1ge74IhcaahfoQXA= X-Google-Smtp-Source: AGs4zMavD7w1TWh4qrB9O97bRr8gYjJ/OiGnqKuNJzu2oAuSOZE/YADody1BM6EBtMXDAo/vOVaLEw== X-Received: by 10.84.168.132 with SMTP id f4mr28498851plb.234.1512701808361; Thu, 07 Dec 2017 18:56:48 -0800 (PST) Received: from localhost.localdomain ([110.70.56.230]) by smtp.gmail.com with ESMTPSA id v88sm13272092pfk.31.2017.12.07.18.56.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 07 Dec 2017 18:56:47 -0800 (PST) From: Sergey Senozhatsky X-Google-Original-From: Sergey Senozhatsky To: Peter Zijlstra , Andrew Morton , Michal Hocko , Rafael Wysocki , Len Brown , Bjorn Helgaas , Vlastimil Babka , Tejun Heo , Lai Jiangshan , Thomas Gleixner , Fengguang Wu Cc: Steven Rostedt , Petr Mladek , LKML , linux-pm@vger.kernel.org, linux-pci@vger.kernel.org, linux-mm@kvack.org, Sergey Senozhatsky , Sergey Senozhatsky Subject: [PATCH 2/9] mm: remove unneeded kallsyms include Date: Fri, 8 Dec 2017 11:56:09 +0900 Message-Id: <20171208025616.16267-3-sergey.senozhatsky@gmail.com> X-Mailer: git-send-email 2.15.1 In-Reply-To: <20171208025616.16267-1-sergey.senozhatsky@gmail.com> References: <20171208025616.16267-1-sergey.senozhatsky@gmail.com> Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The file was converted from print_symbol() to %pSR a while ago (071361d3473ebb814 "mm: Convert print_symbol to %pSR"). kallsyms does not seem to be needed anymore. Signed-off-by: Sergey Senozhatsky Cc: Andrew Morton Cc: Michal Hocko --- mm/memory.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/mm/memory.c b/mm/memory.c index 24e9e1d5488f..551b323c9ab6 100644 --- a/mm/memory.c +++ b/mm/memory.c @@ -59,7 +59,6 @@ #include #include #include -#include #include #include #include @@ -760,9 +759,6 @@ static void print_bad_pte(struct vm_area_struct *vma, unsigned long addr, dump_page(page, "bad pte"); pr_alert("addr:%p vm_flags:%08lx anon_vma:%p mapping:%p index:%lx\n", (void *)addr, vma->vm_flags, vma->anon_vma, mapping, index); - /* - * Choose text because data symbols depend on CONFIG_KALLSYMS_ALL=y - */ pr_alert("file:%pD fault:%pf mmap:%pf readpage:%pf\n", vma->vm_file, vma->vm_ops ? vma->vm_ops->fault : NULL,