diff --git a/kernel/time/clocksource.c b/kernel/time/clocksource.c index 7466cb8..9782f81 100644 --- a/kernel/time/clocksource.c +++ b/kernel/time/clocksource.c @@ -553,8 +553,8 @@ sysfs_show_available_clocksources(struct sys_device *dev, * Don't show non-HRES clocksource if the tick code is * in one shot mode (highres=on or nohz=on) */ - if (!tick_oneshot_mode_active() || - (src->flags & CLOCK_SOURCE_VALID_FOR_HRES)) +// if (!tick_oneshot_mode_active() || +// (src->flags & CLOCK_SOURCE_VALID_FOR_HRES)) count += snprintf(buf + count, max((ssize_t)PAGE_SIZE - count, (ssize_t)0), "%s ", src->name); diff --git a/kernel/time/timekeeping.c b/kernel/time/timekeeping.c index e8c77d9..b2e26d8 100644 --- a/kernel/time/timekeeping.c +++ b/kernel/time/timekeeping.c @@ -198,6 +198,10 @@ static void change_clocksource(void) clocksource_forward_now(); + printk("Changing clocksource from %s to %s\n", clock->name, new->name); + printk(" %lu(%lu) vs %lu(%lu)\n", clock->mult, clock->mult_orig, + new->mult, new->mult_orig); + if (clocksource_enable(new)) return;