]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] remove superflous BUG_ON's in nommu and gart
authorMuli Ben-Yehuda <muli@il.ibm.com>
Tue, 26 Sep 2006 08:52:32 +0000 (10:52 +0200)
committerAndi Kleen <andi@basil.nowhere.org>
Tue, 26 Sep 2006 08:52:32 +0000 (10:52 +0200)
commit2a5afdf703f681813065b4930556ecaa1f7fcea3
treedc6b0a457fa38daf7032764ba44f03d14563c4d8
parenta13d6b77730a34ca0f9b5360415a386709f2d5d4
[PATCH] remove superflous BUG_ON's in nommu and gart

There's no need to check for invalid DMA data direction in nommu and
gart since we do it in dma-mapping.h anyway before calling the
individual dma-ops.

Signed-off-by: Muli Ben-Yehuda <muli@il.ibm.com>
Signed-off-by: Andi Kleen <ak@suse.de>
arch/x86_64/kernel/pci-gart.c
arch/x86_64/kernel/pci-nommu.c