From patchwork Tue Dec 4 05:14:24 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Adeodato_Sim=C3=B3?= X-Patchwork-Id: 10711111 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D4EE514BD for ; Tue, 4 Dec 2018 05:14:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BBB9E2AB15 for ; Tue, 4 Dec 2018 05:14:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AFE6F2AF7E; Tue, 4 Dec 2018 05:14:32 +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=-3.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 183292AB15 for ; Tue, 4 Dec 2018 05:14:31 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 248566B6CFF; Tue, 4 Dec 2018 00:14:30 -0500 (EST) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id 1CF126B6CFD; Tue, 4 Dec 2018 00:14:30 -0500 (EST) X-Original-To: int-list-linux-mm@kvack.org X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 0E9F56B6CFE; Tue, 4 Dec 2018 00:14:30 -0500 (EST) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from mail-wr1-f72.google.com (mail-wr1-f72.google.com [209.85.221.72]) by kanga.kvack.org (Postfix) with ESMTP id AF8196B6CFA for ; Tue, 4 Dec 2018 00:14:29 -0500 (EST) Received: by mail-wr1-f72.google.com with SMTP id j30so12665612wre.16 for ; Mon, 03 Dec 2018 21:14:29 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:dkim-signature:from:to:cc:subject:date :message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=LlaKK+QDyWoEPUPZtOWjPwfLms4Kd9A2H4duwBKvPe8=; b=FhAKjCOkcnOQnIIEyc9KiAM0UBFyEVfmwJs11P3xjCy9RixQICiaPWIakWXyjuF75+ RUL3vyIIyUIAZTnWMHQXYY/4Hpxiyc7swzC51x7dXR/zK7BW9quBOHn0LNIOoaZYIQdr byDIAKVq1d5p8rxCpPXmiFyPrTds9Ojb264d7xH4LPpP0JIcK7R9FhJHcnf+y+kEoMwJ 3xdSJz3kf9Qmi2IWoF4DtrxFk5yK7dFumBO+ADuICI8MJEPeY7pYnTq71/Jei4blomw0 lMXi65WIROmpo+jnDSaufaKiYKPkZAPfEi66GLQr5vFxF7BZJVlV1mVK6oI0/LsNYPca s9Xg== X-Gm-Message-State: AA+aEWYVdBPBqef0s+LpeiqzpfBGIOPOaj2Ap3QRBlHhfoq0re+2qm5R sM5zZA5Vby60lSLgukkYGpbKHp3+JORkOo+cKa+pXgrCB6Pe4j19hC59uoUzvlbo6XbaQZdeECh /QnNSSSWHHoO0vCM8iXVbRVh+Mk+UxADLsjVTGP6npeXGRMN6eKfPCy1S8mLlxvOlUg== X-Received: by 2002:a5d:444a:: with SMTP id x10mr17367193wrr.162.1543900468943; Mon, 03 Dec 2018 21:14:28 -0800 (PST) X-Google-Smtp-Source: AFSGD/XXQBcsfyn1P0dyVgR/AFCgaIVJA41FK2oZQkJAxr4Utg9Yxs8MK2CmI2BUidEISut5ps5b X-Received: by 2002:a5d:444a:: with SMTP id x10mr17367156wrr.162.1543900467754; Mon, 03 Dec 2018 21:14:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543900467; cv=none; d=google.com; s=arc-20160816; b=jW2B1cn1eyaxvf7Cdsn1n3BRxwRV+9qL844ARuLtl7xT9CV8Kp84iuzsoLBhWVxu1i W1YLLWxOT3hHV+Bs60ifKX5tljL9gdR/YqZh1UWe/rjKyDiNXM5KswZZgPpJJA0mIq1e jNWfZ0cXRwXDm4ZXxgwxEgFiDhwPNdMsp1l2vGBbAMiq8AraiLVZ64MDqGPJQIbfD+/V 360Lmty68Wucq/xsCNauZnx4zRAkldsM0ZNGlzQsCIzU8M4zZidJPvF+o6HXrxitF+Ho OYaXdN1BFoocSl69naR2WDJ4UdIXMOVFqYjlrV4qwEP44iJTjRLQcXi3Vrijd6UYH0M0 1lIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=LlaKK+QDyWoEPUPZtOWjPwfLms4Kd9A2H4duwBKvPe8=; b=ONonZMwSLut83KiFaVtYqglcSJfzyuqY0KouufWGoyVc7ltV4/J9+zUtikI1D5QNw6 scSB2/u7TD4p8XXacmFbXbJRMBXnixxSAsXFBVhipeOVq5mIjED08PMjcWYqwTF1b+Mu KbUdo6sBNY3A4HVu8gyMHHwPWm0sMNAwfPYCCjhrI69Pwpy0qngJ69YRjuR0QjlspcC2 tH81q3sdV+k6EJQ0dMJ1vLoU84BCvpu/nvbSwc1uIzWefjoU/h39l7rMqcT1eG6L8oBT jH47maPEGyvWipngW635bnaMQBYurC2yFoaF3C53iZMnbSpFiY6tkKaS8VkUoNV6CZB/ Rlrw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@net.com.org.es header.s=delany-v1 header.b=YMltWKuy; spf=pass (google.com: domain of dato@net.com.org.es designates 176.31.98.17 as permitted sender) smtp.mailfrom=dato@net.com.org.es; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=net.com.org.es Received: from delany.relativists.org (delany.relativists.org. [176.31.98.17]) by mx.google.com with ESMTPS id b1si12076826wrj.176.2018.12.03.21.14.27 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 03 Dec 2018 21:14:27 -0800 (PST) Received-SPF: pass (google.com: domain of dato@net.com.org.es designates 176.31.98.17 as permitted sender) client-ip=176.31.98.17; Authentication-Results: mx.google.com; dkim=pass header.i=@net.com.org.es header.s=delany-v1 header.b=YMltWKuy; spf=pass (google.com: domain of dato@net.com.org.es designates 176.31.98.17 as permitted sender) smtp.mailfrom=dato@net.com.org.es; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=net.com.org.es Received: from geertz.rel (geertz.rel [192.168.82.3]) by delany.relativists.org (Postfix) with ESMTPSA id 7B507336; Tue, 4 Dec 2018 02:14:26 -0300 (-03) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=net.com.org.es; s=delany-v1; t=1543900466; bh=LlaKK+QDyWoEPUPZtOWjPwfLms4Kd9A2H4duwBKvPe8=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version:Content-Type:From; b=YMltWKuy9l6rBZ7WHLDKa5ZpaISBzjxyaOM2fGPbdfZKCd5QmT8COHtBQCc97/AGY FDFVYqyx16LHJ1gNzF2NuzeGLUefcUcRG+8BQDqasEM40pbO+BRWu4SUTr5rgO/axS mgROHQO0QDBkkUB9arT8WbZRA8TVeDVbaarcxoqw= Received: by geertz.rel (Postfix, from userid 1000) id 2E40380AB1; Tue, 4 Dec 2018 02:14:24 -0300 (-03) From: =?utf-8?q?Adeodato_Sim=C3=B3?= To: linux-mm@kvack.org Cc: kernel-janitors@vger.kernel.org Subject: [PATCH 3/3] mm: add missing declaration of memmap_init in linux/mm.h Date: Tue, 4 Dec 2018 02:14:24 -0300 Message-Id: X-Mailer: git-send-email 2.19.2 In-Reply-To: <466ad4ebe5d788e7be6a14fbbcaaa9596bac7141.1543899764.git.dato@net.com.org.es> References: <466ad4ebe5d788e7be6a14fbbcaaa9596bac7141.1543899764.git.dato@net.com.org.es> MIME-Version: 1.0 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: X-Virus-Scanned: ClamAV using ClamSMTP This follows-up commit dfb3ccd00a06 ("mm: make memmap_init a proper function"), which changed memmap_init from macro to function. Signed-off-by: Adeodato Simó Reviewed-by: Mike Rapoport --- scripts/checkpatch.pl complained about use of extern for a prototype, but I preferred to maintain consistency with surrounding code. -d include/linux/mm.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/mm.h b/include/linux/mm.h index 3eb3bf7774f1..8597b864dd91 100644 --- a/include/linux/mm.h +++ b/include/linux/mm.h @@ -2268,6 +2268,8 @@ static inline void zero_resv_unavail(void) {} #endif extern void set_dma_reserve(unsigned long new_dma_reserve); +extern void memmap_init(unsigned long size, int nid, + unsigned long zone, unsigned long start_pfn); extern void memmap_init_zone(unsigned long, int, unsigned long, unsigned long, enum memmap_context, struct vmem_altmap *); extern void setup_per_zone_wmarks(void);