Skip to contentSkip to conversation

next-20130624 build fix for imx_v6_v7_defconfig

PATCH Bartlomiej Zolnierkiewicz 3 participants 3 messages Jun 24, 2013 – Jun 25, 2013 Clocksource, clockevent drivers

lore
Share & tools
lore
#0 lore raw

Hi,

The issue is probably caused by:

commit 38ff87f77af0b5a93fc8581cff1d6e5692ab8970

Author: Stephen Boyd <[email protected]>
Date:   Sat Jun 1 23:39:40 2013 -0700

sched_clock: Make ARM's sched_clock generic for all architectures
...

not taking into account following change:

commit c19672492d233e0012b60fbfa460ffac1381ee26

Author: Jingchang Lu <[email protected]>
Date:   Wed May 29 10:12:17 2013 +0200

clocksource: Add Freescale Vybrid pit timer support
...

Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics

---

drivers/clocksource/vf_pit_timer.c +1 -1
Index: 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 lore raw

Hi,

Quoted 10 lines · On Mon, 24 Jun 2013 20:10:19 +0200 Bartlomiej Zolnierkiewicz…

The issue is probably caused by:

commit 38ff87f77af0b5a93fc8581cff1d6e5692ab8970

Author: Stephen Boyd <[email protected]>
Date:   Sat Jun 1 23:39:40 2013 -0700

sched_clock: Make ARM's sched_clock generic for all architectures
...

Quoted 7 lines

not taking into account following change:

commit c19672492d233e0012b60fbfa460ffac1381ee26

Author: Jingchang Lu <[email protected]>
Date:   Wed May 29 10:12:17 2013 +0200

clocksource: Add Freescale Vybrid pit timer support

Both those commits are in the tip tree so this fix is needed there (cc's added).

Quoted 25 lines

...

Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics

---

Index: b/drivers/clocksource/vf_pit_timer.c
===================================================================

drivers/clocksource/vf_pit_timer.c +1 -1
@@ -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 · 10 lines
Cheers,
Stephen Rothwell                    sfr at canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20130625/8b3325ec/attachment.sig>