[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <tip-ba2ba356b2c849ec62d5fefa9cd4168163b13211@git.kernel.org>
Date: Fri, 8 Feb 2019 05:38:36 -0800
From: tip-bot for Sergey Senozhatsky <tipbot@...or.com>
To: linux-tip-commits@...r.kernel.org
Cc: sergey.senozhatsky.work@...il.com, tglx@...utronix.de,
bp@...en8.de, hpa@...or.com, peterz@...radead.org,
sergey.senozhatsky@...il.com, luto@...nel.org, mingo@...nel.org,
linux-kernel@...r.kernel.org
Subject: [tip:x86/cleanups] x86/cpu_entry_area: Move
percpu_setup_debug_store() to __init section
Commit-ID: ba2ba356b2c849ec62d5fefa9cd4168163b13211
Gitweb: https://git.kernel.org/tip/ba2ba356b2c849ec62d5fefa9cd4168163b13211
Author: Sergey Senozhatsky <sergey.senozhatsky@...il.com>
AuthorDate: Tue, 8 Jan 2019 22:02:24 +0900
Committer: Thomas Gleixner <tglx@...utronix.de>
CommitDate: Fri, 8 Feb 2019 14:32:33 +0100
x86/cpu_entry_area: Move percpu_setup_debug_store() to __init section
WARNING: vmlinux.o(.text.unlikely+0x498d): Section mismatch in reference
from the function percpu_setup_debug_store() to the function
.init.text:cea_map_percpu_pages()
Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@...il.com>
Signed-off-by: Thomas Gleixner <tglx@...utronix.de>
Cc: Borislav Petkov <bp@...en8.de>
Cc: Peter Zijlstra <peterz@...radead.org>
Cc: Andy Lutomirski <luto@...nel.org>
Cc: "H . Peter Anvin" <hpa@...or.com>
Cc: Sergey Senozhatsky <sergey.senozhatsky.work@...il.com>
Link: https://lkml.kernel.org/r/20190108130225.5066-1-sergey.senozhatsky@gmail.com
---
arch/x86/mm/cpu_entry_area.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/mm/cpu_entry_area.c b/arch/x86/mm/cpu_entry_area.c
index 12d7e7fb4efd..19c6abf9ea31 100644
--- a/arch/x86/mm/cpu_entry_area.c
+++ b/arch/x86/mm/cpu_entry_area.c
@@ -52,7 +52,7 @@ cea_map_percpu_pages(void *cea_vaddr, void *ptr, int pages, pgprot_t prot)
cea_set_pte(cea_vaddr, per_cpu_ptr_to_phys(ptr), prot);
}
-static void percpu_setup_debug_store(int cpu)
+static void __init percpu_setup_debug_store(int cpu)
{
#ifdef CONFIG_CPU_SUP_INTEL
int npages;
Powered by blists - more mailing lists