rk29: disable print_modules
author黄涛 <huangtao@rock-chips.com>
Sat, 2 Jul 2011 04:05:05 +0000 (12:05 +0800)
committer黄涛 <huangtao@rock-chips.com>
Sat, 2 Jul 2011 04:06:16 +0000 (12:06 +0800)
kernel/module.c

index 4b270e666212e29c083d6d012000794599438e73..eb1b9a77ebfbd13ca7991def75bd16611e334499 100644 (file)
@@ -3093,6 +3093,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];
 
@@ -3105,6 +3106,7 @@ void print_modules(void)
        if (last_unloaded_module[0])
                printk(" [last unloaded: %s]", last_unloaded_module);
        printk("\n");
+#endif
 }
 
 #ifdef CONFIG_MODVERSIONS