Commit 02b88574 authored by Arjan van de Ven's avatar Arjan van de Ven Committed by Linus Torvalds

[PATCH] unexport task_nice

task_nice() was exported for binfmt_elf, however that's no longer modular. 
normalize_rt_tasks() is used by the sysreq code only, which isn't modular.
Signed-off-by: default avatarArjan van de Ven <arjan@infradead.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 2ea6f685
......@@ -3038,8 +3038,6 @@ int task_nice(const task_t *p)
return TASK_NICE(p);
}
EXPORT_SYMBOL(task_nice);
/**
* idle_cpu - is a given cpu idle currently?
* @cpu: the processor in question.
......@@ -4637,5 +4635,4 @@ void normalize_rt_tasks(void)
read_unlock_irq(&tasklist_lock);
}
EXPORT_SYMBOL(normalize_rt_tasks);
#endif /* CONFIG_MAGIC_SYSRQ */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment