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

* Re: [PATCH] MIPS: csrc-r4k: use CLOCKSOURCE_MASK() macro
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Antony Pavlov @ 2013-12-14 11:59 UTC (permalink / raw)
  To: Sascha Hauer; +Cc: barebox

On Tue, 10 Dec 2013 09:10:55 +0400
Antony Pavlov <antonynpavlov@gmail.com> wrote:

Sascha, please apply this trivial patch.

> 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
> 


-- 
-- 
Best regards,
  Antony Pavlov

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

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

* Re: [PATCH] MIPS: csrc-r4k: use CLOCKSOURCE_MASK() macro
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Antony Pavlov @ 2014-01-06 14:07 UTC (permalink / raw)
  To: Sascha Hauer; +Cc: barebox

On Tue, 10 Dec 2013 09:10:55 +0400
Antony Pavlov <antonynpavlov@gmail.com> wrote:

Sascha, please apply this trivial patch.

> 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
> 

-- 
Best regards,
  Antony Pavlov

_______________________________________________
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