resources: add resource_overlaps()
authorWei Yang <weiyang@linux.vnet.ibm.com>
Thu, 26 Apr 2012 07:32:55 +0000 (15:32 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 7 May 2012 16:58:57 +0000 (10:58 -0600)
Add resource_overlaps(), which returns true if two resources overlap at all.

Use this to replace the complicated check in coalesce_windows().

Signed-Off-By: Wei Yang <weiyang@linux.vnet.ibm.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>

No differences found