patch-2.1.106 linux/arch/m68k/atari/stram.c

Next file: linux/arch/m68k/atari/time.c
Previous file: linux/arch/m68k/atari/joystick.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.105/linux/arch/m68k/atari/stram.c linux/arch/m68k/atari/stram.c
@@ -954,7 +954,7 @@
 				return( -ENOMEM );
 			}
 			DPRINTK( "unswap: reading swap page %lu to %08lx\n", i, page );
-			read_swap_page( entry, (char *)page );
+			rw_swap_page( READ, entry, (char *)page, 1 );
 
 			for_each_task(p) {
 				if (unswap_process( p->mm, entry, page, 0 )) {

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov