mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] MIPS: csrc-r4k: use CLOCKSOURCE_MASK() macro
@ 2013-12-10  5:10 Antony Pavlov
  2013-12-14 11:59 ` Antony Pavlov
  2014-01-06 14:07 ` Antony Pavlov
  0 siblings, 2 replies; 3+ messages in thread
From: Antony Pavlov @ 2013-12-10  5:10 UTC (permalink / raw)
  To: barebox

Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
---
 arch/mips/lib/csrc-r4k.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/mips/lib/csrc-r4k.c b/arch/mips/lib/csrc-r4k.c
index 2978fcf..c699f2b 100644
--- a/arch/mips/lib/csrc-r4k.c
+++ b/arch/mips/lib/csrc-r4k.c
@@ -32,7 +32,7 @@ static uint64_t c0_hpt_read(void)
 
 static struct clocksource cs = {
 	.read	= c0_hpt_read,
-	.mask	= 0xffffffff,
+	.mask	= CLOCKSOURCE_MASK(32),
 };
 
 static int clocksource_init(void)
-- 
1.8.5


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-01-06 14:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-12-10  5:10 [PATCH] MIPS: csrc-r4k: use CLOCKSOURCE_MASK() macro Antony Pavlov
2013-12-14 11:59 ` Antony Pavlov
2014-01-06 14:07 ` Antony Pavlov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox