diff --git a/security/selinux/selinuxfs.c b/security/selinux/selinuxfs.c index e172f182b65c..8acbaa4f2cb5 100644 --- a/security/selinux/selinuxfs.c +++ b/security/selinux/selinuxfs.c @@ -14,6 +14,7 @@ #include #include +#include #include #include #include @@ -248,7 +249,7 @@ static int sel_mmap_handle_status(struct file *filp, BUG_ON(!status); /* only allows one page from the head */ - if (vma->vm_pgoff > 0 || size != PAGE_SIZE) + if (vma->vm_pgoff > 0 || size != __PAGE_SIZE) return -EIO; /* disallow writable mapping */ if (vma->vm_flags & VM_WRITE)