Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-9]: src/sys/arch/evbarm/fdt Pull up following revision(s) (reques...
details: https://anonhg.NetBSD.org/src/rev/1541cb8ab2de
branches: netbsd-9
changeset: 744197:1541cb8ab2de
user: martin <martin%NetBSD.org@localhost>
date: Mon Jan 27 07:12:41 2020 +0000
description:
Pull up following revision(s) (requested by jmcneill in ticket #659):
sys/arch/evbarm/fdt/fdt_memory.c: revision 1.4
Save 400KB of RAM by fixing a really dumb bug in sizing of the fdt memory
pool.
diffstat:
sys/arch/evbarm/fdt/fdt_memory.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 9151963c9047 -r 1541cb8ab2de sys/arch/evbarm/fdt/fdt_memory.c
--- a/sys/arch/evbarm/fdt/fdt_memory.c Mon Jan 27 07:10:17 2020 +0000
+++ b/sys/arch/evbarm/fdt/fdt_memory.c Mon Jan 27 07:12:41 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fdt_memory.c,v 1.3 2018/11/01 10:48:48 jmcneill Exp $ */
+/* $NetBSD: fdt_memory.c,v 1.3.8.1 2020/01/27 07:12:41 martin Exp $ */
/*-
* Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -32,7 +32,7 @@
#include "opt_bootconfig.h"
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: fdt_memory.c,v 1.3 2018/11/01 10:48:48 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fdt_memory.c,v 1.3.8.1 2020/01/27 07:12:41 martin Exp $");
#include <sys/param.h>
#include <sys/queue.h>
@@ -48,7 +48,7 @@
static TAILQ_HEAD(fdt_memory_rangehead, fdt_memory_range) fdt_memory_ranges =
TAILQ_HEAD_INITIALIZER(fdt_memory_ranges);
-static struct fdt_memory_range fdt_memory_range_pool[sizeof(struct fdt_memory_range) * DRAM_BLOCKS];
+static struct fdt_memory_range fdt_memory_range_pool[DRAM_BLOCKS];
static struct fdt_memory_range *
fdt_memory_range_alloc(void)
Home |
Main Index |
Thread Index |
Old Index