patch-2.4.26 linux-2.4.26/include/linux/module.h
Next file: linux-2.4.26/include/linux/netfilter_ipv4/ip_conntrack.h
Previous file: linux-2.4.26/include/linux/lockd/xdr.h
Back to the patch index
Back to the overall index
- Lines: 21
- Date:
2004-04-14 06:05:40.000000000 -0700
- Orig file:
linux-2.4.25/include/linux/module.h
- Orig date:
2002-08-02 17:39:45.000000000 -0700
diff -urN linux-2.4.25/include/linux/module.h linux-2.4.26/include/linux/module.h
@@ -254,9 +254,9 @@
*/
#define MODULE_GENERIC_TABLE(gtype,name) \
static const unsigned long __module_##gtype##_size \
- __attribute__ ((unused)) = sizeof(struct gtype##_id); \
+ __attribute_used__ = sizeof(struct gtype##_id); \
static const struct gtype##_id * __module_##gtype##_table \
- __attribute__ ((unused)) = name
+ __attribute_used__ = name
/*
* The following license idents are currently accepted as indicating free
@@ -319,7 +319,7 @@
*/
#define MODULE_GENERIC_TABLE(gtype,name) \
static const struct gtype##_id * __module_##gtype##_table \
- __attribute__ ((unused, __section__(".data.exit"))) = name
+ __attribute_used__ __attribute__ ((__section__(".data.exit"))) = name
#ifndef __GENKSYMS__
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)