diff options
| author | Ingo Molnar <mingo@elte.hu> | 2008-08-14 06:19:59 -0400 |
|---|---|---|
| committer | Ingo Molnar <mingo@elte.hu> | 2008-08-14 06:19:59 -0400 |
| commit | 8d7ccaa545490cdffdfaff0842436a8dd85cf47b (patch) | |
| tree | 8129b5907161bc6ae26deb3645ce1e280c5e1f51 /scripts/mod/modpost.c | |
| parent | b2139aa0eec330c711c5a279db361e5ef1178e78 (diff) | |
| parent | 30a2f3c60a84092c8084dfe788b710f8d0768cd4 (diff) | |
Merge commit 'v2.6.27-rc3' into x86/prototypes
Conflicts:
include/asm-x86/dma-mapping.h
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'scripts/mod/modpost.c')
| -rw-r--r-- | scripts/mod/modpost.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c index a07f91aac920..418cd7dbbc93 100644 --- a/scripts/mod/modpost.c +++ b/scripts/mod/modpost.c | |||
| @@ -1468,7 +1468,7 @@ static void section_rel(const char *modname, struct elf_info *elf, | |||
| 1468 | * marked __initdata will be discarded when the module has been intialized. | 1468 | * marked __initdata will be discarded when the module has been intialized. |
| 1469 | * Likewise for modules used built-in the sections marked __exit | 1469 | * Likewise for modules used built-in the sections marked __exit |
| 1470 | * are discarded because __exit marked function are supposed to be called | 1470 | * are discarded because __exit marked function are supposed to be called |
| 1471 | * only when a moduel is unloaded which never happes for built-in modules. | 1471 | * only when a module is unloaded which never happens for built-in modules. |
| 1472 | * The check_sec_ref() function traverses all relocation records | 1472 | * The check_sec_ref() function traverses all relocation records |
| 1473 | * to find all references to a section that reference a section that will | 1473 | * to find all references to a section that reference a section that will |
| 1474 | * be discarded and warns about it. | 1474 | * be discarded and warns about it. |
| @@ -1992,7 +1992,8 @@ static void read_markers(const char *fname) | |||
| 1992 | mod->skip = 1; | 1992 | mod->skip = 1; |
| 1993 | } | 1993 | } |
| 1994 | 1994 | ||
| 1995 | add_marker(mod, marker, fmt); | 1995 | if (!mod->skip) |
| 1996 | add_marker(mod, marker, fmt); | ||
| 1996 | } | 1997 | } |
| 1997 | return; | 1998 | return; |
| 1998 | fail: | 1999 | fail: |
