Skip to content
Snippets Groups Projects
Commit d8107efd authored by Paul Burton's avatar Paul Burton
Browse files

MIPS: mark R4K clockevent device with CLOCK_EVT_FEAT_PERCPU


The CLOCK_EVT_FEAT_PERCPU flag indicates that a clockevent device is
only configurable by the CPU for which it is registered, and thus cannot
be used as the tick broadcast device. That property is true of the R4K
timer, which is inaccessible from other cores.

Signed-off-by: default avatarPaul Burton <paul.burton@imgtec.com>
parent 5977d682
No related branches found
No related tags found
No related merge requests found
......@@ -196,7 +196,8 @@ int r4k_clockevent_init(void)
cd->name = "MIPS";
cd->features = CLOCK_EVT_FEAT_ONESHOT |
CLOCK_EVT_FEAT_C3STOP;
CLOCK_EVT_FEAT_C3STOP |
CLOCK_EVT_FEAT_PERCPU;
clockevent_set_clock(cd, mips_hpt_frequency);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment