diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-07-28 15:14:43 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-28 15:14:43 -0400 |
commit | 414f746d232d41ed6ae8632c4495ae795373c44b (patch) | |
tree | 167f9bc8f139c6e82e6732b38c7a938b8a9d31cd /drivers/firmware | |
parent | 5a7a201c51c324876d00a54e7208af6af12d1ca4 (diff) | |
parent | c9272c4f9fbe2087beb3392f526dc5b19efaa56b (diff) |
Merge branch 'linus' into cpus4096
Diffstat (limited to 'drivers/firmware')
-rw-r--r-- | drivers/firmware/memmap.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/firmware/memmap.c b/drivers/firmware/memmap.c index e23399c7f773..001622eb86f9 100644 --- a/drivers/firmware/memmap.c +++ b/drivers/firmware/memmap.c | |||
@@ -153,12 +153,14 @@ int __init firmware_map_add_early(resource_size_t start, resource_size_t end, | |||
153 | 153 | ||
154 | static ssize_t start_show(struct firmware_map_entry *entry, char *buf) | 154 | static ssize_t start_show(struct firmware_map_entry *entry, char *buf) |
155 | { | 155 | { |
156 | return snprintf(buf, PAGE_SIZE, "0x%llx\n", entry->start); | 156 | return snprintf(buf, PAGE_SIZE, "0x%llx\n", |
157 | (unsigned long long)entry->start); | ||
157 | } | 158 | } |
158 | 159 | ||
159 | static ssize_t end_show(struct firmware_map_entry *entry, char *buf) | 160 | static ssize_t end_show(struct firmware_map_entry *entry, char *buf) |
160 | { | 161 | { |
161 | return snprintf(buf, PAGE_SIZE, "0x%llx\n", entry->end); | 162 | return snprintf(buf, PAGE_SIZE, "0x%llx\n", |
163 | (unsigned long long)entry->end); | ||
162 | } | 164 | } |
163 | 165 | ||
164 | static ssize_t type_show(struct firmware_map_entry *entry, char *buf) | 166 | static ssize_t type_show(struct firmware_map_entry *entry, char *buf) |