summaryrefslogtreecommitdiffstats
path: root/arch/arc/kernel/time.c
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2016-01-22 09:57:50 +0100
committerVineet Gupta <vgupta@synopsys.com>2016-01-29 12:21:02 +0100
commitd584f0fb041d86b9605fae1f0ed9e268f217daa9 (patch)
treeadea69bcc4054b62a0c71fa5adbc5fb6207c7d41 /arch/arc/kernel/time.c
parentARCv2: STAR 9000950267: Handle return from intr to Delay Slot #2 (diff)
downloadlinux-d584f0fb041d86b9605fae1f0ed9e268f217daa9.tar.xz
linux-d584f0fb041d86b9605fae1f0ed9e268f217daa9.zip
ARCv2: clocksource: Rename GRTC -> GFRC ...
... it is now called Global Free Running Counter Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/kernel/time.c')
-rw-r--r--arch/arc/kernel/time.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arc/kernel/time.c b/arch/arc/kernel/time.c
index dfad287f1db1..156d9833ff84 100644
--- a/arch/arc/kernel/time.c
+++ b/arch/arc/kernel/time.c
@@ -62,7 +62,7 @@
/********** Clock Source Device *********/
-#ifdef CONFIG_ARC_HAS_GRTC
+#ifdef CONFIG_ARC_HAS_GFRC
static int arc_counter_setup(void)
{
@@ -83,10 +83,10 @@ static cycle_t arc_counter_read(struct clocksource *cs)
local_irq_save(flags);
- __mcip_cmd(CMD_GRTC_READ_LO, 0);
+ __mcip_cmd(CMD_GFRC_READ_LO, 0);
stamp.l = read_aux_reg(ARC_REG_MCIP_READBACK);
- __mcip_cmd(CMD_GRTC_READ_HI, 0);
+ __mcip_cmd(CMD_GFRC_READ_HI, 0);
stamp.h = read_aux_reg(ARC_REG_MCIP_READBACK);
local_irq_restore(flags);
@@ -95,7 +95,7 @@ static cycle_t arc_counter_read(struct clocksource *cs)
}
static struct clocksource arc_counter = {
- .name = "ARConnect GRTC",
+ .name = "ARConnect GFRC",
.rating = 400,
.read = arc_counter_read,
.mask = CLOCKSOURCE_MASK(64),