]> www.infradead.org Git - users/jedix/linux-maple.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)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Tue, 4 Dec 2012 17:32:53 +0000 (12:32 -0500)
commit510d75f08e111b9b26018e91ab5b5c52a11accc8
tree8443984ba0a7f434ca5ceee08d1d7d112161c3aa
parentebf9d955d11c052ba82b5b5cbb6f42b039ec55be
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>
(cherry picked from commit f21ffe9f6da6d3a69c518b7345c198d48d941c34)

Conflicts:
include/linux/swiotlb.h
drivers/xen/swiotlb-xen.c
include/linux/swiotlb.h
lib/swiotlb.c