swiotlb: Defer swiotlb init printing, export swiotlb_print_info()
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Tue, 10 Nov 2009 10:46:19 +0000 (19:46 +0900)
committerIngo Molnar <mingo@elte.hu>
Tue, 10 Nov 2009 11:32:00 +0000 (12:32 +0100)
commitad32e8cb86e7894aac51c8963eaa9f36bb8a4e14
tree4dce812e83de8bd130fd141afc1229b38b483736
parent5740afdb68abadc473fd5392df733558a58c1254
swiotlb: Defer swiotlb init printing, export swiotlb_print_info()

This enables us to avoid printing swiotlb memory info when we
initialize swiotlb. After swiotlb initialization, we could find
that we don't need swiotlb.

This patch removes the code to print swiotlb memory info in
swiotlb_init() and exports the function to do that.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Cc: chrisw@sous-sol.org
Cc: dwmw2@infradead.org
Cc: joerg.roedel@amd.com
Cc: muli@il.ibm.com
Cc: tony.luck@intel.com
Cc: benh@kernel.crashing.org
LKML-Reference: <1257849980-22640-9-git-send-email-fujita.tomonori@lab.ntt.co.jp>
[ -v2: merge up conflict ]
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/ia64/kernel/pci-swiotlb.c
arch/powerpc/kernel/setup_32.c
arch/powerpc/kernel/setup_64.c
arch/x86/kernel/pci-swiotlb.c
include/linux/swiotlb.h
lib/swiotlb.c