ARM: shmobile: r8a7791: only use smp_init when SMP is selected
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Fri, 12 Aug 2016 16:45:10 +0000 (18:45 +0200)
committerSimon Horman <horms+renesas@verge.net.au>
Wed, 24 Aug 2016 07:08:57 +0000 (09:08 +0200)
commit82acc69402d91bde8657c0db26e5211943de65fd
treee1c36de50949efcbc865e9868330616e803a0261
parent274607942b789f3a26a11f68464f1f0c15995e87
ARM: shmobile: r8a7791: only use smp_init when SMP is selected

We use the helper function which populates the smp_init pointer only in
case of SMP.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/setup-r8a7791.c