diff options
author | Frederic Weisbecker <fweisbec@gmail.com> | 2008-10-22 06:55:33 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-10-23 06:53:43 +0200 |
commit | a1731e5b9aa236dfa51a82799dc91c56611ddaab (patch) | |
tree | 96366954f0f97831ab401c85283250cf49c4ffa8 /arch/sparc | |
parent | sparc64: Fix race in arch/sparc64/kernel/trampoline.S (diff) | |
download | linux-a1731e5b9aa236dfa51a82799dc91c56611ddaab.tar.xz linux-a1731e5b9aa236dfa51a82799dc91c56611ddaab.zip |
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 7e7e2f035663c5ceb029bfb9d91e75099b0a5625,
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>
Diffstat (limited to 'arch/sparc')
-rw-r--r-- | arch/sparc/kernel/apc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/kernel/apc.c b/arch/sparc/kernel/apc.c index 4dd1ba752ce6..9c115823c4b5 100644 --- a/arch/sparc/kernel/apc.c +++ b/arch/sparc/kernel/apc.c @@ -31,7 +31,7 @@ #define APC_DEVNAME "apc" static u8 __iomem *regs; -static int apc_no_idle __initdata = 0; +static int apc_no_idle __devinitdata = 0; #define apc_readb(offs) (sbus_readb(regs+offs)) #define apc_writeb(val, offs) (sbus_writeb(val, regs+offs)) |