From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg0-f69.google.com (mail-pg0-f69.google.com [74.125.83.69]) by kanga.kvack.org (Postfix) with ESMTP id DB25E6B0253 for ; Thu, 7 Dec 2017 21:56:49 -0500 (EST) Received: by mail-pg0-f69.google.com with SMTP id i14so6786231pgf.13 for ; Thu, 07 Dec 2017 18:56:49 -0800 (PST) Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id b12sor2765234pls.2.2017.12.07.18.56.48 for (Google Transport Security); Thu, 07 Dec 2017 18:56:48 -0800 (PST) From: 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> In-Reply-To: <20171208025616.16267-1-sergey.senozhatsky@gmail.com> References: <20171208025616.16267-1-sergey.senozhatsky@gmail.com> Sender: owner-linux-mm@kvack.org List-ID: 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 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, -- 2.15.1 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org