diff options
author | Ingo Molnar <mingo@kernel.org> | 2016-03-04 06:12:08 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2016-03-04 06:12:08 -0500 |
commit | bc94b99636dc7bcccce439a9fb9c00065e2e2627 (patch) | |
tree | bddbd29a5fd7b2d270d039efc1d6858791a2c98f /kernel/resource.c | |
parent | 4650bac1fc45d64aef62ab99aa4db93d41dedbd9 (diff) | |
parent | fc77dbd34c5c99bce46d40a2491937c3bcbd10af (diff) |
Merge tag 'v4.5-rc6' into core/resources, to resolve conflict
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/resource.c')
-rw-r--r-- | kernel/resource.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/kernel/resource.c b/kernel/resource.c index 49834309043c..4d466052426b 100644 --- a/kernel/resource.c +++ b/kernel/resource.c | |||
@@ -1098,9 +1098,10 @@ struct resource * __request_region(struct resource *parent, | |||
1098 | if (!conflict) | 1098 | if (!conflict) |
1099 | break; | 1099 | break; |
1100 | if (conflict != parent) { | 1100 | if (conflict != parent) { |
1101 | parent = conflict; | 1101 | if (!(conflict->flags & IORESOURCE_BUSY)) { |
1102 | if (!(conflict->flags & IORESOURCE_BUSY)) | 1102 | parent = conflict; |
1103 | continue; | 1103 | continue; |
1104 | } | ||
1104 | } | 1105 | } |
1105 | if (conflict->flags & flags & IORESOURCE_MUXED) { | 1106 | if (conflict->flags & flags & IORESOURCE_MUXED) { |
1106 | add_wait_queue(&muxed_resource_wait, &wait); | 1107 | add_wait_queue(&muxed_resource_wait, &wait); |