commit | 75bda95048a4d2c5ff04036bd0181bc84085d8b2 | [log] [tgz] |
---|---|---|
author | Nicholas Piggin <npiggin@gmail.com> | Tue May 09 13:17:08 2017 +1000 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Tue May 09 22:56:03 2017 +1000 |
tree | 76640ad23f31cf1fc90623dc56058836f6247c1f | |
parent | ea47dd191d543f81e0912b5dc0471b48346b016e [diff] |
powerpc: Don't print cpu_spec->cpu_name if it's NULL Currently we assume that if the cpu_spec has a pvr_mask then it must also have a cpu_name. But that will change in a subsequent commit when we do CPU feature discovery via the device tree, so check explicitly if cpu_name is NULL. Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>