]> Pileus Git - ~andy/linux/commit
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)
commit74d24b219bc4ebb20b75d63af2bb577bc1b10b5e
treed6653a2d125e0bbde0c14aa17c54dcfe8c944f34
parent1267b3a325f00291e847ea4a001ccabe5d5516f2
resources: add resource_overlaps()

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>
arch/x86/pci/acpi.c
include/linux/ioport.h