|
|
@@ -269,7 +269,7 @@ static loff_t ashmem_llseek(struct file *file, loff_t offset, int origin)
|
|
|
return ret;
|
|
|
}
|
|
|
|
|
|
-static inline unsigned long calc_vm_may_flags(unsigned long prot)
|
|
|
+static inline vm_flags_t calc_vm_may_flags(unsigned long prot)
|
|
|
{
|
|
|
return _calc_vm_trans(prot, PROT_READ, VM_MAYREAD) |
|
|
|
_calc_vm_trans(prot, PROT_WRITE, VM_MAYWRITE) |
|