2013-10-03 19:49:47

by Stephen Boyd

[permalink] [raw]
Subject: [PATCH 1/2] ARM: clps711x: Use linux/sched_clock.h

The sched_clock.h include is under include/linux now.

Cc: Alexander Shiyan <[email protected]>
Signed-off-by: Stephen Boyd <[email protected]>
---
arch/arm/mach-clps711x/common.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/mach-clps711x/common.c b/arch/arm/mach-clps711x/common.c
index 4ca2f3c..134641d 100644
--- a/arch/arm/mach-clps711x/common.c
+++ b/arch/arm/mach-clps711x/common.c
@@ -29,12 +29,12 @@
#include <linux/clockchips.h>
#include <linux/clocksource.h>
#include <linux/clk-provider.h>
+#include <linux/sched_clock.h>

#include <asm/exception.h>
#include <asm/mach/irq.h>
#include <asm/mach/map.h>
#include <asm/mach/time.h>
-#include <asm/sched_clock.h>
#include <asm/system_misc.h>

#include <mach/hardware.h>
--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
hosted by The Linux Foundation


2013-10-03 19:49:49

by Stephen Boyd

[permalink] [raw]
Subject: [PATCH 2/2] ARM: Remove temporary sched_clock.h header

This header file is no longer needed now that the ARM sched_clock
framework is generic and all users have moved to linux/sched_clock.h
instead of asm/sched_clock.h. Remove it.

Signed-off-by: Stephen Boyd <[email protected]>
---
arch/arm/include/asm/sched_clock.h | 4 ----
1 file changed, 4 deletions(-)
delete mode 100644 arch/arm/include/asm/sched_clock.h

diff --git a/arch/arm/include/asm/sched_clock.h b/arch/arm/include/asm/sched_clock.h
deleted file mode 100644
index 2389b71..0000000
--- a/arch/arm/include/asm/sched_clock.h
+++ /dev/null
@@ -1,4 +0,0 @@
-/* You shouldn't include this file. Use linux/sched_clock.h instead.
- * Temporary file until all asm/sched_clock.h users are gone
- */
-#include <linux/sched_clock.h>
--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
hosted by The Linux Foundation

2013-10-11 21:53:46

by Kevin Hilman

[permalink] [raw]
Subject: Re: [PATCH 1/2] ARM: clps711x: Use linux/sched_clock.h

Hi Stephen,

Stephen Boyd <[email protected]> writes:

> The sched_clock.h include is under include/linux now.
>
> Cc: Alexander Shiyan <[email protected]>
> Signed-off-by: Stephen Boyd <[email protected]>

I applied both of these to next/cleanup.

Thanks,

Kevin