|
@@ -309,7 +309,7 @@ static int spufs_mem_mmap_access(struct vm_area_struct *vma,
|
|
|
return len;
|
|
|
}
|
|
|
|
|
|
-static struct vm_operations_struct spufs_mem_mmap_vmops = {
|
|
|
+static const struct vm_operations_struct spufs_mem_mmap_vmops = {
|
|
|
.fault = spufs_mem_mmap_fault,
|
|
|
.access = spufs_mem_mmap_access,
|
|
|
};
|
|
@@ -436,7 +436,7 @@ static int spufs_cntl_mmap_fault(struct vm_area_struct *vma,
|
|
|
return spufs_ps_fault(vma, vmf, 0x4000, SPUFS_CNTL_MAP_SIZE);
|
|
|
}
|
|
|
|
|
|
-static struct vm_operations_struct spufs_cntl_mmap_vmops = {
|
|
|
+static const struct vm_operations_struct spufs_cntl_mmap_vmops = {
|
|
|
.fault = spufs_cntl_mmap_fault,
|
|
|
};
|
|
|
|
|
@@ -1143,7 +1143,7 @@ spufs_signal1_mmap_fault(struct vm_area_struct *vma, struct vm_fault *vmf)
|
|
|
#endif
|
|
|
}
|
|
|
|
|
|
-static struct vm_operations_struct spufs_signal1_mmap_vmops = {
|
|
|
+static const struct vm_operations_struct spufs_signal1_mmap_vmops = {
|
|
|
.fault = spufs_signal1_mmap_fault,
|
|
|
};
|
|
|
|
|
@@ -1279,7 +1279,7 @@ spufs_signal2_mmap_fault(struct vm_area_struct *vma, struct vm_fault *vmf)
|
|
|
#endif
|
|
|
}
|
|
|
|
|
|
-static struct vm_operations_struct spufs_signal2_mmap_vmops = {
|
|
|
+static const struct vm_operations_struct spufs_signal2_mmap_vmops = {
|
|
|
.fault = spufs_signal2_mmap_fault,
|
|
|
};
|
|
|
|
|
@@ -1397,7 +1397,7 @@ spufs_mss_mmap_fault(struct vm_area_struct *vma, struct vm_fault *vmf)
|
|
|
return spufs_ps_fault(vma, vmf, 0x0000, SPUFS_MSS_MAP_SIZE);
|
|
|
}
|
|
|
|
|
|
-static struct vm_operations_struct spufs_mss_mmap_vmops = {
|
|
|
+static const struct vm_operations_struct spufs_mss_mmap_vmops = {
|
|
|
.fault = spufs_mss_mmap_fault,
|
|
|
};
|
|
|
|
|
@@ -1458,7 +1458,7 @@ spufs_psmap_mmap_fault(struct vm_area_struct *vma, struct vm_fault *vmf)
|
|
|
return spufs_ps_fault(vma, vmf, 0x0000, SPUFS_PS_MAP_SIZE);
|
|
|
}
|
|
|
|
|
|
-static struct vm_operations_struct spufs_psmap_mmap_vmops = {
|
|
|
+static const struct vm_operations_struct spufs_psmap_mmap_vmops = {
|
|
|
.fault = spufs_psmap_mmap_fault,
|
|
|
};
|
|
|
|
|
@@ -1517,7 +1517,7 @@ spufs_mfc_mmap_fault(struct vm_area_struct *vma, struct vm_fault *vmf)
|
|
|
return spufs_ps_fault(vma, vmf, 0x3000, SPUFS_MFC_MAP_SIZE);
|
|
|
}
|
|
|
|
|
|
-static struct vm_operations_struct spufs_mfc_mmap_vmops = {
|
|
|
+static const struct vm_operations_struct spufs_mfc_mmap_vmops = {
|
|
|
.fault = spufs_mfc_mmap_fault,
|
|
|
};
|
|
|
|