summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/e820/api.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/include/asm/e820/api.h')
-rw-r--r--arch/x86/include/asm/e820/api.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/x86/include/asm/e820/api.h b/arch/x86/include/asm/e820/api.h
index 465c32c9a0dc..4c35c36c62d5 100644
--- a/arch/x86/include/asm/e820/api.h
+++ b/arch/x86/include/asm/e820/api.h
@@ -8,12 +8,12 @@ extern struct e820_table *e820_table_firmware;
extern unsigned long pci_mem_start;
-extern int e820__mapped_any(u64 start, u64 end, unsigned type);
-extern int e820__mapped_all(u64 start, u64 end, unsigned type);
+extern int e820__mapped_any(u64 start, u64 end, enum e820_type type);
+extern int e820__mapped_all(u64 start, u64 end, enum e820_type type);
-extern void e820__range_add (u64 start, u64 size, int type);
-extern u64 e820__range_update(u64 start, u64 size, unsigned old_type, unsigned new_type);
-extern u64 e820__range_remove(u64 start, u64 size, unsigned old_type, int checktype);
+extern void e820__range_add (u64 start, u64 size, enum e820_type type);
+extern u64 e820__range_update(u64 start, u64 size, enum e820_type old_type, enum e820_type new_type);
+extern u64 e820__range_remove(u64 start, u64 size, enum e820_type old_type, int checktype);
extern void e820__print_table(char *who);
extern int e820__update_table(struct e820_entry *biosmap, int max_nr_map, u32 *pnr_map);