[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20130211183409.7519b73ca320baeac5ec886f@canb.auug.org.au>
Date: Mon, 11 Feb 2013 18:34:09 +1100
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: Len Brown <len.brown@...el.com>
Cc: linux-next@...r.kernel.org, linux-kernel@...r.kernel.org,
"David S. Miller" <davem@...emloft.net>, sparclinux@...r.kernel.org
Subject: linux-next: build failure after merge of the final tree (acpi tree
related)
Hi all,
After merging the final tree, today's linux-next build (sparc64 defconfig)
failed like this:
arch/sparc/include/asm/processor.h: Assembler messages:
arch/sparc/include/asm/processor.h:10: Error: Unknown opcode: `extern'
Caused by commit 3a242f58a5f4 ("sparc idle: rename pm_idle to
sparc_idle") from the acpi tree.
I have applied this patch for today:
From: Stephen Rothwell <sfr@...b.auug.org.au>
Date: Mon, 11 Feb 2013 18:30:19 +1100
Subject: [PATCH] sparc idle: protect variable declarations against the assembler
Signed-off-by: Stephen Rothwell <sfr@...b.auug.org.au>
---
arch/sparc/include/asm/processor.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/sparc/include/asm/processor.h b/arch/sparc/include/asm/processor.h
index 34baa35..622cfa5 100644
--- a/arch/sparc/include/asm/processor.h
+++ b/arch/sparc/include/asm/processor.h
@@ -7,6 +7,8 @@
#endif
#define nop() __asm__ __volatile__ ("nop")
+#ifndef __ASSEMBLY__
extern void (*sparc_idle)(void);
+#endif
#endif
--
1.8.1
--
Cheers,
Stephen Rothwell sfr@...b.auug.org.au
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists