clocksource: switch mask to CLOCKSOURCE_MASK
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
c448d8c659
commit
f69626c632
|
@ -46,7 +46,7 @@ uint64_t at91sam9_clocksource_read(void)
|
|||
|
||||
static struct clocksource cs = {
|
||||
.read = at91sam9_clocksource_read,
|
||||
.mask = 0xffffffff,
|
||||
.mask = CLOCKSOURCE_MASK(32),
|
||||
.shift = 10,
|
||||
};
|
||||
|
||||
|
|
|
@ -41,7 +41,7 @@ static uint64_t ep93xx_clocksource_read(void)
|
|||
|
||||
static struct clocksource cs = {
|
||||
.read = ep93xx_clocksource_read,
|
||||
.mask = 0xffffffff,
|
||||
.mask = CLOCKSOURCE_MASK(32),
|
||||
.shift = 10,
|
||||
};
|
||||
|
||||
|
|
|
@ -47,7 +47,7 @@ static uint64_t imx_clocksource_read(void)
|
|||
|
||||
static struct clocksource cs = {
|
||||
.read = imx_clocksource_read,
|
||||
.mask = 0xffffffff,
|
||||
.mask = CLOCKSOURCE_MASK(32),
|
||||
.shift = 10,
|
||||
};
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ uint64_t netx_clocksource_read(void)
|
|||
|
||||
static struct clocksource cs = {
|
||||
.read = netx_clocksource_read,
|
||||
.mask = 0xffffffff,
|
||||
.mask = CLOCKSOURCE_MASK(32),
|
||||
.shift = 10,
|
||||
};
|
||||
|
||||
|
|
|
@ -35,7 +35,7 @@ static uint64_t nmdk_read_timer(void)
|
|||
static struct clocksource nmdk_clksrc = {
|
||||
.read = nmdk_read_timer,
|
||||
.shift = 20,
|
||||
.mask = 0xffffffff,
|
||||
.mask = CLOCKSOURCE_MASK(32),
|
||||
};
|
||||
|
||||
static void nmdk_timer_reset(void)
|
||||
|
|
|
@ -56,7 +56,7 @@ static uint64_t s32k_clocksource_read(void)
|
|||
/* A bit obvious isn't it? */
|
||||
static struct clocksource s32k_cs = {
|
||||
.read = s32k_clocksource_read,
|
||||
.mask = 0xffffffff,
|
||||
.mask = CLOCKSOURCE_MASK(32),
|
||||
.shift = 10,
|
||||
};
|
||||
|
||||
|
|
|
@ -196,7 +196,7 @@ static uint64_t s3c24xx_clocksource_read(void)
|
|||
|
||||
static struct clocksource cs = {
|
||||
.read = s3c24xx_clocksource_read,
|
||||
.mask = 0x0000ffff,
|
||||
.mask = CLOCKSOURCE_MASK(16),
|
||||
.shift = 10,
|
||||
};
|
||||
|
||||
|
|
|
@ -48,7 +48,7 @@ static uint64_t imx23_clocksource_read(void)
|
|||
|
||||
static struct clocksource cs = {
|
||||
.read = imx23_clocksource_read,
|
||||
.mask = 0x0000ffff,
|
||||
.mask = CLOCKSOURCE_MASK(16),
|
||||
.shift = 10,
|
||||
};
|
||||
|
||||
|
|
|
@ -55,7 +55,7 @@ static uint64_t blackfin_clocksource_read(void)
|
|||
|
||||
static struct clocksource cs = {
|
||||
.read = blackfin_clocksource_read,
|
||||
.mask = 0xffffffff,
|
||||
.mask = CLOCKSOURCE_MASK(32),
|
||||
.shift = 10,
|
||||
};
|
||||
|
||||
|
|
|
@ -56,7 +56,7 @@ uint64_t ppc_clocksource_read(void)
|
|||
|
||||
static struct clocksource cs = {
|
||||
.read = ppc_clocksource_read,
|
||||
.mask = 0xffffffff,
|
||||
.mask = CLOCKSOURCE_MASK(32),
|
||||
.shift = 15,
|
||||
};
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@ static uint64_t linux_clocksource_read(void)
|
|||
|
||||
static struct clocksource cs = {
|
||||
.read = linux_clocksource_read,
|
||||
.mask = 0xffffffff,
|
||||
.mask = CLOCKSOURCE_MASK(32),
|
||||
.shift = 10,
|
||||
};
|
||||
|
||||
|
|
|
@ -56,7 +56,7 @@ static uint64_t pit_clocksource_read(void)
|
|||
|
||||
static struct clocksource cs = {
|
||||
.read = pit_clocksource_read,
|
||||
.mask = 0x0000ffff,
|
||||
.mask = CLOCKSOURCE_MASK(16),
|
||||
.shift = 10,
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue