[PATCH] Unlinline a bunch of other functions
Remove the "inline" keyword from a bunch of big functions in the kernel with the goal of shrinking it by 30kb to 40kb Signed-off-by: Arjan van de Ven <arjan@infradead.org> Signed-off-by: Ingo Molnar <mingo@elte.hu> Acked-by: Jeff Garzik <jgarzik@pobox.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
b0a9499c3d
commit
858119e159
@@ -193,7 +193,7 @@ int is_orphaned_pgrp(int pgrp)
|
||||
return retval;
|
||||
}
|
||||
|
||||
static inline int has_stopped_jobs(int pgrp)
|
||||
static int has_stopped_jobs(int pgrp)
|
||||
{
|
||||
int retval = 0;
|
||||
struct task_struct *p;
|
||||
@@ -230,7 +230,7 @@ static inline int has_stopped_jobs(int pgrp)
|
||||
*
|
||||
* NOTE that reparent_to_init() gives the caller full capabilities.
|
||||
*/
|
||||
static inline void reparent_to_init(void)
|
||||
static void reparent_to_init(void)
|
||||
{
|
||||
write_lock_irq(&tasklist_lock);
|
||||
|
||||
@@ -369,7 +369,7 @@ void daemonize(const char *name, ...)
|
||||
|
||||
EXPORT_SYMBOL(daemonize);
|
||||
|
||||
static inline void close_files(struct files_struct * files)
|
||||
static void close_files(struct files_struct * files)
|
||||
{
|
||||
int i, j;
|
||||
struct fdtable *fdt;
|
||||
@@ -543,7 +543,7 @@ static inline void choose_new_parent(task_t *p, task_t *reaper, task_t *child_re
|
||||
p->real_parent = reaper;
|
||||
}
|
||||
|
||||
static inline void reparent_thread(task_t *p, task_t *father, int traced)
|
||||
static void reparent_thread(task_t *p, task_t *father, int traced)
|
||||
{
|
||||
/* We don't want people slaying init. */
|
||||
if (p->exit_signal != -1)
|
||||
@@ -607,7 +607,7 @@ static inline void reparent_thread(task_t *p, task_t *father, int traced)
|
||||
* group, and if no such member exists, give it to
|
||||
* the global child reaper process (ie "init")
|
||||
*/
|
||||
static inline void forget_original_parent(struct task_struct * father,
|
||||
static void forget_original_parent(struct task_struct * father,
|
||||
struct list_head *to_release)
|
||||
{
|
||||
struct task_struct *p, *reaper = father;
|
||||
|
Reference in New Issue
Block a user