patch-1.3.4 linux/include/linux/module.h

Next file: linux/include/linux/mtio.h
Previous file: linux/include/linux/mm.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.3/linux/include/linux/module.h linux/include/linux/module.h
@@ -85,7 +85,7 @@
 /*
  * The first word of the module contains the use count.
  */
-#define GET_USE_COUNT(module)	(* (int *) (module)->addr)
+#define GET_USE_COUNT(module)	(* (long *) (module)->addr)
 /*
  * define the count variable, and usage macros.
  */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this