diff options
author | Samuel Ortiz <sameo@linux.intel.com> | 2008-10-21 16:25:42 +0200 |
---|---|---|
committer | Samuel Ortiz <sameo@openedhand.com> | 2008-10-21 16:26:53 +0200 |
commit | e169b23e66575856c5712b8f2162e305d8560d6b (patch) | |
tree | 44b2549bfc20563c79808b92db16baf7101adda1 /meta-moblin/packages/linux/linux-moblin-2.6.27-rc6/0027-fastboot-hold-the-BKL-over-the-async-init-call-sequ.patch | |
parent | e5c53ce035eb36fc1b416e9971582a45754844be (diff) | |
download | openembedded-core-e169b23e66575856c5712b8f2162e305d8560d6b.tar.gz openembedded-core-e169b23e66575856c5712b8f2162e305d8560d6b.tar.bz2 openembedded-core-e169b23e66575856c5712b8f2162e305d8560d6b.tar.xz openembedded-core-e169b23e66575856c5712b8f2162e305d8560d6b.zip |
linux-moblin: Add 2.6.27 moblin kernel
This will be the default moblin kernel.
We also moved the 2.6.27-rc* kernels to meta-moblin.
Diffstat (limited to 'meta-moblin/packages/linux/linux-moblin-2.6.27-rc6/0027-fastboot-hold-the-BKL-over-the-async-init-call-sequ.patch')
-rw-r--r-- | meta-moblin/packages/linux/linux-moblin-2.6.27-rc6/0027-fastboot-hold-the-BKL-over-the-async-init-call-sequ.patch | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/meta-moblin/packages/linux/linux-moblin-2.6.27-rc6/0027-fastboot-hold-the-BKL-over-the-async-init-call-sequ.patch b/meta-moblin/packages/linux/linux-moblin-2.6.27-rc6/0027-fastboot-hold-the-BKL-over-the-async-init-call-sequ.patch new file mode 100644 index 000000000..129823b6c --- /dev/null +++ b/meta-moblin/packages/linux/linux-moblin-2.6.27-rc6/0027-fastboot-hold-the-BKL-over-the-async-init-call-sequ.patch @@ -0,0 +1,40 @@ +From 3e6558b693dd1e69e3177bc248977f067a769f14 Mon Sep 17 00:00:00 2001 +From: Arjan van de Ven <arjan@linux.intel.com> +Date: Sun, 20 Jul 2008 08:59:24 -0700 +Subject: [PATCH] fastboot: hold the BKL over the async init call sequence + +Regular init calls are called with the BKL held; make sure +the async init calls are also called with the BKL held. +While this reduces parallelism a little, it does provide +lock-for-lock compatibility. The hit to prallelism isn't too +bad, most of the init calls are done immediately or actually +block for their delays. + +Signed-off-by: Arjan van de Ven <arjan@linux.intel.com> +Signed-off-by: Ingo Molnar <mingo@elte.hu> +--- + init/main.c | 6 ++++++ + 1 files changed, 6 insertions(+), 0 deletions(-) + +diff --git a/init/main.c b/init/main.c +index 6961de2..9e2aee8 100644 +--- a/init/main.c ++++ b/init/main.c +@@ -744,8 +744,14 @@ static void __init do_async_initcalls(struct work_struct *dummy) + { + initcall_t *call; + ++ /* ++ * For compatibility with normal init calls... take the BKL ++ * not pretty, not desirable, but compatibility first ++ */ ++ lock_kernel(); + for (call = __async_initcall_start; call < __async_initcall_end; call++) + do_one_initcall(*call); ++ unlock_kernel(); + } + + static struct workqueue_struct *async_init_wq; +-- +1.5.4.3 + |