x86, mm: Correct the implementation of is_untracked_pat_range()
[pandora-kernel.git] / arch / x86 / include / asm / e820.h
index 68b4e0e..761249e 100644 (file)
@@ -133,9 +133,13 @@ extern void e820_reserve_resources_late(void);
 extern void setup_memory_map(void);
 extern char *default_machine_specific_memory_setup(void);
 
+/*
+ * Returns true iff the specified range [s,e) is completely contained inside
+ * the ISA region.
+ */
 static inline bool is_ISA_range(u64 s, u64 e)
 {
-       return s >= ISA_START_ADDRESS && e < ISA_END_ADDRESS;
+       return s >= ISA_START_ADDRESS && e <= ISA_END_ADDRESS;
 }
 
 #endif /* __KERNEL__ */