diff options
author | Paul Mundt <lethal@linux-sh.org> | 2012-06-14 12:40:36 +0900 |
---|---|---|
committer | John Rigby <john.rigby@linaro.org> | 2012-06-21 04:50:41 -0600 |
commit | 0e6ff5f14b9c3e46ff112f0818d47b84abeb3caa (patch) | |
tree | fb8c740483715e21771963c0da4ccf6a16bc8d0a /scripts/headers_install.pl | |
parent | e1f50a479a2adc7f7d703ca7a08bcf7b58355e70 (diff) |
UBUNTU: SAUCE: fix bug.h's inclusion of kernel.h
(adding Arnd to Cc, who I forgot to include previously)
On Thu, Jun 14, 2012 at 12:06:06PM +0900, Paul Mundt wrote:
> On Thu, Jun 14, 2012 at 11:47:22AM +1000, Stephen Rothwell wrote:
> > While building Linus' tree, today's linux-next build (powerpc
> > ppc64_defconfig) failed like this:
> >
> > In file included from include/asm-generic/bug.h:5:0,
> > from arch/powerpc/include/asm/bug.h:127,
> > from arch/powerpc/kernel/head_64.S:31:
> > include/linux/kernel.h:44:0: warning: "ALIGN" redefined [enabled by default]
> > include/linux/linkage.h:57:0: note: this is the location of the previous definition
> > include/linux/sysinfo.h: Assembler messages:
> > include/linux/sysinfo.h:7: Error: Unrecognized opcode: `struct'
> > include/linux/sysinfo.h:8: Error: Unrecognized opcode: `__kernel_long_t'
> >
> > And it went downhill from there :-(
> >
> > Caused by commit 3777808873b0 ("bug.h: need linux/kernel.h for
> > TAINT_WARN") which, unfortunately never made it into linux-next.
> >
> > I have reverted that commit for today (which presumably means that sh
> > builds will be broken again).
>
> I'm still unsure as to the best way to fix this, and there was no
> response to the original mail I posted about it either:
>
> http://marc.info/?l=linux-kernel&m=133879579014853&w=2
>
> I'll fetch a powerpc cross compiler and see if I can figure out what went
> wrong.
>
Ok, it's because the asm-generic/bug.h __ASSEMBLY__ guarding is
completely bogus. This should hopefully fix it once and for all.
Sorry for the trouble.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
(cherry-picked from 2a6f7f6bd7a9eb3c835c7e5a7d51b43675fb3881 in linux-next)
Signed-off-by: Leann Ogasawara <leann.ogasawara@canonical.com>
Diffstat (limited to 'scripts/headers_install.pl')
0 files changed, 0 insertions, 0 deletions