diff options
Diffstat (limited to 'kernel')
116 files changed, 16344 insertions, 4767 deletions
diff --git a/kernel/Makefile b/kernel/Makefile index e4791b3ba55..bab1dffe37e 100644 --- a/kernel/Makefile +++ b/kernel/Makefile | |||
| @@ -93,6 +93,7 @@ obj-$(CONFIG_HAVE_GENERIC_DMA_COHERENT) += dma-coherent.o | |||
| 93 | obj-$(CONFIG_FUNCTION_TRACER) += trace/ | 93 | obj-$(CONFIG_FUNCTION_TRACER) += trace/ |
| 94 | obj-$(CONFIG_TRACING) += trace/ | 94 | obj-$(CONFIG_TRACING) += trace/ |
| 95 | obj-$(CONFIG_SMP) += sched_cpupri.o | 95 | obj-$(CONFIG_SMP) += sched_cpupri.o |
| 96 | obj-$(CONFIG_SLOW_WORK) += slow-work.o | ||
| 96 | 97 | ||
| 97 | ifneq ($(CONFIG_SCHED_OMIT_FRAME_POINTER),y) | 98 | ifneq ($(CONFIG_SCHED_OMIT_FRAME_POINTER),y) |
| 98 | # According to Alan Modra <alan@linuxcare.com.au>, the -fno-omit-frame-pointer is | 99 | # According to Alan Modra <alan@linuxcare.com.au>, the -fno-omit-frame-pointer is |
diff --git a/kernel/async.c b/kernel/async.c index f565891f2c9..968ef9457d4 100644 --- a/kernel/async.c +++ b/kernel/async.c | |||
| @@ -49,6 +49,7 @@ asynchronous and synchronous parts of the kernel. | |||
| 49 | */ | 49 | */ |
| 50 | 50 | ||
| 51 | #include <linux/async.h> | 51 | #include <linux/async.h> |
| 52 | #include <linux/bug.h> | ||
| 52 | #include <linux/module.h> | 53 | #include <linux/module.h> |
| 53 | #include <linux/wait.h> | 54 | #include <linux/wait.h> |
| 54 | #include <linux/sched.h> | 55 | #include <linux/sched.h> |
| @@ -387,20 +388,11 @@ static int async_manager_thread(void *unused) | |||
| 387 | 388 | ||
| 388 | static int __init async_init(void) | 389 | static int __init async_init(void) |
| 389 | { | 390 | { |
| 390 | if (async_enabled) | 391 | async_enabled = |
| 391 | if (IS_ERR(kthread_run(async_manager_thread, NULL, | 392 | !IS_ERR(kthread_run(async_manager_thread, NULL, "async/mgr")); |
| 392 | "async/mgr"))) | ||
| 393 | async_enabled = 0; | ||
| 394 | return 0; | ||
| 395 | } | ||
