aboutsummaryrefslogtreecommitdiffstats
path: root/mm/page_io.c
diff options
context:
space:
mode:
authorAndi Kleen <ak@suse.de>2007-10-15 17:00:14 +0200
committerIngo Molnar <mingo@elte.hu>2007-10-15 17:00:14 +0200
commit8cbbe86dfcfd68ad69916164bdc838d9e09adca8 (patch)
tree32e949b7a0fac548d7668f01f5d53b727c885502 /mm/page_io.c
parent3a5c359a58c39801d838c508f127bdb228af28b0 (diff)
downloadkernel_samsung_tuna-8cbbe86dfcfd68ad69916164bdc838d9e09adca8.zip
kernel_samsung_tuna-8cbbe86dfcfd68ad69916164bdc838d9e09adca8.tar.gz
kernel_samsung_tuna-8cbbe86dfcfd68ad69916164bdc838d9e09adca8.tar.bz2
sched: cleanup: refactor common code of sleep_on / wait_for_completion
Refactor common code of sleep_on / wait_for_completion These functions were largely cut'n'pasted. This moves the common code into single helpers instead. Advantage is about 1k less code on x86-64 and 91 lines of code removed. It adds one function call to the non timeout version of the functions; i don't expect this to be measurable. Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'mm/page_io.c')
0 files changed, 0 insertions, 0 deletions