From 7d0857a54aedbd47b3de503933d65ce462970bd6 Mon Sep 17 00:00:00 2001 From: Vineet Gupta Date: Mon, 9 Sep 2013 16:04:15 +0530 Subject: ARC: [SMP] Disallow RTSC RTSC is strictly incore and must not be allowed in SMP configs Signed-off-by: Vineet Gupta --- arch/arc/kernel/time.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'arch/arc/kernel') diff --git a/arch/arc/kernel/time.c b/arch/arc/kernel/time.c index 0a9b6b289c4f..e5f3a837fb35 100644 --- a/arch/arc/kernel/time.c +++ b/arch/arc/kernel/time.c @@ -63,9 +63,10 @@ int arc_counter_setup(void) { - /* RTSC insn taps into cpu clk, needs no setup */ - - /* For SMP, only allowed if cross-core-sync, hence usable as cs */ + /* + * For SMP this needs to be 0. However Kconfig glue doesn't + * enable this option for SMP configs + */ return 1; } -- cgit