summaryrefslogtreecommitdiffstats
path: root/include/asm-x86_64/e820.h
diff options
context:
space:
mode:
authorArjan van de Ven <arjan@linux.intel.com>2006-04-07 19:49:24 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2006-04-09 20:53:17 +0200
commiteee5a9fa63c97366cdea6ab3aa2ed9e3601812d0 (patch)
treeb01876c5417f52173e9ab3d76c124df2042c9f62 /include/asm-x86_64/e820.h
parent[PATCH] x86_64: Handle empty PXMs that only contain hotplug memory (diff)
downloadlinux-eee5a9fa63c97366cdea6ab3aa2ed9e3601812d0.tar.xz
linux-eee5a9fa63c97366cdea6ab3aa2ed9e3601812d0.zip
[PATCH] x86_64: Rename e820_mapped to e820_any_mapped
Rename e820_mapped to e820_any_mapped since it tests if any part of the range is mapped according to the type. Later steps will introduce e820_all_mapped which will check if the entire range is mapped with the type. Both have their merit. Signed-off-by: Arjan van de Ven <arjan@linux.intel.com> Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-x86_64/e820.h')
-rw-r--r--include/asm-x86_64/e820.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-x86_64/e820.h b/include/asm-x86_64/e820.h
index 8dcc32665240..4192d0ef093b 100644
--- a/include/asm-x86_64/e820.h
+++ b/include/asm-x86_64/e820.h
@@ -47,7 +47,7 @@ extern void contig_e820_setup(void);
extern unsigned long e820_end_of_ram(void);
extern void e820_reserve_resources(void);
extern void e820_print_map(char *who);
-extern int e820_mapped(unsigned long start, unsigned long end, unsigned type);
+extern int e820_any_mapped(unsigned long start, unsigned long end, unsigned type);
extern void e820_bootmem_free(pg_data_t *pgdat, unsigned long start,unsigned long end);
extern void e820_setup_gap(void);