summaryrefslogtreecommitdiffstats
path: root/arch/arc/include
diff options
context:
space:
mode:
authorAlexey Brodkin <Alexey.Brodkin@synopsys.com>2017-11-29 09:21:45 +0100
committerVineet Gupta <vgupta@synopsys.com>2018-06-21 01:12:06 +0200
commit2f24ef7413a4d91657ef04e77c27ce0b313e6c95 (patch)
tree07accc0f1b4b2a5e906b4e6bde4f91ca88b29170 /arch/arc/include
parentARC: Explicitly add -mmedium-calls to CFLAGS (diff)
downloadlinux-2f24ef7413a4d91657ef04e77c27ce0b313e6c95.tar.xz
linux-2f24ef7413a4d91657ef04e77c27ce0b313e6c95.zip
ARC: Enable machine_desc->init_per_cpu for !CONFIG_SMP
machine_desc->init_per_cpu() hook is supposed to be per cpu initialization and would seem to apply equally to UP and/or SMP. Infact the comment in header file seems to suggest it works for UP too, which was not the case and this patch. This enables !CONFIG_SMP build for platforms such as hsdk. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Signed-off-by: Vineet Gupta <vgupta@synopsys.com> [vgupta: trimmeed changelog]
Diffstat (limited to 'arch/arc/include')
-rw-r--r--arch/arc/include/asm/mach_desc.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arc/include/asm/mach_desc.h b/arch/arc/include/asm/mach_desc.h
index c28e6c347b49..871f3cb16af9 100644
--- a/arch/arc/include/asm/mach_desc.h
+++ b/arch/arc/include/asm/mach_desc.h
@@ -34,9 +34,7 @@ struct machine_desc {
const char *name;
const char **dt_compat;
void (*init_early)(void);
-#ifdef CONFIG_SMP
void (*init_per_cpu)(unsigned int);
-#endif
void (*init_machine)(void);
void (*init_late)(void);