summaryrefslogtreecommitdiffstats
path: root/tapset/proc_mem.stp
diff options
context:
space:
mode:
authorDavid Smith <dsmith@redhat.com>2010-03-11 15:07:43 -0600
committerDavid Smith <dsmith@redhat.com>2010-03-11 15:07:43 -0600
commit40e400d07bcfa621eef5b4f4496b7af665089e55 (patch)
treef483d30173d1573238dd81b6ccb7de9f53045fd2 /tapset/proc_mem.stp
parent33feeb259c00ed8b3eabea98c9891316582e439e (diff)
downloadsystemtap-steved-40e400d07bcfa621eef5b4f4496b7af665089e55.tar.gz
systemtap-steved-40e400d07bcfa621eef5b4f4496b7af665089e55.tar.xz
systemtap-steved-40e400d07bcfa621eef5b4f4496b7af665089e55.zip
Fix proc_mem.stp for RHEL5.
* tapset/proc_mem.stp: Move header file so that it will compile on RHEL5 systems.
Diffstat (limited to 'tapset/proc_mem.stp')
-rw-r--r--tapset/proc_mem.stp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tapset/proc_mem.stp b/tapset/proc_mem.stp
index e4386bde..cebc1550 100644
--- a/tapset/proc_mem.stp
+++ b/tapset/proc_mem.stp
@@ -30,8 +30,8 @@
return NULL;
return current->mm;
}
-#include <linux/mm_types.h>
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,34)
+#include <linux/mm_types.h>
static inline unsigned long k_get_mm_counter(struct mm_struct *mm, int member)
{
#if USE_SPLIT_PTLOCKS