Skip to content

Commit 67fd2c5

Browse files
committed
vchiq: Allocation does not need to be atomic
1 parent 2e7d6a2 commit 67fd2c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/misc/vc04_services/interface/vchiq_arm/vchiq_2835_arm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ vchiq_platform_init(VCHIQ_STATE_T *state)
9999
frag_mem_size = PAGE_ALIGN(sizeof(FRAGMENTS_T) * MAX_FRAGMENTS);
100100

101101
g_slot_mem = dma_alloc_coherent(NULL, g_slot_mem_size + frag_mem_size,
102-
&g_slot_phys, GFP_ATOMIC);
102+
&g_slot_phys, GFP_KERNEL);
103103

104104
if (!g_slot_mem) {
105105
vchiq_log_error(vchiq_arm_log_level,

0 commit comments

Comments
 (0)