diff options
author | Nicholas Piggin <npiggin@gmail.com> | 2017-05-09 05:17:08 +0200 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2017-05-09 14:56:03 +0200 |
commit | 75bda95048a4d2c5ff04036bd0181bc84085d8b2 (patch) | |
tree | 76640ad23f31cf1fc90623dc56058836f6247c1f /arch/score/boot | |
parent | of/fdt: introduce of_scan_flat_dt_subnodes and of_get_flat_dt_phandle (diff) | |
download | linux-75bda95048a4d2c5ff04036bd0181bc84085d8b2.tar.xz linux-75bda95048a4d2c5ff04036bd0181bc84085d8b2.zip |
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>
Diffstat (limited to 'arch/score/boot')
0 files changed, 0 insertions, 0 deletions