lkml.org 
[lkml]   [2002]   [Jan]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[sched] [patch] uninline-wakeup-2.5.3-pre2-A0

the attached patch removes the inlining of wake_up_process within
kernel/sched.c - the only user is sched_init() which clearly does not need
the inlining. This saves a few bytes.

Ingo
--- linux/kernel/sched.c.orig Sun Jan 20 11:37:21 2002
+++ linux/kernel/sched.c Sun Jan 20 11:38:38 2002
@@ -232,7 +232,7 @@
return success;
}

-inline int wake_up_process(task_t * p)
+int wake_up_process(task_t * p)
{
return try_to_wake_up(p, 0);
}
\
 
 \ /
  Last update: 2005-03-22 13:18    [W:0.022 / U:27.608 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site