diff options
| author | Linux Build Service Account <lnxbuild@localhost> | 2016-09-30 18:23:33 -0700 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2016-09-30 18:23:33 -0700 |
| commit | 9919a21fd9065365def5324836dbed62b897fec6 (patch) | |
| tree | 0c68d73b3c4abf14f2ffd6e5902b12192deb4c2f | |
| parent | 8c1767673550aef3f01f5c7aff2be247df07e3c8 (diff) | |
| parent | d4b83356bf43f9c15030d9e112b549b3053aa75b (diff) | |
Merge "arm64: Add back print of processor name and rev"
| -rw-r--r-- | arch/arm64/kernel/cpuinfo.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm64/kernel/cpuinfo.c b/arch/arm64/kernel/cpuinfo.c index 3691553f218e..c3c6557eb083 100644 --- a/arch/arm64/kernel/cpuinfo.c +++ b/arch/arm64/kernel/cpuinfo.c @@ -19,6 +19,7 @@ #include <asm/cpu.h> #include <asm/cputype.h> #include <asm/cpufeature.h> +#include <asm/elf.h> #include <linux/bitops.h> #include <linux/bug.h> @@ -107,6 +108,8 @@ static int c_show(struct seq_file *m, void *v) { int i, j; + seq_printf(m, "Processor\t: AArch64 Processor rev %d (%s)\n", + read_cpuid_id() & 15, ELF_PLATFORM); for_each_present_cpu(i) { struct cpuinfo_arm64 *cpuinfo = &per_cpu(cpu_data, i); u32 midr = cpuinfo->reg_midr; |
