Commit 7000ad10 authored by Peter Chubb's avatar Peter Chubb Committed by Christoph Hellwig

[PATCH] Fix name of discarded section in modules.h

  Changeset
  	     willy@debian.org|ChangeSet|20021016154637|46581

in linux 2.5 changed the name of .exit.text to .text.exit.

Unfortunately, one change got missed.  Fix.
parent 00f94068
...@@ -311,7 +311,7 @@ static const char __module_using_checksums[] ...@@ -311,7 +311,7 @@ static const char __module_using_checksums[]
*/ */
#define MODULE_GENERIC_TABLE(gtype,name) \ #define MODULE_GENERIC_TABLE(gtype,name) \
static const struct gtype##_id * __module_##gtype##_table \ static const struct gtype##_id * __module_##gtype##_table \
__attribute__ ((unused, __section__(".data.exit"))) = name __attribute__ ((unused, __section__(".exit.data"))) = name
#ifndef __GENKSYMS__ #ifndef __GENKSYMS__
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment