Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp2028468ybd; Sun, 23 Jun 2019 22:48:14 -0700 (PDT) X-Google-Smtp-Source: APXvYqwYkBVXTr6VEIzdIp8pes0yOsJXlr/eMZN/jxJBOmW6As60Y/ByODRn7ZCNIdlpN4ru6ape X-Received: by 2002:a63:85c6:: with SMTP id u189mr20034180pgd.451.1561355294453; Sun, 23 Jun 2019 22:48:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561355294; cv=none; d=google.com; s=arc-20160816; b=JjteoK0UxsQOf2P6IUGjDuuqy8wqZXVXFexP/y19Yv46HrHirQWtp58nwEzqNX4o2j 264QhR70Gd//TAc46ZDwfCJkY0ZI+ahRc1EM6z4xVj60V/fUjdPyUFMwaEHp594podUI nwIhAiUAEqYDSbVPZ2XSzdqkFE59BYdr962l3eOnZyGdb7FnLMvOQ6UDeW6Ou1OPXj5F TK8d7RMhBiqu4vYlebx50vp+hs0XIFX0xmmVx8UihWaHaeoANkuudNzcBPS7UyW8ZzuT i3BUBtMzq4WFxdMhRXL+aqIXwhq+Usa5r8fbclJTSRaO0fZk6x81Z3IuuKw+AxOXd1fJ uu9Q== 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=ZFBwbC42pF4/ydEOSJ4y75ZnrJb+ZBbMm/qFm7Ht5k0=; b=D+y9CI7huceJKb6109Jn30LxQGetO20mnW3bhGmXSPmL9oLHNSsC/7Bn0J9NCVsOWa xGs6fsGYLdHlPCOuGYXjSt0d1SnGmRgryLOItO5zJ10GJYz+LxFL6sCWyLUnkeNfXmAi 1hlCHUsK3wuiPm1byREdWu3NU1c/Ny1791MlHrOLd5TKHqrT8LG0v8L8UnoSiu3BBJBu IB7CIH0ehxXuxsmO+8+M4x2PVPFzgtY4rs7DK0CuC0ywyxpOAauzKVk30ZBj+N0d7SfY iNn/kCww2Wd5fonDlDPWIKJWrlSTDe7dlijyiydrGP2etYlCZ1LeAZ8+odVexFTPA8md 3h/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=X6al4PUP; 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 s21si10326764pfe.204.2019.06.23.22.47.58; Sun, 23 Jun 2019 22:48:14 -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=X6al4PUP; 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 S1727043AbfFXFnW (ORCPT + 99 others); Mon, 24 Jun 2019 01:43:22 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:34608 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726077AbfFXFnW (ORCPT ); Mon, 24 Jun 2019 01:43:22 -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=ZFBwbC42pF4/ydEOSJ4y75ZnrJb+ZBbMm/qFm7Ht5k0=; b=X6al4PUPrJG3GXXDCc+GVTzTlg 2TSkJtcBJThDHIeyPeJiS8/uksAhamtWEZqHOR7790Zoc05bZD4vgnQfeFrUhpgVmS6Wtj34h+Zp8 LauTUq5EVZOKR9tSXliqJAsyWJ+cFEkaJ7oZfe4j7mDAwtXbxzD6go0vThELFfQTkD5IxmXoNvw0o L0gFZrRUmOexC+mmTGo11vv5/KRkjFhwZXlKYQGHpUZD90U1hUU3pTX0qmaYFxdQRVfkjVqmPirtZ pukuQReHO+bDQdEoXqU6Ycu/nnJkbAVTVnG3qUyQ0Az1wVOLQPr8aw2Y0GyezJJ14dT8hSXtMfQ9y 0CzY8sZA==; Received: from 213-225-6-159.nat.highway.a1.net ([213.225.6.159] helo=localhost) by bombadil.infradead.org with esmtpsa (Exim 4.92 #3 (Red Hat Linux)) id 1hfHl8-00064U-KY; Mon, 24 Jun 2019 05:43:19 +0000 From: Christoph Hellwig To: Palmer Dabbelt , Paul Walmsley Cc: Damien Le Moal , linux-riscv@lists.infradead.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, Vladimir Murzin Subject: [PATCH 01/17] mm: provide a print_vma_addr stub for !CONFIG_MMU Date: Mon, 24 Jun 2019 07:42:55 +0200 Message-Id: <20190624054311.30256-2-hch@lst.de> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190624054311.30256-1-hch@lst.de> References: <20190624054311.30256-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 Reviewed-by: Vladimir Murzin --- include/linux/mm.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/linux/mm.h b/include/linux/mm.h index dd0b5f4e1e45..69843ee0c5f8 100644 --- a/include/linux/mm.h +++ b/include/linux/mm.h @@ -2756,7 +2756,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