From: 黄涛 Date: Tue, 27 May 2014 08:52:03 +0000 (+0800) Subject: ARM: rockchip: show Processor on cpuinfo, for some Andorid QQ games X-Git-Tag: firefly_0821_release~5220 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=c607c9a2c642191e5dfdb72c649299395af29169;p=firefly-linux-kernel-4.4.55.git ARM: rockchip: show Processor on cpuinfo, for some Andorid QQ games --- 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