lkml.org 
[lkml]   [2010]   [Apr]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [GIT PULL] break implicit percpu.h -> slab.h dependency

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

> git://git.kernel.org/pub/scm/linux/kernel/git/tj/misc.git slabh
>
> This is rather unusual pull request at this stage in -rc cycles but
> given the mostly trivial nature and massive size of this change, I
> think it would be beneficial to merge this while the tree isn't
> changing too rapidly and as early as possible so that further
> breakages aren't introduced.

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[];


\
 
 \ /
  Last update: 2010-04-06 11:27    [W:3.752 / U:0.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site