]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - kernel/fork.c
fsi: aspeed: Add trace points
[linux.git] / kernel / fork.c
index 1f6c45f6a734dee95199e984bee662e884729a81..bcdf5312521036486b7613e7499d7174e62526c6 100644 (file)
@@ -2925,7 +2925,7 @@ int sysctl_max_threads(struct ctl_table *table, int write,
        struct ctl_table t;
        int ret;
        int threads = max_threads;
-       int min = MIN_THREADS;
+       int min = 1;
        int max = MAX_THREADS;
 
        t = *table;
@@ -2937,7 +2937,7 @@ int sysctl_max_threads(struct ctl_table *table, int write,
        if (ret || !write)
                return ret;
 
-       set_max_threads(threads);
+       max_threads = threads;
 
        return 0;
 }