aboutsummaryrefslogtreecommitdiff
path: root/sys/x86/acpica
diff options
context:
space:
mode:
authorAlexander Motin <mav@FreeBSD.org>2017-08-22 19:56:30 +0000
committerAlexander Motin <mav@FreeBSD.org>2017-08-22 19:56:30 +0000
commitffc7e53a65378f2ba674fe8a2bee41f2309dcb3f (patch)
treec49efa87c06edb450a3773f0263c742bfe40148e /sys/x86/acpica
parentdab076c0048f05cca313de9e328aac5fee1d5f95 (diff)
downloadsrc-ffc7e53a65378f2ba674fe8a2bee41f2309dcb3f.tar.gz
src-ffc7e53a65378f2ba674fe8a2bee41f2309dcb3f.zip
Notes
Diffstat (limited to 'sys/x86/acpica')
-rw-r--r--sys/x86/acpica/srat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/x86/acpica/srat.c b/sys/x86/acpica/srat.c
index 73da79674966..1093ba25ac59 100644
--- a/sys/x86/acpica/srat.c
+++ b/sys/x86/acpica/srat.c
@@ -172,7 +172,7 @@ overlaps_phys_avail(vm_paddr_t start, vm_paddr_t end)
int i;
for (i = 0; phys_avail[i] != 0 && phys_avail[i + 1] != 0; i += 2) {
- if (phys_avail[i + 1] < start)
+ if (phys_avail[i + 1] <= start)
continue;
if (phys_avail[i] < end)
return (1);