summaryrefslogtreecommitdiff
path: root/arch/x86/cpu/qemu/e820.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/cpu/qemu/e820.c')
-rw-r--r--arch/x86/cpu/qemu/e820.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/cpu/qemu/e820.c b/arch/x86/cpu/qemu/e820.c
index c1c9b89def7..ec733cb0383 100644
--- a/arch/x86/cpu/qemu/e820.c
+++ b/arch/x86/cpu/qemu/e820.c
@@ -9,7 +9,8 @@
DECLARE_GLOBAL_DATA_PTR;
-unsigned install_e820_map(unsigned max_entries, struct e820entry *entries)
+unsigned int install_e820_map(unsigned int max_entries,
+ struct e820_entry *entries)
{
entries[0].addr = 0;
entries[0].size = ISA_START_ADDRESS;