X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fbase%2Fcpu.c;h=40545071e3c93adc625bb51cb87e007333f06417;hb=4fa4d23fa20de67df919030c1216295664866ad7;hp=7fd095efaebd75d3d6e1446b7bfdee12c64e31df;hpb=0a01707b289853f56d1c000057b27e243c039722;p=linux-2.6 diff --git a/drivers/base/cpu.c b/drivers/base/cpu.c index 7fd095efae..40545071e3 100644 --- a/drivers/base/cpu.c +++ b/drivers/base/cpu.c @@ -53,7 +53,7 @@ static ssize_t store_online(struct sys_device *dev, const char *buf, ret = count; return ret; } -static SYSDEV_ATTR(online, 0600, show_online, store_online); +static SYSDEV_ATTR(online, 0644, show_online, store_online); static void __devinit register_cpu_control(struct cpu *cpu) { @@ -103,7 +103,7 @@ static SYSDEV_ATTR(crash_notes, 0400, show_crash_notes, NULL); #endif /* - * register_cpu - Setup a driverfs device for a CPU. + * register_cpu - Setup a sysfs device for a CPU. * @cpu - cpu->hotpluggable field set to 1 will generate a control file in * sysfs for this CPU. * @num - CPU number to use when creating the device.