]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - lib/asm-offsets.c
GCC4.6: Squash warning in mpc5121ads.c
[karo-tx-uboot.git] / lib / asm-offsets.c
index 4eb61747c4fc7cfba03fc23b991d80f99ff5d45e..c88f5d445137066f1322ca2704633625c0e7540b 100644 (file)
 
 int main(void)
 {
+       /* Round up to make sure size gives nice stack alignment */
+       DEFINE(GENERATED_GBL_DATA_SIZE,
+               (sizeof(struct global_data) + 15) & ~15);
+
+       DEFINE(GENERATED_BD_INFO_SIZE,
+               (sizeof(struct bd_info) + 15) & ~15);
+
        return 0;
 }