Messages in this thread | | | Date | Fri, 14 Mar 2008 04:01:52 -0400 (EDT) | From | "Robert P. J. Day" <> | Subject | Re: whose job is it to include various header files? |
| |
On Fri, 14 Mar 2008, Alexey Dobriyan wrote:
> On Thu, Mar 13, 2008 at 09:53:01PM -0400, Robert P. J. Day wrote:
> > includes from <linux/percpu.h>: > > > > #include <linux/slab.h> > > This needed for kzalloc().
oh, &%^^%*(&^), you're right. i looked at the comment, where it said it needed that include for "kmalloc", grepped, didn't see kmalloc so thought that include was unnecessary. i didn't even notice the "kzalloc". my bad, profuse apologies. argh.
rday --
======================================================================== Robert P. J. Day Linux Consulting, Training and Annoying Kernel Pedantry: Have classroom, will lecture.
http://crashcourse.ca Waterloo, Ontario, CANADA ========================================================================
| |