patch-2.3.40 linux/arch/m68k/atari/stram.c
Next file: linux/arch/m68k/config.in
Previous file: linux/arch/i386/vmlinux.lds
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Tue Jan 18 18:54:20 2000
- Orig file:
v2.3.39/linux/arch/m68k/atari/stram.c
- Orig date:
Fri Jan 7 19:13:21 2000
diff -u --recursive --new-file v2.3.39/linux/arch/m68k/atari/stram.c linux/arch/m68k/atari/stram.c
@@ -1255,6 +1255,8 @@
blksize_size[STRAM_MAJOR] = stram_blocksizes;
stram_sizes[STRAM_MINOR] = (swap_end - swap_start)/1024;
blk_size[STRAM_MAJOR] = stram_sizes;
+ register_disk(NULL, MKDEV(STRAM_MAJOR, STRAM_MINOR), 1, &stram_fops,
+ (swap_end-swap_start)>>9);
do_z2_request(); /* to avoid warning */
return( 0 );
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)