All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: iop: ensure sched_clock() is notrace
@ 2010-11-19 16:06 Rabin Vincent
  2010-12-03 23:14 ` Dan Williams
  0 siblings, 1 reply; 2+ messages in thread
From: Rabin Vincent @ 2010-11-19 16:06 UTC (permalink / raw)
  To: linux-arm-kernel

Include sched.h to ensure sched_clock() has the notrace
annotation, and mark any functions it calls as notrace
too.

Cc: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Rabin Vincent <rabin@rab.in>
---
 arch/arm/plat-iop/time.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/arch/arm/plat-iop/time.c b/arch/arm/plat-iop/time.c
index 85d3e55..558cdfa 100644
--- a/arch/arm/plat-iop/time.c
+++ b/arch/arm/plat-iop/time.c
@@ -18,6 +18,7 @@
 #include <linux/time.h>
 #include <linux/init.h>
 #include <linux/timex.h>
+#include <linux/sched.h>
 #include <linux/io.h>
 #include <linux/clocksource.h>
 #include <linux/clockchips.h>
@@ -36,7 +37,7 @@
 /*
  * IOP clocksource (free-running timer 1).
  */
-static cycle_t iop_clocksource_read(struct clocksource *unused)
+static cycle_t notrace iop_clocksource_read(struct clocksource *unused)
 {
 	return 0xffffffffu - read_tcr1();
 }
-- 
1.7.2.3

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH] ARM: iop: ensure sched_clock() is notrace
  2010-11-19 16:06 [PATCH] ARM: iop: ensure sched_clock() is notrace Rabin Vincent
@ 2010-12-03 23:14 ` Dan Williams
  0 siblings, 0 replies; 2+ messages in thread
From: Dan Williams @ 2010-12-03 23:14 UTC (permalink / raw)
  To: linux-arm-kernel

On Fri, Nov 19, 2010 at 8:06 AM, Rabin Vincent <rabin@rab.in> wrote:
> Include sched.h to ensure sched_clock() has the notrace
> annotation, and mark any functions it calls as notrace
> too.
>
> Cc: Dan Williams <dan.j.williams@intel.com>
> Signed-off-by: Rabin Vincent <rabin@rab.in>

Acked-by: Dan Williams <dan.j.williams@intel.com>

This can go to Russell's tracker.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-12-03 23:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-19 16:06 [PATCH] ARM: iop: ensure sched_clock() is notrace Rabin Vincent
2010-12-03 23:14 ` Dan Williams

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.