Re: [GIT PULL] break implicit percpu.h -> slab.h dependency

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Ingo Molnar
Date: Tuesday, April 6, 2010 - 2:25 am

* Tejun Heo <tj@kernel.org> wrote:


FYI, -tip testing found a build breakage with your changes:

 drivers/base/node.c:373: error: implicit declaration of function 'kmalloc'
 drivers/base/node.c:377: error: implicit declaration of function 'kfree'

The fix is below. Since my first test today triggered a build failure i'd 
expect there to be more - i'll send all subsequent fixes to this thread.

Thanks,

	Ingo

Index: linux2/drivers/base/node.c
===================================================================
--- linux2.orig/drivers/base/node.c
+++ linux2/drivers/base/node.c
@@ -16,6 +16,7 @@
 #include <linux/device.h>
 #include <linux/swap.h>
 #include <linux/gfp.h>
+#include <linux/slab.h>
 
 static struct sysdev_class_attribute *node_state_attrs[];
 
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [GIT PULL] break implicit percpu.h -> slab.h dependency, Ingo Molnar, (Tue Apr 6, 2:25 am)