asm/sched_clock.h does not exist. Use linux/sched_clock.h instead.
Without this patch we get the following build error (introduced by commit
c1967249 ("clocksource: Add Freescale Vybrid pit timer support")):
drivers/clocksource/vf_pit_timer.c:15:29: fatal error: asm/sched_clock.h:
No such file or directory
Signed-off-by: Sachin Kamat <[email protected]>
Cc: Jingchang Lu <[email protected]>
Cc: Daniel Lezcano <[email protected]>
Cc: Shawn Guo <[email protected]>
---
Compile tested only.
---
drivers/clocksource/vf_pit_timer.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/clocksource/vf_pit_timer.c b/drivers/clocksource/vf_pit_timer.c
index 598399d..587e020 100644
--- a/drivers/clocksource/vf_pit_timer.c
+++ b/drivers/clocksource/vf_pit_timer.c
@@ -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
--
1.7.9.5
On Tue, Jun 25, 2013 at 05:16:20PM +0530, Sachin Kamat wrote:
> asm/sched_clock.h does not exist. Use linux/sched_clock.h instead.
> Without this patch we get the following build error (introduced by commit
> c1967249 ("clocksource: Add Freescale Vybrid pit timer support")):
>
> drivers/clocksource/vf_pit_timer.c:15:29: fatal error: asm/sched_clock.h:
> No such file or directory
>
> Signed-off-by: Sachin Kamat <[email protected]>
> Cc: Jingchang Lu <[email protected]>
> Cc: Daniel Lezcano <[email protected]>
> Cc: Shawn Guo <[email protected]>
Thanks. But there is already a patch [1].
Shawn
[1]
http://git.kernel.org/cgit/linux/kernel/git/tip/tip.git/commit/?id=2699339361a9bacb3fa663e6b8981a040cfca4ee