Skip to contentSkip to conversation

MIPS: csrc-r4k: use CLOCKSOURCE_MASK() macro

PATCH In review Antony Pavlov 1 participant 3 messages Dec 10, 2013 – Jan 6, 2014 MIPS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 MIPS: csrc-r4k: use CLOCKSOURCE_MASK() macro

---
 arch/mips/lib/csrc-r4k.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/mips/lib/csrc-r4k.c +1 -1
index 2978fcf..c699f2b 100644
@@ -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)
Signature · 7 lines
1.8.5


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#1 lore raw

On Tue, 10 Dec 2013 09:10:55 +0400
Antony Pavlov <[email protected]> wrote:

Sascha, please apply this trivial patch.

Quoted 21 lines
---
 arch/mips/lib/csrc-r4k.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/mips/lib/csrc-r4k.c +1 -1
index 2978fcf..c699f2b 100644
@@ -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)
Signature · 1 line
1.8.5
Signature · 8 lines
-- 
Best regards,
  Antony Pavlov

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#2 lore raw
In reply to Antony Pavlov

On Tue, 10 Dec 2013 09:10:55 +0400
Antony Pavlov <[email protected]> wrote:

Sascha, please apply this trivial patch.

Quoted 21 lines
---
 arch/mips/lib/csrc-r4k.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/mips/lib/csrc-r4k.c +1 -1
index 2978fcf..c699f2b 100644
@@ -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)
Signature · 1 line
1.8.5

--
Best regards,
  Antony Pavlov

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox