summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/devices/device.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/devices/device.c b/src/devices/device.c
index 94cd952bdb..434222cc3c 100644
--- a/src/devices/device.c
+++ b/src/devices/device.c
@@ -583,7 +583,9 @@ static void constrain_resources(struct device *dev, struct constraints* limits)
else
continue;
- /* Is it already outside the limits? */
+ /* Is it a fixed resource outside the current known region?
+ If so, we don't have to consider it - it will be handled
+ correctly and doesn't affect current region's limits */
if (((res->base + res->size -1) < lim->base) || (res->base > lim->limit))
continue;