From patchwork Fri Jan 5 23:20:52 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 123567 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp1402343qgn; Fri, 5 Jan 2018 15:21:20 -0800 (PST) X-Google-Smtp-Source: ACJfBovWd45KkFZggndZtnyNWovCLlAMoAB0PHcYYT8XQwp1dsPRQAJdX5Hs7w9cTmRgL5z6tugT X-Received: by 10.101.96.134 with SMTP id t6mr3723265pgu.253.1515194480829; Fri, 05 Jan 2018 15:21:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1515194480; cv=none; d=google.com; s=arc-20160816; b=FprXjim6P+SwlIFx390eFF9M5skzMxJ+Wi8rvNjQcJZj5kMtcOUx9OwhVM7LPVLH15 /RhLYfG11FGNAg9i/V3Bshi0yCf4HBDqck3TzT3mDWeMnXBTJurlkX1x02hc23ubTkgO PiGdqBqMHmhN6hjMRCuy4ap7u/e1njOXLFAjRD4MD8XDfWLpJ+1KfSMF8fFqe1gInJu5 JqJ6FliPveH7NUYAk/PnwgjD+d8+ywJtAU5cYvVtl1pQgawHy1U1/BVhMkVppKNJ/0aT Y2gzkXHN619roFpQ9t6t0dVHJUqVafTObeN+vzKX68Ay0dd6mlDtVORSIcN5dNnLbMD+ 1Gjw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=eFw7Rafm/KKKgxUSSjz5WY5Xb9uMe9aEwCKkj8UEw0E=; b=hzSeXc/iBfkFN852T6tjX917K0n6cBvrCaZIN9PJKDedAIcQl/ChgLBF9jnO92W14c 3z/lsesgePctHI9HxK47J5OBn0BKg6nxA4jX6IKFtLNhNhBoNCtDH89a/bBwRvQLK4d5 RRVRa4crltrMIXtIyRDMT+dUz+79mZFSJ7RaWLA0tKvr2A45r6aWAp8wtnm0zC+jb+/s Hifc3c+ne138DrQ21R+0ZQnjb4uZ7frYaRQhbgbPe3t2irbQc69K6A0lVNftHbzAxpuz AKhHCT2PXCqOLMOwpgKLly+/u2HyUHOBBdSX/zxuBl73UjIEOo+rWr+gS0mBRhAZrzod AfOw== ARC-Authentication-Results: i=1; mx.google.com; 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 d37si4633201plb.735.2018.01.05.15.21.20; Fri, 05 Jan 2018 15:21:20 -0800 (PST) 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; 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 S1753281AbeAEXVG (ORCPT + 28 others); Fri, 5 Jan 2018 18:21:06 -0500 Received: from mail-ot0-f196.google.com ([74.125.82.196]:36047 "EHLO mail-ot0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753051AbeAEXVD (ORCPT ); Fri, 5 Jan 2018 18:21:03 -0500 Received: by mail-ot0-f196.google.com with SMTP id w4so5170751otg.3; Fri, 05 Jan 2018 15:21:03 -0800 (PST) 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=eFw7Rafm/KKKgxUSSjz5WY5Xb9uMe9aEwCKkj8UEw0E=; b=Wj22XRacrB60Fr7kZaIhl3Z4a3Qq4VKHxw20IiFN/wSAlsA0YEMz3RBgDxKSzQlQY2 M5wHp3ftFFNmDN8vcutqqMfAZxBoYVK+75Y6XPsgR7w+npf80hBeWpunvLjZqaQANzaz 2BbYdJOQRiKUxZ/ji+32A9hNvy5VeUDvtjVlzlwBqYKHDzT/483vSfO8BfQYdPdrdcNm YA2xLvpGsQAL0+SWGRibW/nobvASYnIbr9iK6hHSaM2VTCzh5sKv791totGKrx7nFZzo apZPuvmOQtsw7wuReD/0Kdi91RJGNYefYIEiUCuRWUq89i10+VdqcET2EM8S5SmDS3do MqkA== X-Gm-Message-State: AKwxytc5Z0qUHu+2H0LjYi5A3+3Uxj3ffF05+SLRfLuhgJTLQV8S3uyB 0CP1mqBX6jxzI8WwGj3QurVngd0= X-Received: by 10.157.6.79 with SMTP id 73mr2862708otn.329.1515194463058; Fri, 05 Jan 2018 15:21:03 -0800 (PST) Received: from xps15.usacommunications.tv (216-188-254-6.dyn.grandenetworks.net. [216.188.254.6]) by smtp.googlemail.com with ESMTPSA id u1sm1969998otc.3.2018.01.05.15.21.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 05 Jan 2018 15:21:02 -0800 (PST) From: Rob Herring To: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Frank Rowand , Ley Foon Tan , nios2-dev@lists.rocketboards.org Subject: [PATCH 5/7] nios2: remove arch specific early_init_dt_alloc_memory_arch Date: Fri, 5 Jan 2018 17:20:52 -0600 Message-Id: <20180105232054.27394-6-robh@kernel.org> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180105232054.27394-1-robh@kernel.org> References: <20180105232054.27394-1-robh@kernel.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Now that the DT core code handles bootmem arches, we can remove the nios2 specific early_init_dt_alloc_memory_arch function. Cc: Ley Foon Tan Cc: nios2-dev@lists.rocketboards.org Signed-off-by: Rob Herring --- This is dependent on patch 1. Please ack and I'll take or apply after 4.16-rc1. arch/nios2/kernel/prom.c | 5 ----- 1 file changed, 5 deletions(-) -- 2.14.1 diff --git a/arch/nios2/kernel/prom.c b/arch/nios2/kernel/prom.c index 6688576b3a47..8d7446a4b475 100644 --- a/arch/nios2/kernel/prom.c +++ b/arch/nios2/kernel/prom.c @@ -42,11 +42,6 @@ void __init early_init_dt_add_memory_arch(u64 base, u64 size) } -void * __init early_init_dt_alloc_memory_arch(u64 size, u64 align) -{ - return alloc_bootmem_align(size, align); -} - int __init early_init_dt_reserve_memory_arch(phys_addr_t base, phys_addr_t size, bool nomap) {