Skip to contentSkip to conversation

s390 (5/7): kmalloc arguments.

PATCH Pete Zaitcev 1 participant 1 message Mar 7, 2003 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Review

Quoted 6 lines

Add missing GFP_KERNEL to kmallocs with GFP_DMA.

(quoted diff) +1 -1
-	sch = kmalloc (sizeof (*sch), GFP_DMA);
+	sch = kmalloc (sizeof (*sch), GFP_KERNEL | GFP_DMA);
 	if (sch == NULL)
 		return -ENOMEM;

Would you mind explaining why you are doing this?
What does GFP_DMA do on s390 and s390x?

-- Pete