aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/e820.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/include/asm/e820.h')
-rw-r--r--arch/x86/include/asm/e820.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/x86/include/asm/e820.h b/arch/x86/include/asm/e820.h
index 68b4e0ec1950..761249e396fe 100644
--- a/arch/x86/include/asm/e820.h
+++ b/arch/x86/include/asm/e820.h
@@ -133,9 +133,13 @@ extern void e820_reserve_resources_late(void);
133extern void setup_memory_map(void); 133extern void setup_memory_map(void);
134extern char *default_machine_specific_memory_setup(void); 134extern char *default_machine_specific_memory_setup(void);
135 135
136/*
137 * Returns true iff the specified range [s,e) is completely contained inside
138 * the ISA region.
139 */
136static inline bool is_ISA_range(u64 s, u64 e) 140static inline bool is_ISA_range(u64 s, u64 e)
137{ 141{
138 return s >= ISA_START_ADDRESS && e < ISA_END_ADDRESS; 142 return s >= ISA_START_ADDRESS && e <= ISA_END_ADDRESS;
139} 143}
140 144
141#endif /* __KERNEL__ */ 145#endif /* __KERNEL__ */