|
@@ -116,7 +116,7 @@ setup_io_tlb_npages(char *str)
|
|
__setup("swiotlb=", setup_io_tlb_npages);
|
|
__setup("swiotlb=", setup_io_tlb_npages);
|
|
/* make io_tlb_overflow tunable too? */
|
|
/* make io_tlb_overflow tunable too? */
|
|
|
|
|
|
-void * __weak swiotlb_alloc_boot(size_t size, unsigned long nslabs)
|
|
|
|
|
|
+void * __weak __init swiotlb_alloc_boot(size_t size, unsigned long nslabs)
|
|
{
|
|
{
|
|
return alloc_bootmem_low_pages(size);
|
|
return alloc_bootmem_low_pages(size);
|
|
}
|
|
}
|