Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl2/dtc/dist s/ALIGN/FDTALIGN2/



details:   https://anonhg.NetBSD.org/src/rev/63bd6a0abc99
branches:  trunk
changeset: 824548:63bd6a0abc99
user:      skrll <skrll%NetBSD.org@localhost>
date:      Thu Jun 08 17:24:10 2017 +0000

description:
s/ALIGN/FDTALIGN2/

diffstat:

 external/gpl2/dtc/dist/flattree.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 3e3e280a4ff0 -r 63bd6a0abc99 external/gpl2/dtc/dist/flattree.c
--- a/external/gpl2/dtc/dist/flattree.c Thu Jun 08 17:16:44 2017 +0000
+++ b/external/gpl2/dtc/dist/flattree.c Thu Jun 08 17:24:10 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: flattree.c,v 1.3 2017/06/08 16:00:40 skrll Exp $       */
+/*     $NetBSD: flattree.c,v 1.4 2017/06/08 17:24:10 skrll Exp $       */
 
 /*
  * (C) Copyright David Gibson <dwg%au1.ibm.com@localhost>, IBM Corporation.  2005.
@@ -404,7 +404,7 @@
                padlen = padsize;
 
        if (alignsize > 0)
-               padlen = ALIGN(fdt32_to_cpu(fdt.totalsize) + padlen, alignsize)
+               padlen = FDTALIGN2(fdt32_to_cpu(fdt.totalsize) + padlen, alignsize)
                        - fdt32_to_cpu(fdt.totalsize);
 
        if (padlen > 0) {



Home | Main Index | Thread Index | Old Index