summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/hardware/iop_adma.h
diff options
context:
space:
mode:
authorIngo Molnar2008-11-18 16:48:49 +0100
committerIngo Molnar2008-11-18 16:48:49 +0100
commit73f56c0d35e6427081a4eabd620d8b8d8a35bd09 (patch)
tree9fe1a2577baea03f3a6ec4a5e79f3ff26c4ee0ae /arch/arm/include/asm/hardware/iop_adma.h
parentx86: more general identifier for Phoenix BIOS (diff)
parentAMD IOMMU: check for next_bit also in unmapped area (diff)
downloadkernel-qcow2-linux-73f56c0d35e6427081a4eabd620d8b8d8a35bd09.tar.gz
kernel-qcow2-linux-73f56c0d35e6427081a4eabd620d8b8d8a35bd09.tar.xz
kernel-qcow2-linux-73f56c0d35e6427081a4eabd620d8b8d8a35bd09.zip
Merge branch 'iommu-fixes-2.6.28' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/linux-2.6-iommu into x86/urgent
Diffstat (limited to 'arch/arm/include/asm/hardware/iop_adma.h')
-rw-r--r--arch/arm/include/asm/hardware/iop_adma.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/include/asm/hardware/iop_adma.h b/arch/arm/include/asm/hardware/iop_adma.h
index cb7e3611bcba..385c6e8cbbd2 100644
--- a/arch/arm/include/asm/hardware/iop_adma.h
+++ b/arch/arm/include/asm/hardware/iop_adma.h
@@ -23,6 +23,12 @@
#define IOP_ADMA_SLOT_SIZE 32
#define IOP_ADMA_THRESHOLD 4
+#ifdef DEBUG
+#define IOP_PARANOIA 1
+#else
+#define IOP_PARANOIA 0
+#endif
+#define iop_paranoia(x) BUG_ON(IOP_PARANOIA && (x))
/**
* struct iop_adma_device - internal representation of an ADMA device