]> sourceware.org Git - systemtap.git/commitdiff
runtime/linux: kernel 3.10 compatibility; need explicit #include linux/slab.h
authorFrank Ch. Eigler <fche@redhat.com>
Wed, 8 May 2013 02:49:35 +0000 (22:49 -0400)
committerFrank Ch. Eigler <fche@redhat.com>
Wed, 8 May 2013 02:49:35 +0000 (22:49 -0400)
Quoting from kernel commit 9f3a90e89...:

    Caused by commit 30c05350c39d ("powerpc/pseries: Use stop machine to
    update cpu maps") from the powerpc tree interacting with (probably)
    commit ff794dea52ea ("cpuset: remove include of cgroup.h from cpuset.h")
    from the cgroup tree.  Removing includes from header files is fraught
    with danger ...

runtime/linux/runtime.h

index 6dd062b9cf1ff34f0b1a780009e8903f762274cc..28ede3eaccc2ef0c2a4324b4f06dbb69b52842f2 100644 (file)
@@ -21,6 +21,7 @@
 #include <linux/kprobes.h>
 #include <linux/proc_fs.h>
 #include <linux/vmalloc.h>
+#include <linux/slab.h>
 #include <linux/time.h>
 #include <linux/random.h>
 #include <linux/spinlock.h>
This page took 0.030558 seconds and 5 git commands to generate.