From c607c9a2c642191e5dfdb72c649299395af29169 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=E9=BB=84=E6=B6=9B?= Date: Tue, 27 May 2014 16:52:03 +0800 Subject: [PATCH] ARM: rockchip: show Processor on cpuinfo, for some Andorid QQ games --- arch/arm/kernel/setup.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/kernel/setup.c b/arch/arm/kernel/setup.c index 1e839e0ed5b7..c73f3f863464 100644 --- 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 -- 2.34.1