patch-2.4.21 linux-2.4.21/drivers/s390/block/xpram.c
Next file: linux-2.4.21/drivers/s390/char/tuball.c
Previous file: linux-2.4.21/drivers/s390/block/dasd_3990_erp.c
Back to the patch index
Back to the overall index
-  Lines: 20
-  Date:
2003-06-13 07:51:36.000000000 -0700
-  Orig file: 
linux-2.4.20/drivers/s390/block/xpram.c
-  Orig date: 
2001-10-25 13:58:35.000000000 -0700
diff -urN linux-2.4.20/drivers/s390/block/xpram.c linux-2.4.21/drivers/s390/block/xpram.c
@@ -171,7 +171,7 @@
 int xpram_devs, xpram_rahead;
 int xpram_blksize, xpram_hardsect;
 int xpram_mem_avail = 0;
-unsigned long xpram_sizes[XPRAM_MAX_DEVS];
+unsigned int xpram_sizes[XPRAM_MAX_DEVS];
 
 
 MODULE_PARM(devs,"i");
@@ -184,7 +184,9 @@
 		 "All devices with size 0 equally partition the "
 		 "remaining space on the expanded strorage not "
 		 "claimed by explicit sizes\n");
-
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,12))
+MODULE_LICENSE ("GPL");
+#endif
 
 
 /* The following items are obtained through kmalloc() in init_module() */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)