To: | unlisted-recipients:; (no To-header on input) |
---|---|
Subject: | [PATCH 1/2] MIPS: add declaration for function `memory_region_available` |
From: | Mathieu Malaterre <malat@debian.org> |
Date: | Tue, 26 Dec 2017 12:37:13 +0100 |
Cc: | Mathieu Malaterre <malat@debian.org>, Ralf Baechle <ralf@linux-mips.org>, Marcin Nowakowski <marcin.nowakowski@mips.com>, David Daney <david.daney@cavium.com>, Goran Ferenc <goran.ferenc@imgtec.com>, Miodrag Dinic <miodrag.dinic@mips.com>, linux-mips@linux-mips.org, linux-kernel@vger.kernel.org |
Dkim-signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=iEMdNd/CM/cg/SQ8zowbFcGBsiLUxksJF8urFYAzkKo=; b=Ub5K8Kg6dbzn2zYz1fS1OrsDnsI1Ip1lQZYxVTQcCpvj3g7kO5VQJg3O7EyQ5yRhfz JekONaEYZRfrKgMAiXysJXS6bu/Xocq8nRRhAvwMXU42mXY0SGwAGyla407Fabw1/Oll OXwEyRdww9VxVSr+ulewdtBVE75VIHSKlo6T36PD9saWGpnyZ8ElJHRBW1AqWbyb7yM6 7Kq0I/YaCnxjNnwyjngfY0kLFMXQOj61QGVVRIMDlx74synt/j5yrhn+xbVWdkeOAKWN o0BR+u9UBrTgDfIB8klMDsbQ1y0TpCDeWLYpsIuJenSemYth3diJOetGoI/O+y2/ePe9 bDkw== |
List-archive: | <http://www.linux-mips.org/archives/linux-mips/> |
List-help: | <mailto:ecartis@linux-mips.org?Subject=help> |
List-id: | linux-mips <linux-mips.eddie.linux-mips.org> |
List-owner: | <mailto:ralf@linux-mips.org> |
List-post: | <mailto:linux-mips@linux-mips.org> |
List-software: | Ecartis version 1.0.0 |
List-subscribe: | <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips> |
List-unsubscribe: | <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips> |
Original-recipient: | rfc822;linux-mips@linux-mips.org |
Sender: | linux-mips-bounce@linux-mips.org |
Fix non-fatal warning: arch/mips/kernel/setup.c:158:13: warning: no previous prototype for ‘memory_region_available’ [-Wmissing-prototypes] bool __init memory_region_available(phys_addr_t start, phys_addr_t size) ^~~~~~~~~~~~~~~~~~~~~~~ Signed-off-by: Mathieu Malaterre <malat@debian.org> --- arch/mips/include/asm/bootinfo.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/mips/include/asm/bootinfo.h b/arch/mips/include/asm/bootinfo.h index e26a093bb17a..32e3c9a2c5a0 100644 --- a/arch/mips/include/asm/bootinfo.h +++ b/arch/mips/include/asm/bootinfo.h @@ -108,6 +108,7 @@ extern struct boot_mem_map boot_mem_map; extern void add_memory_region(phys_addr_t start, phys_addr_t size, long type); extern void detect_memory_region(phys_addr_t start, phys_addr_t sz_min, phys_addr_t sz_max); +extern bool memory_region_available(phys_addr_t start, phys_addr_t size); extern void prom_init(void); extern void prom_free_prom_memory(void); -- 2.11.0 |
<Prev in Thread] | Current Thread | [Next in Thread> |
---|---|---|
|
Previous by Date: | [PATCH] MIPS: Use proper @return keyword, Mathieu Malaterre |
---|---|
Next by Date: | [PATCH 2/2] MIPS: Remove a warning when PHYS_OFFSET is 0x0, Mathieu Malaterre |
Previous by Thread: | [PATCH] MIPS: Use proper @return keyword, Mathieu Malaterre |
Next by Thread: | [PATCH 2/2] MIPS: Remove a warning when PHYS_OFFSET is 0x0, Mathieu Malaterre |
Indexes: | [Date] [Thread] [Top] [All Lists] |