Skip to contentSkip to conversation

clocksource: vf_pit_timer: Use <linux/sched_clock.h>

PATCH New Fabio Estevam 2 participants 2 messages Jun 24, 2013 Clocksource, clockevent drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 clocksource: vf_pit_timer: Use <linux/sched_clock.h>

From: Fabio Estevam <[email protected]>

Commit 38ff87f7 (sched_clock: Make ARM's sched_clock generic for all architectures) changed the header to <linux/sched_clock.h>, so adapt it in order to fix the following build error:

drivers/clocksource/vf_pit_timer.c:15:29: fatal error: asm/sched_clock.h: No such file or directory

---
 drivers/clocksource/vf_pit_timer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/clocksource/vf_pit_timer.c +1 -1
index 598399d..587e020 100644
@@ -12,7 +12,7 @@
 #include <linux/clk.h>
 #include <linux/of_address.h>
 #include <linux/of_irq.h>
-#include <asm/sched_clock.h>
+#include <linux/sched_clock.h>
 
 /*
  * Each pit takes 0x10 Bytes register space
Signature · 1 line
1.8.1.2
#1 lore raw

[tip:timers/core] clocksource: vf_pit_timer: Use linux/ sched_clock.h

clocksource: vf_pit_timer: Use linux/sched_clock.h
Commit-ID:  2699339361a9bacb3fa663e6b8981a040cfca4ee
Gitweb:     http://git.kernel.org/tip/2699339361a9bacb3fa663e6b8981a040cfca4ee
Author:     Fabio Estevam <[email protected]>
AuthorDate: Mon, 24 Jun 2013 20:20:08 -0300
Committer:  Thomas Gleixner <[email protected]>
CommitDate: Tue, 25 Jun 2013 01:41:48 +0200

clocksource: vf_pit_timer: Use linux/sched_clock.h

Commit 38ff87f7 (sched_clock: Make ARM's sched_clock generic for all architectures) changed the header to <linux/sched_clock.h>, so adapt it in order to fix the following build error:

drivers/clocksource/vf_pit_timer.c:15:29: fatal error: asm/sched_clock.h: No such file or directory

---
 drivers/clocksource/vf_pit_timer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/clocksource/vf_pit_timer.c +1 -1
index 598399d..587e020 100644
@@ -12,7 +12,7 @@
 #include <linux/clk.h>
 #include <linux/of_address.h>
 #include <linux/of_irq.h>
-#include <asm/sched_clock.h>
+#include <linux/sched_clock.h>
 
 /*
  * Each pit takes 0x10 Bytes register space