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

Commit 8dd94537 authored by Frederic Weisbecker's avatar Frederic Weisbecker Committed by David S. Miller
Browse files

sparc: correct section of current_pc()



Latest mainline gives this section mismatch on sparc:

The function current_pc() references
the variable __init no_sun4u_here.
This is often because current_pc lacks a __init
annotation or the annotation of no_sun4u_here is wrong.

Since current_pc() is used only in early time, it is correct to
put it in .init section.

Signed-off-by: default avatarFrederic Weisbecker <fweisbec@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent a1731e5b
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -465,6 +465,7 @@ gokernel:
		mov	%o7, %g4		! Save %o7
		mov	%o7, %g4		! Save %o7


		/* Jump to it, and pray... */
		/* Jump to it, and pray... */
		__INIT
current_pc:
current_pc:
		call	1f
		call	1f
		 nop
		 nop