x86/cpu/amd: Enable the fixed Instructions Retired counter IRPERF
[linux-2.6-microblaze.git] / kernel / sysctl.c
index b6f2f35..d396aaa 100644 (file)
@@ -1268,7 +1268,7 @@ static struct ctl_table kern_table[] = {
                .proc_handler   = proc_do_static_key,
        },
 #endif
-#if defined(CONFIG_TREE_RCU) || defined(CONFIG_PREEMPT_RCU)
+#if defined(CONFIG_TREE_RCU)
        {
                .procname       = "panic_on_rcu_stall",
                .data           = &sysctl_panic_on_rcu_stall,
@@ -1466,7 +1466,7 @@ static struct ctl_table vm_table[] = {
                .procname       = "drop_caches",
                .data           = &sysctl_drop_caches,
                .maxlen         = sizeof(int),
-               .mode           = 0644,
+               .mode           = 0200,
                .proc_handler   = drop_caches_sysctl_handler,
                .extra1         = SYSCTL_ONE,
                .extra2         = &four,