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:
01f63ae
)
rk29: last_log: support /proc/last_kmsg when ANDROID_RAM_CONSOLE is not enabled,...
author
黄涛
<huangtao@rock-chips.com>
Fri, 2 Dec 2011 06:05:35 +0000
(14:05 +0800)
committer
黄涛
<huangtao@rock-chips.com>
Fri, 2 Dec 2011 06:05:56 +0000
(14:05 +0800)
arch/arm/mach-rk29/last_log.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-rk29/last_log.c
b/arch/arm/mach-rk29/last_log.c
index 7096001eb3779f9e4b1a343339ca4a0fe477a3d4..6e6ead70372b129537534d44a82ac3bc28e44ea2 100644
(file)
--- a/
arch/arm/mach-rk29/last_log.c
+++ b/
arch/arm/mach-rk29/last_log.c
@@
-65,6
+65,10
@@
static int __init last_log_init(void)
entry->proc_fops = &last_log_file_ops;
entry->size = LOG_BUF_LEN;
+#ifndef CONFIG_ANDROID_RAM_CONSOLE
+ proc_symlink("last_kmsg", NULL, "last_log");
+#endif
+
return 0;
}