powerpc: Fix some #ifndef __KERNEL__ that should be #ifdef
[cascardo/linux.git] / mm / shmem.c
index 65c148e..a1f2f02 100644 (file)
@@ -1270,7 +1270,7 @@ out_nomem:
        return retval;
 }
 
-static int shmem_mmap(struct file *file, struct vm_area_struct *vma)
+int shmem_mmap(struct file *file, struct vm_area_struct *vma)
 {
        file_accessed(file);
        vma->vm_ops = &shmem_vm_ops;