projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7fd880a
)
swiotlb-xen: drop DEFAULT_NSLABS
author
Jan Beulich
<jbeulich@suse.com>
Tue, 7 Sep 2021 12:07:47 +0000
(14:07 +0200)
committer
Juergen Gross
<jgross@suse.com>
Wed, 15 Sep 2021 06:42:04 +0000
(08:42 +0200)
It was introduced by
4035b43da6da
("xen-swiotlb: remove xen_set_nslabs")
and then not removed by
2d29960af0be
("swiotlb: dynamically allocate
io_tlb_default_mem").
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Link:
https://lore.kernel.org/r/15259326-209a-1d11-338c-5018dc38abe8@suse.com
Signed-off-by: Juergen Gross <jgross@suse.com>
drivers/xen/swiotlb-xen.c
patch
|
blob
|
history
diff --git
a/drivers/xen/swiotlb-xen.c
b/drivers/xen/swiotlb-xen.c
index afe8c7eb31b97786aab6a303de686c1203676d63..9c9ba500ef23575a33bc76e41b57e66cffa00019 100644
(file)
--- a/
drivers/xen/swiotlb-xen.c
+++ b/
drivers/xen/swiotlb-xen.c
@@
-152,8
+152,6
@@
static const char *xen_swiotlb_error(enum xen_swiotlb_err err)
return "";
}
-#define DEFAULT_NSLABS ALIGN(SZ_64M >> IO_TLB_SHIFT, IO_TLB_SEGSIZE)
-
int xen_swiotlb_init(void)
{
enum xen_swiotlb_err m_ret = XEN_SWIOTLB_UNKNOWN;