diff options
author | Vineet Gupta <vgupta@synopsys.com> | 2014-09-04 05:27:33 (GMT) |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2014-09-27 09:19:01 (GMT) |
commit | 619f30188ff0d10fccc3cd952a79cb56ff62db54 (patch) | |
tree | 9bf015ba703fdd05d781b370792c0bba1f98d373 /arch/arc/kernel/smp.c | |
parent | 2ce7598c9a453e0acd0e07be7be3f5eb39608ebd (diff) | |
download | linux-619f30188ff0d10fccc3cd952a79cb56ff62db54.tar.xz |
ARC: Allow SMP kernel to build/boot on UP-only infrastructure
In light of recent SNAFU with SMP build, allow simple platform to build
as SMP but run UP.
* Remove the dependence on simulation SMP extension to enable quick
build/test iterations of SMP kernel.
* In absence of platform SMP registration, prevent the NULL smp feature
name from borkign the system
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/kernel/smp.c')
-rw-r--r-- | arch/arc/kernel/smp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arc/kernel/smp.c b/arch/arc/kernel/smp.c index dcd317c..d01df0c 100644 --- a/arch/arc/kernel/smp.c +++ b/arch/arc/kernel/smp.c @@ -101,7 +101,7 @@ void __weak arc_platform_smp_wait_to_boot(int cpu) const char *arc_platform_smp_cpuinfo(void) { - return plat_smp_ops.info; + return plat_smp_ops.info ? : ""; } /* |