Skip to content

Commit

Permalink
sched: Move RR_TIMESLICE from sysctl.h to rt.h
Browse files Browse the repository at this point in the history
This fixes an ia64 build bug reported by Tony Luck.

Reported-by: Tony Luck <[email protected]>
Signed-off-by: Clark Williams <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Steven Rostedt <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
  • Loading branch information
clrkwllms authored and Ingo Molnar committed Feb 22, 2013
1 parent bbbfeac commit 45ebd39
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 6 additions & 0 deletions include/linux/sched/rt.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
6 changes: 0 additions & 6 deletions include/linux/sched/sysctl.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 45ebd39

Please sign in to comment.