]> git.baikalelectronics.ru Git - kernel.git/commit
sparc: correct section of current_pc()
authorFrederic Weisbecker <fweisbec@gmail.com>
Wed, 22 Oct 2008 04:56:42 +0000 (21:56 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 23 Oct 2008 04:53:47 +0000 (21:53 -0700)
commit5cc059b745da07ef6f727187bdad4d94313066e8
treee65a039e3c0033ff5dfcd54a0a0ff7ed36d5a758
parent7be041f7c8a3f4ea487cae121d6ee41cf5375e8f
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: Frederic Weisbecker <fweisbec@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/head.S