summaryrefslogtreecommitdiffstats
path: root/runtime/stat.c
diff options
context:
space:
mode:
authorhunt <hunt>2006-11-15 17:52:23 +0000
committerhunt <hunt>2006-11-15 17:52:23 +0000
commit132c23b4b9134b9e8969fb57484f9fcdad1d46f5 (patch)
tree48d8da3e2d81b34c2438dc4b2631c1781e042bdf /runtime/stat.c
parent2698d4879f43304658c327860c5b803e10c99c10 (diff)
downloadsystemtap-steved-132c23b4b9134b9e8969fb57484f9fcdad1d46f5.tar.gz
systemtap-steved-132c23b4b9134b9e8969fb57484f9fcdad1d46f5.tar.xz
systemtap-steved-132c23b4b9134b9e8969fb57484f9fcdad1d46f5.zip
2006-11-15 Martin Hunt <hunt@redhat.com>
* alloc.c (STP_ALLOC_FLAGS): Define. Cleanup ifdefs. * map.c: Use STP_ALLOC_FLAGS. * stat.c: ditto.
Diffstat (limited to 'runtime/stat.c')
-rw-r--r--runtime/stat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/stat.c b/runtime/stat.c
index d9eff2c3..c1bf07b1 100644
--- a/runtime/stat.c
+++ b/runtime/stat.c
@@ -96,7 +96,7 @@ Stat _stp_stat_init (int type, ...)
}
va_end (ap);
}
- st = (Stat) kmalloc (sizeof(struct _Stat), GFP_KERNEL);
+ st = (Stat) kmalloc (sizeof(struct _Stat), STP_ALLOC_FLAGS);
if (st == NULL)
return NULL;
@@ -115,7 +115,7 @@ Stat _stp_stat_init (int type, ...)
}
#endif
- agg = (stat *)kmalloc (size, GFP_KERNEL);
+ agg = (stat *)kmalloc (size, STP_ALLOC_FLAGS);
if (agg == NULL)
goto exit2;