Allocating uncached memory in 2.6.25(powerpc/440)

vb vb at vsbe.com
Sat Sep 20 07:47:18 EST 2008


I wonder if anyone can help with some hints in this situation:

here is a code fragment to illustrate my question:

if ((ai = kmalloc(sizeof(alloc_info_t) + 4 * szw, GFP_ATOMIC |
GFP_DMA)) != NULL) {
        ai->src = FROM_KMALLOC;
printk("\n%s:%d %p\n", __FUNCTION__, __LINE__, ai);
 while(szw) {


More information about the Linuxppc-embedded mailing list