Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit da5968ae authored by Sam Ravnborg's avatar Sam Ravnborg Committed by Ingo Molnar
Browse files

x86: fix section mismatch in head_64.S:initial_code



initial_code are initially used to hold a function pointer
from __init and later from __cpuinit. This confuses modpost
and changing initial_code to REFDATA silence the warning.
(But now we do not discard the variable anymore).

Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
Cc: Sam Ravnborg <sam@ravnborg.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent d01b9ad5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -255,7 +255,7 @@ ENTRY(secondary_startup_64)
	lretq

	/* SMP bootup changes these two */
	__CPUINITDATA
	__REFDATA
	.align	8
	ENTRY(initial_code)
	.quad	x86_64_start_kernel