mirror of https://gitee.com/openkylin/linux.git
x86: adapt voyager's setup_trampoline
make setup_trampoline non-static. This way, it won't conflict with the extern declaration in smp.h Signed-off-by: Glauber Costa <gcosta@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
d507897b2f
commit
da522b0729
|
@ -429,7 +429,7 @@ void __init smp_store_cpu_info(int id)
|
|||
}
|
||||
|
||||
/* set up the trampoline and return the physical address of the code */
|
||||
static __u32 __init setup_trampoline(void)
|
||||
unsigned long __init setup_trampoline(void)
|
||||
{
|
||||
/* these two are global symbols in trampoline.S */
|
||||
extern const __u8 trampoline_end[];
|
||||
|
|
Loading…
Reference in New Issue