Re: [PATCH] remove 556 unneeded #includes of sched.h

From: Tim Schmielau
Date: Thu Dec 28 2006 - 16:10:39 EST

On Thu, 28 Dec 2006, Randy Dunlap wrote:

> I'm half done with a patch to remove includes of smp_lock.h.
> For the files that I have patched, I checked each source file
> for all interfaces in smp_lock.h to verify that none of them
> are used, so the #include is just waste.

Yes, that's what I also did. And then I checked for all interfaces in all
headers included indirectly through sched.h and not already included in
the respective source file to see whether any of these includes are needed
to keep the file compilable (although this time, amazingly few includes
had to be added back - only 5 for all 556)

Maybe I should have taken a look at my original patch descripions from
last year, I admit the current one isn't very illuminating.

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