lkml.org 
[lkml]   [2012]   [May]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCHv2 4/4] ARM: dma-mapping: remove custom consistent dma region
    >   static void *
    > __dma_alloc_remap(struct page *page, size_t size, gfp_t gfp, pgprot_t prot,
    > const void *caller)
    > {
    > - struct arm_vmregion *c;
    > - size_t align;
    > - int bit;
    > + struct vm_struct *area;
    > + unsigned long addr;
    >
    > - if (!consistent_pte) {
    > - printk(KERN_ERR "%s: not initialised\n", __func__);
    > + area = get_vm_area_caller(size, VM_DMA | VM_USERMAP, caller);

    In this patch, VM_DMA is only used here. So, is this no effect?



    \
     
     \ /
      Last update: 2012-05-30 02:21    [W:0.055 / U:0.016 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site