ARC: [SMP] Disallow RTSC
RTSC is strictly incore and must not be allowed in SMP configs Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user