Linux Headquarters
[ Register ]
[ About us ] [ Home Page ]

[ Kernel ] [ Documentation ] [ Links ] [ Books ]

Advertisement

Kernel v2.6.26-rc1-git7 /kernel/time/clocksource.c

Filename:/kernel/time/clocksource.c
Lines Added:2
Lines Deleted:2
Also changed in: (Previous) 2.6.26-rc1-git6  2.6.26-rc1-git5  2.6.26-rc1-git4  2.6.26-rc1-git3  2.6.26-rc1-git2  2.6.26-rc1-git1 
(Following) 2.6.26-rc1-git8  2.6.26-rc1-git9  2.6.26-rc2  2.6.26-rc3  2.6.26-rc4  2.6.26-rc5 

Location
[  2.6.26-rc1-git7
  [  kernel
    [  time
       o  clocksource.c

Patch

diff --git a/kernel/time/clocksource.c b/kernel/time/clocksource.c
index 73961f3..dadde53 100644
--- a/kernel/time/clocksource.c
+++ b/kernel/time/clocksource.c
@@ -471,10 +471,10 @@ sysfs_show_available_clocksources(struct sys_device *dev, char *buf)
 /*
  * Sysfs setup bits:
  */
-static SYSDEV_ATTR(current_clocksource, 0600, sysfs_show_current_clocksources,
+static SYSDEV_ATTR(current_clocksource, 0644, sysfs_show_current_clocksources,
          sysfs_override_clocksource);
 
-static SYSDEV_ATTR(available_clocksource, 0600,
+static SYSDEV_ATTR(available_clocksource, 0444,
          sysfs_show_available_clocksources, NULL);
 
 static struct sysdev_class clocksource_sysclass = {


Comments: webmaster (at) linuxhq.com.
Advertising: banners (at) linuxhq.com.
Compilation ©1998-2008 Linux Headquarters, Inc.