Module Name: src
Committed By: skrll
Date: Thu Jun 8 17:24:10 UTC 2017
Modified Files:
src/external/gpl2/dtc/dist: flattree.c
Log Message:
s/ALIGN/FDTALIGN2/
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/external/gpl2/dtc/dist/flattree.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/gpl2/dtc/dist/flattree.c
diff -u src/external/gpl2/dtc/dist/flattree.c:1.3 src/external/gpl2/dtc/dist/flattree.c:1.4
--- src/external/gpl2/dtc/dist/flattree.c:1.3 Thu Jun 8 16:00:40 2017
+++ src/external/gpl2/dtc/dist/flattree.c Thu Jun 8 17:24:10 2017
@@ -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 <[email protected]>, IBM Corporation. 2005.
@@ -404,7 +404,7 @@ void dt_to_blob(FILE *f, struct dt_info
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) {