Skip to content

Commit

Permalink
Merge git://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-2.6-hrt
Browse files Browse the repository at this point in the history
* git://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-2.6-hrt:
  Quieten hrtimer printk: "Switched to high resolution mode .."
  timer_list: Fix printk format strings
  clockevents: unexport tick_nohz_get_sleep_length
  • Loading branch information
Linus Torvalds committed Oct 29, 2007
2 parents db3a91f + edfed66 commit 9340070
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion kernel/hrtimer.c
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,7 @@ static int hrtimer_switch_to_hres(void)
/* "Retrigger" the interrupt to get things going */
retrigger_next_event(NULL);
local_irq_restore(flags);
printk(KERN_INFO "Switched to high resolution mode on CPU %d\n",
printk(KERN_DEBUG "Switched to high resolution mode on CPU %d\n",
smp_processor_id());
return 1;
}
Expand Down
2 changes: 0 additions & 2 deletions kernel/time/tick-sched.c
Original file line number Diff line number Diff line change
Expand Up @@ -320,8 +320,6 @@ ktime_t tick_nohz_get_sleep_length(void)
return ts->sleep_length;
}

EXPORT_SYMBOL_GPL(tick_nohz_get_sleep_length);

/**
* nohz_restart_sched_tick - restart the idle tick from the idle task
*
Expand Down
6 changes: 4 additions & 2 deletions kernel/time/timer_list.c
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,8 @@ static void print_cpu(struct seq_file *m, int cpu, u64 now)
struct hrtimer_cpu_base *cpu_base = &per_cpu(hrtimer_bases, cpu);
int i;

SEQ_printf(m, "\ncpu: %d\n", cpu);
SEQ_printf(m, "\n");
SEQ_printf(m, "cpu: %d\n", cpu);
for (i = 0; i < HRTIMER_MAX_CLOCK_BASES; i++) {
SEQ_printf(m, " clock %d:\n", i);
print_base(m, cpu_base->clock_base + i, now);
Expand Down Expand Up @@ -184,7 +185,8 @@ print_tickdevice(struct seq_file *m, struct tick_device *td)
{
struct clock_event_device *dev = td->evtdev;

SEQ_printf(m, "\nTick Device: mode: %d\n", td->mode);
SEQ_printf(m, "\n");
SEQ_printf(m, "Tick Device: mode: %d\n", td->mode);

SEQ_printf(m, "Clock Event Device: ");
if (!dev) {
Expand Down

0 comments on commit 9340070

Please sign in to comment.