Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 45ebd394 authored by Clark Williams's avatar Clark Williams Committed by Ingo Molnar
Browse files

sched: Move RR_TIMESLICE from sysctl.h to rt.h



This fixes an ia64 build bug reported by Tony Luck.

Reported-by: default avatarTony Luck <tony.luck@gmail.com>
Signed-off-by: default avatarClark Williams <clark.williams@gmail.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Steven Rostedt <rostedt@goodmis.org>
Link: http://lkml.kernel.org/r/1361373550-4011-2-git-send-email-clark.williams@gmail.com


Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
parent bbbfeac9
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -55,4 +55,10 @@ static inline bool tsk_is_pi_blocked(struct task_struct *tsk)
extern void normalize_rt_tasks(void);


/*
 * default timeslice is 100 msecs (used only for SCHED_RR tasks).
 * Timeslices get refilled after they expire.
 */
#define RR_TIMESLICE		(100 * HZ / 1000)

#endif /* _SCHED_RT_H */
+0 −6
Original line number Diff line number Diff line
@@ -91,12 +91,6 @@ extern unsigned int sysctl_sched_cfs_bandwidth_slice;
extern unsigned int sysctl_sched_autogroup_enabled;
#endif

/*
 * default timeslice is 100 msecs (used only for SCHED_RR tasks).
 * Timeslices get refilled after they expire.
 */
#define RR_TIMESLICE		(100 * HZ / 1000)

extern int sched_rr_timeslice;

extern int sched_rr_handler(struct ctl_table *table, int write,