diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2017-08-08 16:39:17 +1000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2017-08-10 23:28:59 +1000 |
commit | 13fef7f9da13ab6cc22d456315e88769bf34a02a (patch) | |
tree | a53f8042a0cc627cfd10dc68baec1342ec29c0dc /drivers/ps3 | |
parent | bf9571550f529335caa59f41827d180908759916 (diff) |
powerpc/47x: Guard 47x cputable entries with CONFIG_PPC_47x
Currently we build the 47x cputable entries even when CONFIG_PPC_47x is
disabled. That means a kernel built without CONFIG_PPC_47x will claim to
support a 47x CPU and start booting, only to break somewhere later
because it doesn't have 47x support compiled in.
So guard the 47x cputable entries with CONFIG_PPC_47x. Note that this is
inside the #ifdef CONFIG_44x section, because 47x depends on 44x.
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'drivers/ps3')
0 files changed, 0 insertions, 0 deletions