Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1210460 > unrolled thread
| Started by | Kevin Hao <haokexin@gmail.com> |
|---|---|
| First post | 2015-08-20 14:20 +0200 |
| Last post | 2015-08-20 14:20 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
[PATCH 4/8] powerpc: invoke jump_label_init() in a much earlier stage Kevin Hao <haokexin@gmail.com> - 2015-08-20 14:20 +0200
| From | Kevin Hao <haokexin@gmail.com> |
|---|---|
| Date | 2015-08-20 14:20 +0200 |
| Subject | [PATCH 4/8] powerpc: invoke jump_label_init() in a much earlier stage |
| Message-ID | <pZwZ4-4Ab-15@gated-at.bofh.it> |
So we can use static_key for cpu_has_feature() and mmu_has_feature().
Signed-off-by: Kevin Hao <haokexin@gmail.com>
---
arch/powerpc/kernel/setup_32.c | 2 ++
arch/powerpc/kernel/setup_64.c | 2 ++
2 files changed, 4 insertions(+)
diff --git a/arch/powerpc/kernel/setup_32.c b/arch/powerpc/kernel/setup_32.c
index bb02e9f6944e..35980a2785ba 100644
--- a/arch/powerpc/kernel/setup_32.c
+++ b/arch/powerpc/kernel/setup_32.c
@@ -113,6 +113,8 @@ notrace void __init machine_init(u64 dt_ptr)
{
lockdep_init();
+ jump_label_init();
+
/* Enable early debugging if any specified (see udbg.h) */
udbg_early_init();
diff --git a/arch/powerpc/kernel/setup_64.c b/arch/powerpc/kernel/setup_64.c
index bdcbb716f4d6..f0802a0b4a20 100644
--- a/arch/powerpc/kernel/setup_64.c
+++ b/arch/powerpc/kernel/setup_64.c
@@ -250,6 +250,8 @@ void __init early_setup(unsigned long dt_ptr)
/* Initialize lockdep early or else spinlocks will blow */
lockdep_init();
+ jump_label_init();
+
/* -------- printk is now safe to use ------- */
/* Enable early debugging if any specified (see udbg.h) */
--
2.1.0
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to top | Article view | linux.kernel
csiph-web