diff --git a/arch/ppc64/kernel/sys_ppc32.c b/arch/ppc64/kernel/sys_ppc32.c
index 651d69d05427db13103b6354153e2fc641f33829..6a24e2f3bd1125bae7011dcb283ce459317c8a8c 100644
--- a/arch/ppc64/kernel/sys_ppc32.c
+++ b/arch/ppc64/kernel/sys_ppc32.c
@@ -231,7 +231,7 @@ static long do_readv_writev32(int type, struct file *file,
 		kfree(iov);
 	if ((retval + (type == READ)) > 0)
 		dnotify_parent(file->f_dentry,
-			       (type == READ) ? DN_MODIFY : DN_ACCESS);
+			       (type == READ) ? DN_ACCESS : DN_MODIFY);
 
 	return retval;
 }