patch-2.4.0-prerelease linux/drivers/sound/via82cxxx_audio.c

Next file: linux/drivers/sound/wavfront.c
Previous file: linux/drivers/sound/trident.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test12/linux/drivers/sound/via82cxxx_audio.c linux/drivers/sound/via82cxxx_audio.c
@@ -1727,18 +1727,18 @@
 }
 
 
-#ifndef VM_RESERVE
+#ifndef VM_RESERVED
 static int via_mm_swapout (struct page *page, struct file *filp)
 {
 	return 0;
 }
-#endif /* VM_RESERVE */
+#endif /* VM_RESERVED */
 
 
 struct vm_operations_struct via_mm_ops = {
 	nopage:		via_mm_nopage,
 
-#ifndef VM_RESERVE
+#ifndef VM_RESERVED
 	swapout:	via_mm_swapout,
 #endif
 };
@@ -1789,8 +1789,8 @@
 	vma->vm_ops = &via_mm_ops;
 	vma->vm_private_data = card;
 
-#ifdef VM_RESERVE
-	vma->vm_flags |= VM_RESERVE;
+#ifdef VM_RESERVED
+	vma->vm_flags |= VM_RESERVED;
 #endif
 
 	if (rd)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)