]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - kernel/tracepoint.c
Blackfin arch: use generic xor.h
[linux-2.6-omap-h63xx.git] / kernel / tracepoint.c
index 94ac4e35530db5e42d538c19116526951bd6402f..79602740bbb5f396278dbe1665eada4c6f0259f0 100644 (file)
@@ -542,6 +542,8 @@ void tracepoint_iter_reset(struct tracepoint_iter *iter)
 }
 EXPORT_SYMBOL_GPL(tracepoint_iter_reset);
 
+#ifdef CONFIG_MODULES
+
 int tracepoint_module_notify(struct notifier_block *self,
                             unsigned long val, void *data)
 {
@@ -570,3 +572,5 @@ static int init_tracepoints(void)
        return register_module_notifier(&tracepoint_module_nb);
 }
 __initcall(init_tracepoints);
+
+#endif /* CONFIG_MODULES */