1 diff -Narup linux-2.4.31-orig/arch/ppc/boot/utils/mktree.c linux-2.4.31/arch/ppc/boot/utils/mktree.c
2 --- linux-2.4.31-orig/arch/ppc/boot/utils/mktree.c 2004-08-03 16:31:09.568992888 -0500
3 +++ linux-2.4.31/arch/ppc/boot/utils/mktree.c 2004-08-04 11:06:39.799051328 -0500
7 #include <netinet/in.h>
10 /* This gets tacked on the front of the image. There are also a few
11 * bytes allocated after the _start label used by the boot rom (see
12 * head.S for details).
14 typedef struct boot_block {
15 - unsigned long bb_magic; /* 0x0052504F */
16 - unsigned long bb_dest; /* Target address of the image */
17 - unsigned long bb_num_512blocks; /* Size, rounded-up, in 512 byte blks */
18 - unsigned long bb_debug_flag; /* Run debugger or image after load */
19 - unsigned long bb_entry_point; /* The image address to start */
20 - unsigned long bb_checksum; /* 32 bit checksum including header */
21 - unsigned long reserved[2];
22 + uint32_t bb_magic; /* 0x0052504F */
23 + uint32_t bb_dest; /* Target address of the image */
24 + uint32_t bb_num_512blocks; /* Size, rounded-up, in 512 byte blks */
25 + uint32_t bb_debug_flag; /* Run debugger or image after load */
26 + uint32_t bb_entry_point; /* The image address to start */
27 + uint32_t bb_checksum; /* 32 bit checksum including header */
28 + uint32_t reserved[2];