aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips
diff options
context:
space:
mode:
authorPaul Burton <paul.burton@imgtec.com>2014-02-14 04:20:15 -0500
committerPaul Burton <paul.burton@imgtec.com>2014-05-02 11:39:11 -0400
commit5977d682d21cc65a9e0e402e94709e210af04459 (patch)
tree911332b2f6491135032f90f263fb3c3489af0858 /arch/mips
parent414408d0eedd782a397ba89fd8f732ffbd3acde8 (diff)
MIPS: mark R4K clockevent device with CLOCK_EVT_FEAT_C3STOP
When a core enters a clock off or power down state its CP0 counter will be stopped along with it. Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/kernel/cevt-r4k.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/mips/kernel/cevt-r4k.c b/arch/mips/kernel/cevt-r4k.c
index 50d3f5a8d6bb..7820d5d3d475 100644
--- a/arch/mips/kernel/cevt-r4k.c
+++ b/arch/mips/kernel/cevt-r4k.c
@@ -195,7 +195,8 @@ int r4k_clockevent_init(void)
195 cd = &per_cpu(mips_clockevent_device, cpu); 195 cd = &per_cpu(mips_clockevent_device, cpu);
196 196
197 cd->name = "MIPS"; 197 cd->name = "MIPS";
198 cd->features = CLOCK_EVT_FEAT_ONESHOT; 198 cd->features = CLOCK_EVT_FEAT_ONESHOT |
199 CLOCK_EVT_FEAT_C3STOP;
199 200
200 clockevent_set_clock(cd, mips_hpt_frequency); 201 clockevent_set_clock(cd, mips_hpt_frequency);
201 202