diff options
Diffstat (limited to 'runtime/stat.c')
-rw-r--r-- | runtime/stat.c | 4 |
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; |