diff options
author | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2011-08-11 22:50:56 +0200 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2011-12-06 11:38:03 +0100 |
commit | f21ffe9f6da6d3a69c518b7345c198d48d941c34 (patch) | |
tree | 7981ef410a4960de07da4ffb6210e97b7836fca4 /drivers/xen/swiotlb-xen.c | |
parent | drm: Merge branch 'drm-cleanups-jbarnes' into drm-core-next (diff) | |
download | linux-f21ffe9f6da6d3a69c518b7345c198d48d941c34.tar.xz 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 'drivers/xen/swiotlb-xen.c')
-rw-r--r-- | drivers/xen/swiotlb-xen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/xen/swiotlb-xen.c b/drivers/xen/swiotlb-xen.c index 8e964b91c447..4864e5d72e72 100644 --- a/drivers/xen/swiotlb-xen.c +++ b/drivers/xen/swiotlb-xen.c @@ -153,7 +153,7 @@ void __init xen_swiotlb_init(int verbose) char *m = NULL; unsigned int repeat = 3; - nr_tbl = swioltb_nr_tbl(); + nr_tbl = swiotlb_nr_tbl(); if (nr_tbl) xen_io_tlb_nslabs = nr_tbl; else { |