]> git.baikalelectronics.ru Git - kernel.git/commit
swiotlb: Expose swiotlb_nr_tlb function to modules
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Thu, 11 Aug 2011 20:50:56 +0000 (16:50 -0400)
committerDave Airlie <airlied@redhat.com>
Tue, 6 Dec 2011 10:38:03 +0000 (10:38 +0000)
commitbe07d9aba6c8385e9cfcaf87e3219ae02841b1bf
tree7981ef410a4960de07da4ffb6210e97b7836fca4
parent024e76713f0fd40c365bb10abdbc86d03c4e548e
swiotlb: Expose swiotlb_nr_tlb function to modules

As a mechanism to detect whether SWIOTLB is enabled or not.
We also fix the spelling - it was swioltb instead of
swiotlb.

CC: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
[v1: Ripped out swiotlb_enabled]
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/xen/swiotlb-xen.c
include/linux/swiotlb.h
lib/swiotlb.c