Re: dealing with excessive includes

From: Alexey Dobriyan
Date: Wed Oct 18 2006 - 17:49:16 EST


On Wed, Oct 18, 2006 at 06:42:57PM +0100, Al Viro wrote:
> On Wed, Oct 18, 2006 at 02:00:57PM +0400, Alexey Dobriyan wrote:
> > > Anyway, that patch is obviously preliminary - at the very least
> > > it needs be checked on more configs (and more targets - e.g. mips and
> > > parisc hadn't been checked at all).
> >
> > configs. Is ftp://ftp.linux.org.uk/pub/people/viro/config/ still
> > relevant?
>
> Updated.

Thank you!

This is needed on parisc when sched.h is going out of module.h

lib/random32.c:119: error: `jiffies' undeclared (first use in this function)

--- a/lib/random32.c
+++ b/lib/random32.c
@@ -37,6 +37,7 @@ #include <linux/types.h>
#include <linux/percpu.h>
#include <linux/module.h>
#include <linux/random.h>
+#include <linux/jiffies.h>

struct rnd_state {
u32 s1, s2, s3;

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