projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d032591
)
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
patch
|
blob
|
history
diff --git
a/kernel/module.c
b/kernel/module.c
index 4b270e666212e29c083d6d012000794599438e73..eb1b9a77ebfbd13ca7991def75bd16611e334499 100644
(file)
--- a/
kernel/module.c
+++ b/
kernel/module.c
@@
-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