]> git.baikalelectronics.ru Git - kernel.git/commit
sparc: correct section of apc_no_idle
authorFrederic Weisbecker <fweisbec@gmail.com>
Wed, 22 Oct 2008 04:55:33 +0000 (21:55 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 23 Oct 2008 04:53:43 +0000 (21:53 -0700)
commit7be041f7c8a3f4ea487cae121d6ee41cf5375e8f
tree96366954f0f97831ab401c85283250cf49c4ffa8
parent506f7113fc2f2e852b2a25191445a5818c5f893c
sparc: correct section of apc_no_idle

The latest mainline gives this section mismatch on sparc:

The function __devinit apc_probe() references
a variable __initdata apc_no_idle.
If apc_no_idle is only used by apc_probe then
annotate apc_no_idle with a matching annotation.

Since the commit 5fed47f968ca1b76eb7d1e99c74afa0cebd76572,
apc_probe() is on __devinit so we have to correct apc_no_idle
which is referenced by this function.

Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/apc.c