提交 93400708 编写于 作者: L Linus Torvalds

Merge git://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-2.6-hrt

* 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
...@@ -602,7 +602,7 @@ static int hrtimer_switch_to_hres(void) ...@@ -602,7 +602,7 @@ static int hrtimer_switch_to_hres(void)
/* "Retrigger" the interrupt to get things going */ /* "Retrigger" the interrupt to get things going */
retrigger_next_event(NULL); retrigger_next_event(NULL);
local_irq_restore(flags); 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()); smp_processor_id());
return 1; return 1;
} }
......
...@@ -320,8 +320,6 @@ ktime_t tick_nohz_get_sleep_length(void) ...@@ -320,8 +320,6 @@ ktime_t tick_nohz_get_sleep_length(void)
return ts->sleep_length; return ts->sleep_length;
} }
EXPORT_SYMBOL_GPL(tick_nohz_get_sleep_length);
/** /**
* nohz_restart_sched_tick - restart the idle tick from the idle task * nohz_restart_sched_tick - restart the idle tick from the idle task
* *
......
...@@ -129,7 +129,8 @@ static void print_cpu(struct seq_file *m, int cpu, u64 now) ...@@ -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); struct hrtimer_cpu_base *cpu_base = &per_cpu(hrtimer_bases, cpu);
int i; 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++) { for (i = 0; i < HRTIMER_MAX_CLOCK_BASES; i++) {
SEQ_printf(m, " clock %d:\n", i); SEQ_printf(m, " clock %d:\n", i);
print_base(m, cpu_base->clock_base + i, now); print_base(m, cpu_base->clock_base + i, now);
...@@ -184,7 +185,8 @@ print_tickdevice(struct seq_file *m, struct tick_device *td) ...@@ -184,7 +185,8 @@ print_tickdevice(struct seq_file *m, struct tick_device *td)
{ {
struct clock_event_device *dev = td->evtdev; 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: "); SEQ_printf(m, "Clock Event Device: ");
if (!dev) { if (!dev) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册