mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
[PATCH] sched: uninline task_rq_lock()
Saves 543 bytes from sched.o (gcc 3.3.3). Signed-off-by: Oleg Nesterov <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Nick Piggin <[email protected]> Cc: Con Kolivas <[email protected]> Cc: Peter Williams <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
5c45bf279d
commit
9fea80e4d9
1 changed files with 1 additions and 1 deletions
|
|
@ -359,7 +359,7 @@ static inline void finish_lock_switch(runqueue_t *rq, task_t *prev)
|
|||
* interrupts. Note the ordering: we can safely lookup the task_rq without
|
||||
* explicitly disabling preemption.
|
||||
*/
|
||||
static inline runqueue_t *task_rq_lock(task_t *p, unsigned long *flags)
|
||||
static runqueue_t *task_rq_lock(task_t *p, unsigned long *flags)
|
||||
__acquires(rq->lock)
|
||||
{
|
||||
struct runqueue *rq;
|
||||
|
|
|
|||
Loading…
Reference in a new issue