Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion aq_sysfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ static int memreg_mmap(struct file *file, struct kobject *kobj, struct bin_attri
#if defined(__arm__) || defined(__aarch64__)
// had issues with writes to descriptors/packets not being seen by HW for arm systems. this function seemed to fix this
#ifdef pgprot_dmacoherent
vma->vm_page_pgprot = prot_dmacoherent(vma->vm_page_prot);
vma->vm_page_prot = pgprot_dmacoherent(vma->vm_page_prot);
#else //!defined(pgprot_dmacoherent)
vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot);
//vma->vm_page_prot = pgprot_writecombine(vma->vm_page_prot);
Expand Down