mirror of
https://github.com/torvalds/linux.git
synced 2024-11-28 23:21:31 +00:00
50d30040eb
Drivers that use the gen_pool*() family of functions should
select GENERIC_ALLOCATOR to prevent build errors like these:
ld: drivers/accel/ivpu/ivpu_ipc.o: in function `gen_pool_free':
include/linux/genalloc.h:172: undefined reference to `gen_pool_free_owner'
ld: drivers/accel/ivpu/ivpu_ipc.o: in function `gen_pool_alloc_algo':
include/linux/genalloc.h:138: undefined reference to `gen_pool_alloc_algo_owner'
ld: drivers/accel/ivpu/ivpu_ipc.o: in function `gen_pool_free':
include/linux/genalloc.h:172: undefined reference to `gen_pool_free_owner'
ld: drivers/accel/ivpu/ivpu_ipc.o: in function `ivpu_ipc_init':
drivers/accel/ivpu/ivpu_ipc.c:441: undefined reference to `devm_gen_pool_create'
ld: drivers/accel/ivpu/ivpu_ipc.o: in function `gen_pool_add_virt':
include/linux/genalloc.h:104: undefined reference to `gen_pool_add_owner'
Fixes:
|
||
---|---|---|
.. | ||
ivpu_drv.c | ||
ivpu_drv.h | ||
ivpu_fw.c | ||
ivpu_fw.h | ||
ivpu_gem.c | ||
ivpu_gem.h | ||
ivpu_hw_mtl_reg.h | ||
ivpu_hw_mtl.c | ||
ivpu_hw_reg_io.h | ||
ivpu_hw.h | ||
ivpu_ipc.c | ||
ivpu_ipc.h | ||
ivpu_job.c | ||
ivpu_job.h | ||
ivpu_jsm_msg.c | ||
ivpu_jsm_msg.h | ||
ivpu_mmu_context.c | ||
ivpu_mmu_context.h | ||
ivpu_mmu.c | ||
ivpu_mmu.h | ||
ivpu_pm.c | ||
ivpu_pm.h | ||
Kconfig | ||
Makefile | ||
TODO | ||
vpu_boot_api.h | ||
vpu_jsm_api.h |