Make sure common.h is the first include.
PATCH 1/1 Make sure common.h is the first include.
If common.h isn't first we can get CONFIG_ options defined in the board config file ignored. This can cause an issue if any of those config options impact the size of types of data structures (eg CONFIG_PHYS_64BIT).
Signed-off-by Kumar Gala <[email protected]>
---
Should be looked at for v1.3.3
- k
common/dlmalloc.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
common/dlmalloc.c +2 -1
@@ -1,3 +1,5 @@ +#include <common.h> +#if 0 /* Moved to malloc.h */ /* ---------- To make a malloc.h, start cutting here ------------ */
@@ -947,7 +949,6 @@ void malloc_stats();#endif /* 0 */ #endif /* 0 */ /* Moved to malloc.h */ -#include <common.h> DECLARE_GLOBAL_DATA_PTR ;
Signature · 1 line
1.5.4.1
Wolfgang Denk
AppliedPATCH 1/1 Make sure common.h is the first include.
Quoted 6 lines · In message <[email protected]> you wrote:
If
common.hisn't first we can getCONFIG_options defined in the board config file ignored. This can cause an issue if any of those config options impact the size of types of data structures (egCONFIG_PHYS_64BIT).Signed-off-by Kumar Gala <[email protected]>
Quoted 8 lines
---
Should be looked at for v1.3.3
- k
common/dlmalloc.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
Applied, thanks.
Best regards,
Wolfgang Denk
Signature · 5 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de "The hottest places in Hell are reserved for those who, in times of moral crisis, preserved their neutrality." - Dante