Signed-off-by: Antony Pavlov <[email protected]>
---
 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
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

Reply via email to