diff options
Diffstat (limited to 'kernel/delayacct.c')
| -rw-r--r-- | kernel/delayacct.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kernel/delayacct.c b/kernel/delayacct.c index f05392d64267..57ca3730205d 100644 --- a/kernel/delayacct.c +++ b/kernel/delayacct.c | |||
| @@ -19,15 +19,15 @@ | |||
| 19 | #include <linux/sysctl.h> | 19 | #include <linux/sysctl.h> |
| 20 | #include <linux/delayacct.h> | 20 | #include <linux/delayacct.h> |
| 21 | 21 | ||
| 22 | int delayacct_on __read_mostly; /* Delay accounting turned on/off */ | 22 | int delayacct_on __read_mostly = 1; /* Delay accounting turned on/off */ |
| 23 | kmem_cache_t *delayacct_cache; | 23 | kmem_cache_t *delayacct_cache; |
| 24 | 24 | ||
| 25 | static int __init delayacct_setup_enable(char *str) | 25 | static int __init delayacct_setup_disable(char *str) |
| 26 | { | 26 | { |
| 27 | delayacct_on = 1; | 27 | delayacct_on = 0; |
| 28 | return 1; | 28 | return 1; |
| 29 | } | 29 | } |
| 30 | __setup("delayacct", delayacct_setup_enable); | 30 | __setup("nodelayacct", delayacct_setup_disable); |
| 31 | 31 | ||
| 32 | void delayacct_init(void) | 32 | void delayacct_init(void) |
| 33 | { | 33 | { |
