File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -683,7 +683,7 @@ impl GpuManager::ver {
683683 ) ?;
684684
685685 let alloc_ref = & mut alloc;
686- let tx_channels = Box :: init (
686+ let tx_channels = KBox :: init (
687687 try_init ! ( TxChannels :: ver {
688688 device_control: channel:: DeviceControlChannel :: ver:: new( dev, alloc_ref) ?,
689689 } ) ,
@@ -697,7 +697,7 @@ impl GpuManager::ver {
697697 dyncfg: * dyncfg,
698698 initdata: * initdata,
699699 uat: * uat,
700- io_mappings: Vec :: new( ) ,
700+ io_mappings: KVec :: new( ) ,
701701 next_mmio_iova: IOVA_KERN_MMIO_RANGE . start,
702702 rtkit <- Mutex :: new_named( None , c_str!( "rtkit" ) ) ,
703703 crashed: AtomicBool :: new( false ) ,
@@ -710,7 +710,7 @@ impl GpuManager::ver {
710710 buffer_mgr,
711711 ids: Default :: default ( ) ,
712712 garbage_work <- Mutex :: new_named( Vec :: new( ) , c_str!( "garbage_work" ) ) ,
713- garbage_contexts <- Mutex :: new_named( Vec :: new( ) , c_str!( "garbage_contexts" ) ) ,
713+ garbage_contexts <- Mutex :: new_named( KVec :: new( ) , c_str!( "garbage_contexts" ) ) ,
714714 } ) ,
715715 GFP_KERNEL ,
716716 ) ?;
You can’t perform that action at this time.
0 commit comments