diff options
author | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2011-08-11 16:50:56 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2011-12-06 10:38:03 +0000 |
commit | f21ffe9f6da6d3a69c518b7345c198d48d941c34 (patch) | |
tree | 7981ef410a4960de07da4ffb6210e97b7836fca4 /include | |
parent | bcdd6b2fd603340fbb0ed9984b32a9a066f1b806 (diff) | |
download | blackbird-op-linux-f21ffe9f6da6d3a69c518b7345c198d48d941c34.tar.gz blackbird-op-linux-f21ffe9f6da6d3a69c518b7345c198d48d941c34.zip |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/swiotlb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/swiotlb.h b/include/linux/swiotlb.h index 445702c60d04..e872526fdc5f 100644 --- a/include/linux/swiotlb.h +++ b/include/linux/swiotlb.h @@ -24,7 +24,7 @@ extern int swiotlb_force; extern void swiotlb_init(int verbose); extern void swiotlb_init_with_tbl(char *tlb, unsigned long nslabs, int verbose); -extern unsigned long swioltb_nr_tbl(void); +extern unsigned long swiotlb_nr_tbl(void); /* * Enumeration for sync targets |