From: Arjan van de Ven Date: Sat, 13 Dec 2008 17:15:27 +0000 (-0800) Subject: resources: skip sanity check of busy resources X-Git-Tag: v2.6.29-rc1~572^2^7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3ac52669c7a24b93663acfcab606d1065ed1accd;p=pandora-kernel.git resources: skip sanity check of busy resources Impact: reduce false positives in iomem_map_sanity_check() Some drivers (vesafb) only map/reserve a portion of a resource. If then some other driver comes in and maps the whole resource, the current code WARN_ON's. This is not the intent of the checks in iomem_map_sanity_check(); rather these checks want to warn when crossing *hardware* resources only. This patch skips BUSY resources as suggested by Linus. Note: having two drivers talk to the same hardware at the same time is obviously not optimal behavior, but that's a separate story. Signed-off-by: Arjan van de Ven Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed