Merge remote-tracking branch 'remotes/kernel-2.6.32/develop' into develop-2.6.36
[firefly-linux-kernel-4.4.55.git] / kernel / module.c
index ccd641991842f4990906946f895fd5062a0389c3..323721ca9b1eef37726e05abbf4efe58152f8064 100644 (file)
@@ -3187,6 +3187,7 @@ EXPORT_SYMBOL_GPL(__module_text_address);
 /* Don't grab lock, we're oopsing. */
 void print_modules(void)
 {
+#ifndef CONFIG_ARCH_RK29
        struct module *mod;
        char buf[8];
 
@@ -3199,6 +3200,7 @@ void print_modules(void)
        if (last_unloaded_module[0])
                printk(" [last unloaded: %s]", last_unloaded_module);
        printk("\n");
+#endif
 }
 
 #ifdef CONFIG_MODVERSIONS