Message ID | 1348056423-25573-10-git-send-email-laurent.pinchart@ideasonboard.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/drivers/staging/tidspbridge/core/tiomap3430.c b/drivers/staging/tidspbridge/core/tiomap3430.c index cc538ea..5cd85dc 100644 --- a/drivers/staging/tidspbridge/core/tiomap3430.c +++ b/drivers/staging/tidspbridge/core/tiomap3430.c @@ -1508,10 +1508,6 @@ static int bridge_brd_mem_map(struct bridge_dev_context *dev_ctxt, return -EINVAL; } } - if (attrs & DSP_MAPDONOTLOCK) - hw_attrs.donotlockmpupage = 1; - else - hw_attrs.donotlockmpupage = 0; if (attrs & DSP_MAPVMALLOCADDR) { return mem_map_vmalloc(dev_ctxt, mpu_addr, virt_addr, diff --git a/drivers/staging/tidspbridge/hw/hw_mmu.h b/drivers/staging/tidspbridge/hw/hw_mmu.h index 7f960cd..37fc4d4 100644 --- a/drivers/staging/tidspbridge/hw/hw_mmu.h +++ b/drivers/staging/tidspbridge/hw/hw_mmu.h @@ -39,7 +39,6 @@ struct hw_mmu_map_attrs_t { enum hw_endianism_t endianism; enum hw_element_size_t element_size; enum hw_mmu_mixed_size_t mixed_size; - bool donotlockmpupage; }; extern hw_status hw_mmu_enable(const void __iomem *base_address);