History

tick: Move skew_tick option into the HIGH_RES_TIMER section

commit 5307c95 (tick: Add tick skew boot option) broke the !CONFIG_HIGH_RES_TIMERS build. Move the boot option parsing into the CONFIG_HIGH_RES_TIMERS section.

Thomas Gleixner committed 14 years ago

Commit 62cf20b1 parent fc0830f1 file · +8 −8Browse files

Unified · Split

kernel/time/tick-sched.c+8−8
@@ -816,6 +816,14 @@ static enum hrtimer_restart tick_sched_timer(struct hrtimer *timer) · 815 unmodified lines
816 816
817static int sched_skew_tick;817static int sched_skew_tick;
818 818
819static int __init skew_tick(char *str)
820{
821 get_option(&str, &sched_skew_tick);
822
823 return 0;
824}
825early_param("skew_tick", skew_tick);
826
819/**827/**
820 * tick_setup_sched_timer - setup the tick emulation timer828 * tick_setup_sched_timer - setup the tick emulation timer
821 */829 */
@@ -920,11 +928,3 @@ int tick_check_oneshot_change(int allow_nohz) · 98 unmodified lines
920 tick_nohz_switch_to_nohz();928 tick_nohz_switch_to_nohz();
921 return 0;929 return 0;
922}930}
923
924static int __init skew_tick(char *str)
925{
926 get_option(&str, &sched_skew_tick);
927
928 return 0;
929}
930early_param("skew_tick", skew_tick);