Re: checkpatch and kernel/sched.c

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Ingo Molnar
Date: Monday, October 1, 2007 - 3:37 am

* Andrew Morton <akpm@linux-foundation.org> wrote:


ok - i have picked up the sched.c bit for sched-devel.git. (see below)

	Ingo

---------------->
Subject: sched: export cpu_clock()
From: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>

export cpu_clock() - the preferred API instead of sched_clock().

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
---
 kernel/sched.c |    1 +
 1 file changed, 1 insertion(+)

Index: linux/kernel/sched.c
===================================================================
--- linux.orig/kernel/sched.c
+++ linux/kernel/sched.c
@@ -469,6 +469,7 @@ unsigned long long cpu_clock(int cpu)
 
 	return now;
 }
+EXPORT_SYMBOL_GPL(cpu_clock);
 
 #ifndef prepare_arch_switch
 # define prepare_arch_switch(next)	do { } while (0)
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: checkpatch and kernel/sched.c, Ingo Molnar, (Sun Sep 30, 11:44 pm)
Re: checkpatch and kernel/sched.c, Andrew Morton, (Mon Oct 1, 12:30 am)
Re: checkpatch and kernel/sched.c, Andrew Morton, (Mon Oct 1, 12:39 am)
Re: checkpatch and kernel/sched.c, Avi Kivity, (Mon Oct 1, 12:48 am)
Re: checkpatch and kernel/sched.c, Sam Ravnborg, (Mon Oct 1, 12:50 am)
Re: checkpatch and kernel/sched.c, Ingo Molnar, (Mon Oct 1, 3:37 am)
Re: checkpatch and kernel/sched.c, Ingo Molnar, (Mon Oct 1, 3:39 am)
Re: checkpatch and kernel/sched.c, Ingo Molnar, (Mon Oct 1, 3:44 am)
Re: checkpatch and kernel/sched.c, Andy Whitcroft, (Mon Oct 1, 5:34 am)
Re: checkpatch and kernel/sched.c, Willy Tarreau, (Mon Oct 1, 9:34 pm)
[patch] printk: add KERN_CONT annotation, Ingo Molnar, (Mon Oct 1, 10:18 pm)
Re: [patch] printk: add KERN_CONT annotation, Joe Perches, (Tue Oct 2, 8:41 am)
Re: [patch] printk: add KERN_CONT annotation, Jan Engelhardt, (Tue Oct 2, 8:45 am)
Re: [patch] printk: add KERN_CONT annotation, Joe Perches, (Tue Oct 2, 9:03 am)
Re: [patch] printk: add KERN_CONT annotation, Jan Engelhardt, (Tue Oct 2, 9:07 am)
Re: [patch] printk: add KERN_CONT annotation, Andrew Morton, (Thu Oct 4, 1:43 pm)
Re: [patch] printk: add KERN_CONT annotation, Ingo Molnar, (Thu Oct 4, 1:52 pm)