Re: [RFC] remove implicit slab.h inclusion from percpu.h

From: Christoph Lameter
Date: Tue Mar 16 2010 - 12:16:47 EST


On Thu, 11 Mar 2010, Tejun Heo wrote:

> Lee Schermerhorn was trying to use percpu from slab.h and ran into a
> dependency loop. percpu.h was using slab.h for UP inline

The problem is that percpu.h includes slab.h for the UP case. slab.h does
not use percpu.h. Lee was trying to have topology.h use percpu.h which
fails because percpu.h uses gfp.h which in turn uses topology.h again.

Did something change there or does the description need an update?

--
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/