PATCH: test13-pre5/drivers/sound/via82cxxx_audio.c did not compile
linux-2.4.0-test13-pre5 eliminated vm_operations_struct->swapout,
but this change was not reflected in drivers/sound/via82cxxx_audio.c, causing that file to fail to compile. I have attached what I believe is the correct fix below.
via82cxxx_audio.c has Jeff Garzik's name on it, but I understand
that he is taking a break for a few weeks to recover from typing strain. (Hope you recover soon, Jeff.) Consequently, I am not sure whom I should ask to "bless" this change. So, I'll just send this to linux-kernel and Linus and will leave it to linux-kernel readers to sound the alarm if I botched the patch.
Signature · 4 lines
Adam J. Richter __ ______________ 4880 Stevens Creek Blvd, Suite 104 [email protected] \ / San Jose, California 95129-1034 +1 408 261-6630 | g g d r a s i l United States of America fax +1 408 261-6631 "Free Software For The Rest Of Us."
drivers/sound/via82cxxx_audio.c +0 -12
@@ -1727,20 +1727,8 @@ } -#ifndef VM_RESERVE -static int via_mm_swapout (struct page *page,struct file *filp) -{ -return 0 ; -} -#endif /* VM_RESERVE */ - -struct vm_operations_struct via_mm_ops = { nopage: via_mm_nopage, - -#ifndef VM_RESERVE - swapout: via_mm_swapout, -#endif };
Quoted 5 lines · Adam J. Richter
linux-2.4.0-test13-pre5 eliminated vm_operations_struct->swapout,but this change was not reflected in
drivers/sound/via82cxxx_audio.c, causing that file to fail to compile. I have attached what I believe is the correct fix below.
Actually, the right fix is to change all VM_RESERVE to VM_RESERVED (ie add a "D" at the end), at which point it should compile and work fine..
Linus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/