Prev: [announce] atang tree has been rebased on top of 2.6.33
Next: 2.6.33.2: USB Quickcam Pro 9000 (usb resets)?
From: Wang, Yong Y on 5 Apr 2010 08:40 > From: Tejun Heo [mailto:tj(a)kernel.org] > Sent: Monday, April 05, 2010 10:41 AM > To: lkml > Cc: Wang, Yong Y > Subject: [PATCH] eeepc-wmi: include slab.h > > eeepc-wmi uses kfree() but doesn't include slab.h. Include it. > > Signed-off-by: Tejun Heo <tj(a)kernel.org> > Cc: Yong Wang <yong.y.wang(a)intel.com> > --- > Hello, > > I've committed this patch to percpu#slabh branch which breaks implicit > slab interface availability. I'm gonna push the branch to Linus > soonish. > > Thanks. > > drivers/platform/x86/eeepc-wmi.c | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/drivers/platform/x86/eeepc-wmi.c > b/drivers/platform/x86/eeepc-wmi.c > index 2466b7b..9f88226 100644 > --- a/drivers/platform/x86/eeepc-wmi.c > +++ b/drivers/platform/x86/eeepc-wmi.c > @@ -27,6 +27,7 @@ > #include <linux/module.h> > #include <linux/init.h> > #include <linux/types.h> > +#include <linux/slab.h> > #include <linux/input.h> > #include <linux/input/sparse-keymap.h> > #include <acpi/acpi_bus.h> <linux/module.h> includes <linux/percpu.h> which in turn includes <linux/slab.h>. Doesn't it? Thanks -Yong -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
From: Tejun Heo on 5 Apr 2010 10:40
On 04/05/2010 09:30 PM, Wang, Yong Y wrote: > <linux/module.h> includes <linux/percpu.h> which in turn includes <linux/slab.h>. > Doesn't it? Yeah, I'm trying to break that implicit dependency. :-) -- tejun -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ |