Messages in this thread | | | Date | Sat, 29 Dec 2001 16:28:06 -0600 (CST) | From | Oliver Xymoron <> | Subject | Re: [RFC, CFT] include file cleanup |
| |
On Sat, 29 Dec 2001, Manfred Spraul wrote:
> It wasn't that difficult: only these includes are needed to pull in all > substructures ;-) > > <<<<<<< > #include <linux/config.h> > #include <linux/types.h> > #include <linux/spinlock.h> > #include <linux/list.h> > #include <linux/wait.h> > #include <linux/timer.h> > #include <linux/times.h> > #include <linux/capability.h> > #include <linux/resource.h> > #include <linux/signal.h> > #include <asm/param.h> > #include <asm/signal.h> > #include <asm/processor.h> > #include <asm/resource.h> > <<<<<<<<<
Indeed. Recently I wanted to stash current->pid inside a spinlock for debugging purposes and discovered it was a nightmare because of all the forward references that'd be needed.
-- "Love the dolphins," she advised him. "Write by W.A.S.T.E.."
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |