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:
1fbb36e
)
ARM: rockchip: show Processor on cpuinfo, for some Andorid QQ games
author
黄涛
<huangtao@rock-chips.com>
Tue, 27 May 2014 08:52:03 +0000
(16:52 +0800)
committer
黄涛
<huangtao@rock-chips.com>
Tue, 27 May 2014 08:52:03 +0000
(16:52 +0800)
arch/arm/kernel/setup.c
patch
|
blob
|
history
diff --git
a/arch/arm/kernel/setup.c
b/arch/arm/kernel/setup.c
index 1e839e0ed5b727174ea2e912695561de76bca9fa..c73f3f863464f3025f50a7642d8fe20937ff0c9b 100644
(file)
--- a/
arch/arm/kernel/setup.c
+++ b/
arch/arm/kernel/setup.c
@@
-922,6
+922,10
@@
static int c_show(struct seq_file *m, void *v)
int i, j;
u32 cpuid;
+#ifdef CONFIG_ARCH_ROCKCHIP
+ seq_printf(m, "Processor\t: %s rev %d (%s)\n",
+ cpu_name, read_cpuid_id() & 15, elf_platform);
+#endif
for_each_online_cpu(i) {
/*
* glibc reads /proc/cpuinfo to determine the number of