]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
Merge branch 'linus' into tracing-v28-for-linus-v3
authorIngo Molnar <mingo@elte.hu>
Sun, 19 Oct 2008 17:04:47 +0000 (19:04 +0200)
committerIngo Molnar <mingo@elte.hu>
Sun, 19 Oct 2008 17:04:47 +0000 (19:04 +0200)
Conflicts:
init/main.c
kernel/module.c
scripts/bootgraph.pl

1  2 
arch/x86/Kconfig
include/asm-generic/vmlinux.lds.h
include/linux/init.h
include/linux/kernel.h
include/linux/module.h
init/Kconfig
kernel/exit.c
kernel/module.c

Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
diff --cc init/Kconfig
Simple merge
diff --cc kernel/exit.c
Simple merge
diff --cc kernel/module.c
index 7576c2d9462fc2dc2cadb40d4663512a99d00185,25bc9ac9e226ae02dce8ff39a7c1d914684b4e3e..0d8d21ee792c4e5812694162d241b7975ffd99bf
@@@ -1836,9 -1860,7 +1865,10 @@@ static noinline struct module *load_mod
  #endif
        unsigned int markersindex;
        unsigned int markersstringsindex;
+       unsigned int verboseindex;
 +      unsigned int tracepointsindex;
 +      unsigned int tracepointsstringsindex;
 +      unsigned int mcountindex;
        struct module *mod;
        long err = 0;
        void *percpu = NULL, *ptr = NULL; /* Stops spurious gcc warning */
        markersindex = find_sec(hdr, sechdrs, secstrings, "__markers");
        markersstringsindex = find_sec(hdr, sechdrs, secstrings,
                                        "__markers_strings");
+       verboseindex = find_sec(hdr, sechdrs, secstrings, "__verbose");
 +      tracepointsindex = find_sec(hdr, sechdrs, secstrings, "__tracepoints");
 +      tracepointsstringsindex = find_sec(hdr, sechdrs, secstrings,
 +                                      "__tracepoints_strings");
 +
 +      mcountindex = find_sec(hdr, sechdrs, secstrings,
 +                             "__mcount_loc");
  
        /* Now do relocations. */
        for (i = 1; i < hdr->e_shnum; i++) {
                marker_update_probe_range(mod->markers,
                        mod->markers + mod->num_markers);
  #endif
+       dynamic_printk_setup(sechdrs, verboseindex);
 +#ifdef CONFIG_TRACEPOINTS
 +              tracepoint_update_probe_range(mod->tracepoints,
 +                      mod->tracepoints + mod->num_tracepoints);
 +#endif
 +      }
 +
 +      /* sechdrs[0].sh_size is always zero */
 +      mseg = (void *)sechdrs[mcountindex].sh_addr;
 +      ftrace_init_module(mseg, mseg + sechdrs[mcountindex].sh_size);
 +
        err = module_finalize(hdr, sechdrs, mod);
        if (err < 0)
                goto cleanup;