Re: Makefile race between jobs

From: Michal Marek
Date: Mon Dec 10 2012 - 05:30:44 EST


On 10.12.2012 11:11, Vineet Gupta wrote:
> ARC Port caches current task pointer in a register - thus we have a
> global asm register definition in current.h
> In the past, a customer ran into issue when porting some "really
> portable" code to kernel - such that asm/current.h didn't make it into
> the build of their module - via normal header includes - strange but
> true. Thus forcing current.h via way of -include seemed like a
> safe/sensible way.

To me that sounds like either an arc header is using the define but
lacking an include of asm/current.h, or the code is lacking asm/current.h.

Michal
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/