Re: [PATCH 13/35] Disintegrate asm/system.h for M68K [ver #2]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Greg Ungerer <gerg@xxxxxxxxxxxx> wrote:

This breaks compilation for m68k targets with:

  CC      net/ipv4/ip_input.o
In file included from
                 from net/ipv4/ip_input.c:116:
/home/gerg/new-wave.320/linux-3.x/arch/m68k/include/asm/cmpxchg.h: In function
/home/gerg/new-wave.320/linux-3.x/arch/m68k/include/asm/cmpxchg.h:33:3: error:
implicit declaration of function ‘BUG’

The old system.h included linux/kernel.h which includes asm/bug.h.
Just including asm/bug.h here in cmpxchg.h is not enough to fix it.
If you include linux/kernel.h though it compiles cleanly.

Which targets, btw?

To unsubscribe from this list: send the line "unsubscribe linux-m68k" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at

[Video for Linux]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Video Projectors]     [Linux Kernel]     [Linux SCSI]     [XFree86]

Add to Google Powered by Linux