aboutsummaryrefslogtreecommitdiffstats
path: root/xenolinux-2.4.25-sparse/mm/mprotect.c
diff options
context:
space:
mode:
Diffstat (limited to 'xenolinux-2.4.25-sparse/mm/mprotect.c')
-rw-r--r--xenolinux-2.4.25-sparse/mm/mprotect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xenolinux-2.4.25-sparse/mm/mprotect.c b/xenolinux-2.4.25-sparse/mm/mprotect.c
index e618a3b74d..9d2ed3c24c 100644
--- a/xenolinux-2.4.25-sparse/mm/mprotect.c
+++ b/xenolinux-2.4.25-sparse/mm/mprotect.c
@@ -288,7 +288,7 @@ asmlinkage long sys_mprotect(unsigned long start, size_t len, unsigned long prot
if (!vma || vma->vm_start > start)
goto out;
-#if defined(CONFIG_XENO_PRIV)
+#if defined(CONFIG_XEN_PRIVILEGED_GUEST)
/* mprotect() unsupported for I/O mappings in Xenolinux. */
error = -EINVAL;
if (vma->vm_flags & VM_IO)