Implement ck1 patchset
/kernel/sysctl.c
blob:0787cc7772c2b6dfb5abdec5f8dc6353e529032a -> blob:13ad486ef6860443aa6d91c36ab796fe2e085c8a
--- kernel/sysctl.c
+++ kernel/sysctl.c
@@ -121,7 +121,7 @@ static int __maybe_unused one = 1;
static int __maybe_unused two = 2;
static int __maybe_unused three = 3;
static unsigned long one_ul = 1;
-static int one_hundred = 100;
+static int __maybe_unused one_hundred = 100;
#ifdef CONFIG_PRINTK
static int ten_thousand = 10000;
#endif
@@ -258,7 +258,7 @@ static struct ctl_table root_table[] = {
{ }
};
-#ifdef CONFIG_SCHED_DEBUG
+#if defined(CONFIG_SCHED_DEBUG)
static int min_sched_granularity_ns = 100000; /* 100 usecs */
static int max_sched_granularity_ns = NSEC_PER_SEC; /* 1 second */
static int min_wakeup_granularity_ns; /* 0 usecs */