summaryrefslogtreecommitdiff
path: root/kernel/sys.c
diff options
context:
space:
mode:
authorArjan van de Ven <arjan@linux.intel.com>2008-12-13 17:15:27 (GMT)
committerIngo Molnar <mingo@elte.hu>2008-12-16 22:30:49 (GMT)
commit3ac52669c7a24b93663acfcab606d1065ed1accd (patch)
treed71baaa46f0d443176d2f161d10885d916a5c7e8 /kernel/sys.c
parent1bda71282ded6a2e09a2db7c8884542fb46bfd4f (diff)
downloadlinux-fsl-qoriq-3ac52669c7a24b93663acfcab606d1065ed1accd.tar.xz
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 <arjan@linux.intel.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/sys.c')
0 files changed, 0 insertions, 0 deletions