aboutsummaryrefslogtreecommitdiff
path: root/livetree.c
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2008-06-25 13:53:07 +1000
committerJon Loeliger <jdl@jdl.com>2008-07-14 12:07:19 -0500
commit53359016caf6db9ab2347517a323d6ba8eb6671e (patch)
tree842a2883cc831aaab29db92a528d025d098cc4f3 /livetree.c
parentf8e52fe6d87cadbaf0b440073fb9137bef36ee98 (diff)
downloaddtc-53359016caf6db9ab2347517a323d6ba8eb6671e.zip
dtc-53359016caf6db9ab2347517a323d6ba8eb6671e.tar.gz
dtc-53359016caf6db9ab2347517a323d6ba8eb6671e.tar.bz2
dtc: Use stdint.h types throughout dtc
Currently, dtc defines Linux-like names for various fixed-size integer types. There's no good reason to do this; even Linux itself doesn't use these names for externally visible things any more. This patch replaces these with the C99 standardized type names from stdint.h. Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'livetree.c')
-rw-r--r--livetree.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/livetree.c b/livetree.c
index 0b250fb..51680ae 100644
--- a/livetree.c
+++ b/livetree.c
@@ -123,7 +123,8 @@ void add_child(struct node *parent, struct node *child)
*p = child;
}
-struct reserve_info *build_reserve_entry(u64 address, u64 size, char *label)
+struct reserve_info *build_reserve_entry(uint64_t address, uint64_t size,
+ char *label)
{
struct reserve_info *new = xmalloc(sizeof(*new));
@@ -165,7 +166,7 @@ struct reserve_info *add_reserve_entry(struct reserve_info *list,
}
struct boot_info *build_boot_info(struct reserve_info *reservelist,
- struct node *tree, u32 boot_cpuid_phys)
+ struct node *tree, uint32_t boot_cpuid_phys)
{
struct boot_info *bi;