summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2013-10-31 18:07:08 +0100
committerIngo Molnar <mingo@kernel.org>2013-11-06 07:49:16 +0100
commit7a6354e241d8fbc145836ac24e47630f12754536 (patch)
tree90e4bb2c4affd4a3ee4c758769c85d8770c8e857
parentsched/wait: Fix __wait_event_interruptible_lock_irq_timeout() (diff)
downloadlinux-7a6354e241d8fbc145836ac24e47630f12754536.tar.xz
linux-7a6354e241d8fbc145836ac24e47630f12754536.zip
sched: Move wait.c into kernel/sched/
Suggested-by: Ingo Molnar <mingo@kernel.org> Signed-off-by: Peter Zijlstra <peterz@infradead.org> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Andrew Morton <akpm@linux-foundation.org> Link: http://lkml.kernel.org/n/tip-5q5yqvdaen0rmapwloeaotx3@git.kernel.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
-rw-r--r--kernel/Makefile2
-rw-r--r--kernel/sched/Makefile1
-rw-r--r--kernel/sched/wait.c (renamed from kernel/wait.c)0
3 files changed, 2 insertions, 1 deletions
diff --git a/kernel/Makefile b/kernel/Makefile
index 1ce47553fb02..b3d51e229356 100644
--- a/kernel/Makefile
+++ b/kernel/Makefile
@@ -7,7 +7,7 @@ obj-y = fork.o exec_domain.o panic.o \
sysctl.o sysctl_binary.o capability.o ptrace.o timer.o user.o \
signal.o sys.o kmod.o workqueue.o pid.o task_work.o \
rcupdate.o extable.o params.o posix-timers.o \
- kthread.o wait.o sys_ni.o posix-cpu-timers.o mutex.o \
+ kthread.o sys_ni.o posix-cpu-timers.o mutex.o \
hrtimer.o rwsem.o nsproxy.o srcu.o semaphore.o \
notifier.o ksysfs.o cred.o reboot.o \
async.o range.o groups.o lglock.o smpboot.o
diff --git a/kernel/sched/Makefile b/kernel/sched/Makefile
index 54adcf35f495..f8d3f4baa1a1 100644
--- a/kernel/sched/Makefile
+++ b/kernel/sched/Makefile
@@ -12,6 +12,7 @@ CFLAGS_core.o := $(PROFILING) -fno-omit-frame-pointer
endif
obj-y += core.o proc.o clock.o cputime.o idle_task.o fair.o rt.o stop_task.o
+obj-y += wait.o
obj-$(CONFIG_SMP) += cpupri.o
obj-$(CONFIG_SCHED_AUTOGROUP) += auto_group.o
obj-$(CONFIG_SCHEDSTATS) += stats.o
diff --git a/kernel/wait.c b/kernel/sched/wait.c
index de21c6305a44..de21c6305a44 100644
--- a/kernel/wait.c
+++ b/kernel/sched/wait.c