summaryrefslogtreecommitdiffstats
path: root/kernel/sched.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2007-11-28 15:52:56 +0100
committerIngo Molnar <mingo@elte.hu>2007-11-28 15:52:56 +0100
commitdeaf2227ddf657a260e923db44b6f0974d9bb782 (patch)
tree2743a42c23a2341476a34522a6fdffa7848553d9 /kernel/sched.c
parent9a4e715914f07e56cbfa6f2b544a68365d51c3ef (diff)
downloadblackbird-op-linux-deaf2227ddf657a260e923db44b6f0974d9bb782.tar.gz
blackbird-op-linux-deaf2227ddf657a260e923db44b6f0974d9bb782.zip
sched: clean up, move __sched_text_start/end to sched.h
move __sched_text_start/end to sched.h. No code changed: text data bss dec hex filename 26582 2310 28 28920 70f8 sched.o.before 26582 2310 28 28920 70f8 sched.o.after Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/sched.c')
-rw-r--r--kernel/sched.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/kernel/sched.c b/kernel/sched.c
index 89cb2dac8bfd..98dcdf272db3 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -6708,9 +6708,6 @@ void __init sched_init_smp(void)
int in_sched_functions(unsigned long addr)
{
- /* Linker adds these: start and end of __sched functions */
- extern char __sched_text_start[], __sched_text_end[];
-
return in_lock_functions(addr) ||
(addr >= (unsigned long)__sched_text_start
&& addr < (unsigned long)__sched_text_end);
OpenPOWER on IntegriCloud