From patchwork Fri Jan 5 23:14:19 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 123560 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp1397252qgn; Fri, 5 Jan 2018 15:14:39 -0800 (PST) X-Google-Smtp-Source: ACJfBotejAv8RgSkpxlo1ZIf3Y0LgP5txreUbfNH5BbjOpelp6ExA+/q9UMG5Yrqjes1BvVh/3Zk X-Received: by 10.101.82.205 with SMTP id z13mr3867766pgp.134.1515194079839; Fri, 05 Jan 2018 15:14:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1515194079; cv=none; d=google.com; s=arc-20160816; b=suPj9c44YHBGbY04iOGgw5BKQRVRqaKffrIhzfzYYvmTU/0gfCIsBiPkhktC+WFZka cgrTt5zbEoo2VC+INKX7GKCmsmepygGITGM8wbvK+gH4fIpfsl5OYU64wkia8MIdngka Z89fZP6OJMfMNr/0tHhVRKxYqCMPJTy2POVvbemCdH0G1nIpfDQadlf03GSBoed3kIwi DeexIWdLeQBMdLVYJ51XCuupwKbukJCo8a8BPwXYAgfhYxxSAyPUchV/ChQSZNP0Z2tr sCyFx4pPtlgvSsSxg3lQSdMlUMwAzjIWCG+w9GcW6TfVUKIiSE4eOucFD2Ng4G7BGoOu N+mQ== 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=whwEHyrGToQrUN6ilQxTtgOn8ybQ4k1vwPlUBUMHdiQ=; b=HJvSApGoZqnknPR6ACKV33U6/RnTZaFWP2oESO95F1x1ebI7cRY4Rcow4nzx6DKuYL hbxbjZyrwSI8mqc8kJjc4mfacp4mvMnNAasxaJWwL7eb4p5is9S9RKEhoC5T4zCXPBTt FV6UIraymdDiUQejtRzyyAxJ3Phdn0EW27nh5eOiupquTzyJpzMQ88LfIe51cm/lwIou 4GiB3IdZMGDv04qoq9N3P5D4aft0WKtZo1YBjCfMrup63Iuvry8WyA7+cHQAwwKgH/Zx CSwTQdoR4eHy0HFk/m2f4vqgPrBMEEgkQ5+TS+a33mIp5uRGYrssN1r0U/5xXIobHn/T 2AZg== 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 n1si4627561pld.462.2018.01.05.15.14.39; Fri, 05 Jan 2018 15:14:39 -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 S1753297AbeAEXOg (ORCPT + 28 others); Fri, 5 Jan 2018 18:14:36 -0500 Received: from mail-ot0-f196.google.com ([74.125.82.196]:36744 "EHLO mail-ot0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752913AbeAEXO2 (ORCPT ); Fri, 5 Jan 2018 18:14:28 -0500 Received: by mail-ot0-f196.google.com with SMTP id w4so5160793otg.3; Fri, 05 Jan 2018 15:14:28 -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=whwEHyrGToQrUN6ilQxTtgOn8ybQ4k1vwPlUBUMHdiQ=; b=kCwohJuxs8MsJNZYVla+ZIdangsKswdwHXItJzaMSf+jU2tN/hfnc+SRNcBy4SykYx gfQULZnzRX1SNGqg8nKAeJTpd59ZSDwdtikVZ9K7/+Q0EgO2ttoDKVG/tWjbzkeYglNC Dp4IVlkG3s9W2HTNGxu4LFogJ1DKwjnwowBUwLy1KmW+0i884M3dg62t7zd0vIApdErM BwyVqX1rpXz0RF9pvcUF8OXcFGZSVNBerBXbg93k+p4BiOE6xHx9AHEqlkFYhDjGyLnu Gg5mQPpTUyxfcQSdPbIv/+uXM/4NJTQjs2qieL7ulZP6W5mE/XJ4Ejafos8VwriXj2be sCPQ== X-Gm-Message-State: AKwxytcV6fLVxKMlEdxO+w3bYxDXiEMEut5r1cK/BUkPPaW9YYYOoaie HxGnWoo8QRpzwiZackFsr6ln8JE= X-Received: by 10.157.35.78 with SMTP id k14mr2940417otd.338.1515194067385; Fri, 05 Jan 2018 15:14:27 -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 p24sm2824627oie.54.2018.01.05.15.14.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 05 Jan 2018 15:14:26 -0800 (PST) From: Rob Herring To: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Frank Rowand , Mikael Starvik , Jesper Nilsson , linux-cris-kernel@axis.com Subject: [PATCH 2/7] cris: remove arch specific early DT functions Date: Fri, 5 Jan 2018 17:14:19 -0600 Message-Id: <20180105231424.19247-3-robh@kernel.org> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180105231424.19247-1-robh@kernel.org> References: <20180105231424.19247-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 cris specific early_init_dt_alloc_memory_arch function. As the default early_init_dt_add_memory_arch just does a WARN, we can just remove the entire devicetree.c file. Cc: Mikael Starvik Cc: Jesper Nilsson Cc: linux-cris-kernel@axis.com Signed-off-by: Rob Herring --- This is dependent on patch 1. Please ack and I'll take or apply after 4.16-rc1. arch/cris/kernel/Makefile | 19 ------------------- arch/cris/kernel/devicetree.c | 15 --------------- 2 files changed, 34 deletions(-) delete mode 100644 arch/cris/kernel/devicetree.c -- 2.14.1 diff --git a/arch/cris/kernel/Makefile b/arch/cris/kernel/Makefile index af075a5fb9aa..e69de29bb2d1 100644 --- a/arch/cris/kernel/Makefile +++ b/arch/cris/kernel/Makefile @@ -1,19 +0,0 @@ -# SPDX-License-Identifier: GPL-2.0 -# $Id: Makefile,v 1.12 2004/10/19 13:07:43 starvik Exp $ -# -# Makefile for the linux kernel. -# - -CPPFLAGS_vmlinux.lds := -DDRAM_VIRTUAL_BASE=0x$(CONFIG_ETRAX_DRAM_VIRTUAL_BASE) -extra-y := vmlinux.lds - -obj-y := process.o traps.o irq.o ptrace.o setup.o time.o sys_cris.o -obj-y += devicetree.o -obj-y += stacktrace.o - -obj-$(CONFIG_MODULES) += crisksyms.o -obj-$(CONFIG_MODULES) += module.o -obj-$(CONFIG_SYSTEM_PROFILER) += profile.o - -clean: - diff --git a/arch/cris/kernel/devicetree.c b/arch/cris/kernel/devicetree.c deleted file mode 100644 index 36e1c658229f..000000000000 --- a/arch/cris/kernel/devicetree.c +++ /dev/null @@ -1,15 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0 -#include -#include -#include - -void __init early_init_dt_add_memory_arch(u64 base, u64 size) -{ - pr_err("%s(%llx, %llx)\n", - __func__, base, size); -} - -void * __init early_init_dt_alloc_memory_arch(u64 size, u64 align) -{ - return alloc_bootmem_align(size, align); -} From patchwork Fri Jan 5 23:14:20 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 123562 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp1397568qgn; Fri, 5 Jan 2018 15:15:01 -0800 (PST) X-Google-Smtp-Source: ACJfBoufEfalS6/bCSW8G7pq7DGIBSrpAu5QmfPyUCebnDx1uWUWhG9rD9Qd/jR7Vakei7IC94IO X-Received: by 10.101.80.74 with SMTP id k10mr3698551pgo.418.1515194101783; Fri, 05 Jan 2018 15:15:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1515194101; cv=none; d=google.com; s=arc-20160816; b=cBG9/Inyz5r9eSaNR1Lb1ne4UxuCjj+msQqchVACFlR5H4HTjhNHK5JOYkPGfjWfac uzR0/t/B5jYeBtXk4RmevAeT8Y4/mFyfCBC+FrlccyF6eIPdL7l6zRcCg9sgoAQYg2Il vk0k8c32S7VBYFQ8rhjdrWD4WpUUg3UXP5s2ZBhYtCXyAFHFY2m4NvdR+R2mcUOU5WZk i40LCZAkKjdV4wrMQ9HabgVKCVCWWxP6vaXBHo+Z06+K5PGLPAnBDBwYSQRJElNNsZl1 sxBfxjMNPgNu4KqSnHsnKt4tZLhd41Xxb9MdWWWokiD0gthBAVpAsDi1lzJ73k2F4zpV ogjQ== 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=YL3YbvmfAddxl/h9/kv4Jb9X0BXDJsT6Xu72L9M5ujE=; b=CJv/0mPLhMYzi5BZvZD82+vAl/dXoRBc1floohB9BcVQFuwzJLaqypDdo9fqUfiR7a oihx0Q34ratXWJ4PkEsk1kbm2nDP7IM4T2eju0/m/LJJ6uPXM13l2y24rsdoIM/ubBu2 1dSd2qokOkZRZ+HKZPweb4I1cI7bki0MsuXMMwkbdglgKrPHfPEjowt3We8ozzSpPq0B ICYm71mkD19fS9VzQlXLU3oimmmq2q7CdGmMkb9rEOjLFOCo+d4RePZnywd/3AWz3kDs byHwynYond74KufJSUFhLlSycKNQomJiT1DYJUmvU5LbI08XwQ441wWRwOFFEO9toni1 yNAg== 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 v27si4700405pfi.311.2018.01.05.15.15.01; Fri, 05 Jan 2018 15:15:01 -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 S1752306AbeAEXOc (ORCPT + 28 others); Fri, 5 Jan 2018 18:14:32 -0500 Received: from mail-ot0-f196.google.com ([74.125.82.196]:36745 "EHLO mail-ot0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752957AbeAEXO3 (ORCPT ); Fri, 5 Jan 2018 18:14:29 -0500 Received: by mail-ot0-f196.google.com with SMTP id w4so5160824otg.3; Fri, 05 Jan 2018 15: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:from:to:cc:subject:date:message-id:in-reply-to :references; bh=YL3YbvmfAddxl/h9/kv4Jb9X0BXDJsT6Xu72L9M5ujE=; b=gNkZJ9YJjbP42Obsv2xRyJsKizUHySgb6EO5bCQto/Sy4fLmGQzuZmtRk0fgqYtckB Tmb18KG9fOqR8+Q8FGQQ4JoHSHxtkgqttxXyHHa1YEi+Axp5ocQPQSnoXzcnOjnia2Qn VsYXZTXdBWsE03b9X5ngDWiaLs4/fgQfGAI0qybcCInXXzMj0iUSgyit3P3pOHwzhtSD QV9oWk+D/IzLE1hPaTVC0o0D5cGcki2tJwaaSTaHG/pek+w5DU1SGdrYWpXQfEkroiLN 6bR4rsnXCT8u9MRVmKQvMjYLgpRS7qmvFI3jIZgoAfpbSD3xi/F87kNg3i8NJxIegKHO qGLg== X-Gm-Message-State: AKwxytfcofZVaYY6K4yp2f7iZkRH0R++NwbEXq485XfJ1Mq3zh/JhpwN iqKP+Pd0tb/Kl6rIIoZgGmdbk5s= X-Received: by 10.157.44.154 with SMTP id p26mr1656359otb.8.1515194068408; Fri, 05 Jan 2018 15:14:28 -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 p24sm2824627oie.54.2018.01.05.15.14.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 05 Jan 2018 15:14:27 -0800 (PST) From: Rob Herring To: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Frank Rowand , James Hogan , linux-metag@vger.kernel.org Subject: [PATCH 3/7] metag: remove arch specific early DT functions Date: Fri, 5 Jan 2018 17:14:20 -0600 Message-Id: <20180105231424.19247-4-robh@kernel.org> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180105231424.19247-1-robh@kernel.org> References: <20180105231424.19247-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 metag specific early_init_dt_alloc_memory_arch function. As the default early_init_dt_add_memory_arch just does a WARN, we can remove it too. Cc: James Hogan Cc: linux-metag@vger.kernel.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/metag/kernel/devtree.c | 14 -------------- 1 file changed, 14 deletions(-) -- 2.14.1 diff --git a/arch/metag/kernel/devtree.c b/arch/metag/kernel/devtree.c index 18dd7aea9fdc..6af749a64438 100644 --- a/arch/metag/kernel/devtree.c +++ b/arch/metag/kernel/devtree.c @@ -14,26 +14,12 @@ #include #include #include -#include -#include -#include #include #include #include #include -void __init early_init_dt_add_memory_arch(u64 base, u64 size) -{ - pr_err("%s(%llx, %llx)\n", - __func__, base, size); -} - -void * __init early_init_dt_alloc_memory_arch(u64 size, u64 align) -{ - return alloc_bootmem_align(size, align); -} - static const void * __init arch_get_next_mach(const char *const **match) { static const struct machine_desc *mdesc = __arch_info_begin; From patchwork Fri Jan 5 23:14:21 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 123561 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp1397399qgn; Fri, 5 Jan 2018 15:14:50 -0800 (PST) X-Google-Smtp-Source: ACJfBotNhJ2umTsiw2nUPh8UpQX1Bf4ylHr+RrlwsfV7MUCnbcX1rf1fnuGxMTmOhZVrvy3bB56u X-Received: by 10.84.229.143 with SMTP id c15mr4579832plk.300.1515194090594; Fri, 05 Jan 2018 15:14:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1515194090; cv=none; d=google.com; s=arc-20160816; b=NLjS2HT9jTdifIKpnqpAmDmPR2FEjvtaANVXbFb5vqTakJf4Ozh1jmwvsDxSrYyo4T x9Icj3ag5gTPG7PATpK5gAn+f57S6r4985nALR7HdmL3y110tumWHZv3RjLYGqHAch1k V9VY9PIgwGTQL+9VtlvP10oqP5R6zTLsgrS0z/r6LVrrVsjUzct4qMvwKh5540UyYYDj TOvNMyVyFBqzEi1aQZpuQizyfumEK7hlxoaGCSF8lXQ11R+7elIdiqK3VQWU3asv9U9q U8Lpr1FdqetLRT3zygk+dlr67GP9QBl8WNOSBZp59/H+Mu/t45Ji5Wmphxk7Mgbg1j7t +hKQ== 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=0LBnnqjf+JYcv7Hs2WO4+gZN9BgoZl7bR2TdhCTKnpE=; b=iHOwWmAvuYHaZvjQu9GXkbIuIPPHG+l6G7JLigk6sMjwz044cdQf0MXqF4pFXnxbn+ Yt/Nwu70Ldh2LE3NC/hA2v3eSETarc1w/3sC11W2cFgeIKWiTdGbhwbbjWrGJtjLkUeg JDD7QfNUc62xU315noWrrSe2H00wWR6P8Z+/wdfGcZV22+iYnbuWYEgf7BmQEp4v0Ljw tnwHqX+/zjDq8HrQWDQQkMgrSDQ3f0MIxSAd7agQG8uEOzUJOnYiBMX7afsjd6mb7aZR IyvDOIHMNdBwNToXBV87tZOMaSly59jo0LIeYhA/hUuCTr82ac531SI0ljr/TNKHT3B6 giCA== 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 n1si4627561pld.462.2018.01.05.15.14.50; Fri, 05 Jan 2018 15:14:50 -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 S1753228AbeAEXOe (ORCPT + 28 others); Fri, 5 Jan 2018 18:14:34 -0500 Received: from mail-ot0-f196.google.com ([74.125.82.196]:40909 "EHLO mail-ot0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752979AbeAEXOa (ORCPT ); Fri, 5 Jan 2018 18:14:30 -0500 Received: by mail-ot0-f196.google.com with SMTP id d10so5158931oti.7; Fri, 05 Jan 2018 15: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:from:to:cc:subject:date:message-id:in-reply-to :references; bh=0LBnnqjf+JYcv7Hs2WO4+gZN9BgoZl7bR2TdhCTKnpE=; b=sJkxqeNi1ouUJpED2/q5OybsyH0oaIpSsd5eVX3UrACYZP614RaKVxmgsRLomXILV7 CCqViMvylXCeDAUAHzwnrhNh+116N5PwzRYwYXe2gQU857RFAkKWSNrMUPMOVnV10NFk aAWGpQiItu+ihEetX4HESzuqwe4nmJVii2gb2C37VLagNZ/sXYJ/CYC0RWhzzgT/ShVz 0KE+dP//a48NnnFsNbmZINcbKxQtGmFMnpLBIVwq4pMI9km6Qk0fxZqxlfC6RKSlYZex aQFpNdFrPk7WTXSMp1vKOG74j0VGtjbCz8EUggMKotoPuyVSasQWSE8EA0mkM24Jglm9 b1qQ== X-Gm-Message-State: AKwxytdEakObr2XTHGyviTRSat0iUiZLEkDWa2YmdgPPVTb88H9AyLMl /vHNfUrKL5qn9y+FJjsQdoN2zFU= X-Received: by 10.157.28.141 with SMTP id l13mr2901022ota.174.1515194069456; Fri, 05 Jan 2018 15:14:29 -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 p24sm2824627oie.54.2018.01.05.15.14.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 05 Jan 2018 15:14:28 -0800 (PST) From: Rob Herring To: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Frank Rowand , Ralf Baechle , linux-mips@linux-mips.org Subject: [PATCH 4/7] mips: remove arch specific early_init_dt_alloc_memory_arch Date: Fri, 5 Jan 2018 17:14:21 -0600 Message-Id: <20180105231424.19247-5-robh@kernel.org> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180105231424.19247-1-robh@kernel.org> References: <20180105231424.19247-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 MIPS specific early_init_dt_alloc_memory_arch function. Cc: Ralf Baechle Cc: linux-mips@linux-mips.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/mips/kernel/prom.c | 5 ----- 1 file changed, 5 deletions(-) -- 2.14.1 diff --git a/arch/mips/kernel/prom.c b/arch/mips/kernel/prom.c index 0dbcd152a1a9..89950b7bf536 100644 --- a/arch/mips/kernel/prom.c +++ b/arch/mips/kernel/prom.c @@ -44,11 +44,6 @@ void __init early_init_dt_add_memory_arch(u64 base, u64 size) return add_memory_region(base, size, BOOT_MEM_RAM); } -void * __init early_init_dt_alloc_memory_arch(u64 size, u64 align) -{ - return __alloc_bootmem(size, align, __pa(MAX_DMA_ADDRESS)); -} - int __init early_init_dt_reserve_memory_arch(phys_addr_t base, phys_addr_t size, bool nomap) {