From: FUJITA Tomonori Date: Wed, 15 Apr 2009 09:22:41 +0000 (+0900) Subject: dma-debug: add dma_debug_resize_entries() to adjust the number of dma_debug_entries X-Git-Tag: v2.6.31-rc1~408^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e6a1a89d572c31b62d6dcf11a371c7323852d9b2;p=pandora-kernel.git dma-debug: add dma_debug_resize_entries() to adjust the number of dma_debug_entries We use a static value for the number of dma_debug_entries. It can be overwritten by a kernel command line option. Some IOMMUs (e.g. GART) can't set an appropriate value by a kernel command line option because they can't know such value until they finish initializing up their hardware. This patch adds dma_debug_resize_entries() enables IOMMUs to adjust the number of dma_debug_entries anytime. Signed-off-by: FUJITA Tomonori Acked-by: Joerg Roedel Cc: fujita.tomonori@lab.ntt.co.jp Cc: akpm@linux-foundation.org LKML-Reference: <20090415182234R.fujita.tomonori@lab.ntt.co.jp> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed