X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=kernel%2Fprofile.c;h=f940b462eec9a34eb7c3cad4ee958a2ec0f1f5bc;hb=73441c665bee555526b1cf3eef603a0cff0b7e19;hp=857300a2afec92d97a724255402780745f042916;hpb=44aefd2706bb6f5b65ba2c38cd89e7609e2b43d3;p=linux-2.6 diff --git a/kernel/profile.c b/kernel/profile.c index 857300a2af..f940b462ee 100644 --- a/kernel/profile.c +++ b/kernel/profile.c @@ -399,7 +399,7 @@ static int prof_cpu_mask_write_proc (struct file *file, const char __user *buffe unsigned long full_count = count, err; cpumask_t new_value; - err = cpumask_parse(buffer, count, new_value); + err = cpumask_parse_user(buffer, count, new_value); if (err) return err;