Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3785905yba; Tue, 23 Apr 2019 09:34:08 -0700 (PDT) X-Google-Smtp-Source: APXvYqx6/M4tBWsE6xFXz6TMN6zF1d4RyN8KEQx0wip9n+yxJgc/ngh4Curn4p3fnfPcGhqWcYzD X-Received: by 2002:a17:902:1c1:: with SMTP id b59mr27501965plb.182.1556037248252; Tue, 23 Apr 2019 09:34:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556037248; cv=none; d=google.com; s=arc-20160816; b=AicLH5ETS9jBMAYFGbQLW720FYem6hJUX7YSv9JTWUX7262rmOlupIez7e1mfvTI+u aEg6gsgxS0WFo5PGegdOMw7Cf5bOsqRf9819oyn2rkFMmLpgqd8cDA61dLdpFT+b8jHX GIsSeMA5xnacXCkiLWIRfD/qiYFui3KmwcklK49BpqV4jDZdRn9eN5hbdGmwoO47idHY kGR2DdlZz3vlv9oWbKHkgspG/mIjcSIV8EmrGUkrpS3rPM6EQQba4xGJJM0gadN7eqdM 4tIaJ8lwWcFxytwLAQ+nWTOPG3Q3JjC764K9LakXdZgH7tOB0acg39hwP1YWYBOmWjfP ElVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=0RFKXT+769rKHtvqN8mP3Igw2OsH7+hhKlZxW0exa+0=; b=jZ0cIBbREzMl4v3GRzOBdZZAH149lX5hfy6uWnX0ed3UBWXxr17IjuzyNCW+VHENzW CqCHSmGxhbOLHl9C/wdBZbX36/X9pPWPXc05bY5CzKimOCSj111YA5G6ZMa00BVD8BBH nIrFJDFcfOP3y9I6wR3xXANaGBc6M27hk80o3Q3yTD/OL3aXlC/m5jWzdUdUcp0uegM+ bnIgZESF9Gid8XRaSlsbAkBDwhOOGFvBWCDKURHkwZN2ozCzb6fc240vATY4R8q4iHRX RCvPS5xslS0tnOix0wTuZ0RWfDw1YLSpYCJfFeA3VhkSw+NpKHeILriRcmfr4omnqGKw RVWw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=do1Mrgmo; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b23si16350687pls.430.2019.04.23.09.33.52; Tue, 23 Apr 2019 09:34:08 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=do1Mrgmo; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728888AbfDWQba (ORCPT + 99 others); Tue, 23 Apr 2019 12:31:30 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:45624 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728497AbfDWQb2 (ORCPT ); Tue, 23 Apr 2019 12:31:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From :Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=0RFKXT+769rKHtvqN8mP3Igw2OsH7+hhKlZxW0exa+0=; b=do1MrgmothI00rTmttfcC5nqz8 ce9dzfOZr+FRYZ0pywXANatw78c7kIjjC0iiz04EQ9Kf1b8de0FJAhuauuyyIPUgnGdk35qATk+zU NuwoFd9jsyGSUg7sVmmVXnTQDH6pg8UbW3K3yuU2XJ8l6aFR6K8tGPwZcPa7hY1sdGFUdwR7XiuI5 K/MgyL8oaFWvkxmF2SaSdtwiImI8CtcTgLb1GqI5Nm7Q/qFQGyKHBj/eYjUPtff9t/qolPKJVTIKx ihjlJG66YS3Cs4dv5xQw6zikxBBIdQPQAFQNo1WPkayM7nYtBPo/Awb8o+0Nj9t4E1JHqAxGTKIiY YvPFqmEg==; Received: from 213-225-37-80.nat.highway.a1.net ([213.225.37.80] helo=localhost) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1hIyKN-00042B-Sg; Tue, 23 Apr 2019 16:31:28 +0000 From: Christoph Hellwig To: linux-mm@kvack.org Cc: linux-kernel@vger.kernel.org Subject: [PATCH 1/2] mm: provide a print_vma_addr stub for !CONFIG_MMU Date: Tue, 23 Apr 2019 18:30:58 +0200 Message-Id: <20190423163059.8820-2-hch@lst.de> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190423163059.8820-1-hch@lst.de> References: <20190423163059.8820-1-hch@lst.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Signed-off-by: Christoph Hellwig --- include/linux/mm.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/linux/mm.h b/include/linux/mm.h index 6b10c21630f5..969185079ae4 100644 --- a/include/linux/mm.h +++ b/include/linux/mm.h @@ -2676,7 +2676,13 @@ extern int randomize_va_space; #endif const char * arch_vma_name(struct vm_area_struct *vma); +#ifdef CONFIG_MMU void print_vma_addr(char *prefix, unsigned long rip); +#else +static inline void print_vma_addr(char *prefix, unsigned long rip) +{ +} +#endif void *sparse_buffer_alloc(unsigned long size); struct page *sparse_mem_map_populate(unsigned long pnum, int nid, -- 2.20.1