Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 116369
b: refs/heads/master
c: c5b77a3
h: refs/heads/master
i:
  116367: 068d07b
v: v3
  • Loading branch information
Thomas Gleixner committed Oct 20, 2008
1 parent b0a30da commit 02882bd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e67ef25a35b949561a9bd77693523ec94ab4a278
refs/heads/master: c5b77a3d3a716a5c61a1999d7f2a78e9c39fd1b0
10 changes: 7 additions & 3 deletions trunk/kernel/time/timer_list.c
Original file line number Diff line number Diff line change
Expand Up @@ -184,12 +184,16 @@ static void print_cpu(struct seq_file *m, int cpu, u64 now)

#ifdef CONFIG_GENERIC_CLOCKEVENTS
static void
print_tickdevice(struct seq_file *m, struct tick_device *td)
print_tickdevice(struct seq_file *m, struct tick_device *td, int cpu)
{
struct clock_event_device *dev = td->evtdev;

SEQ_printf(m, "\n");
SEQ_printf(m, "Tick Device: mode: %d\n", td->mode);
if (cpu < 0)
SEQ_printf(m, "Broadcast device\n");
else
SEQ_printf(m, "Per CPU device: %d\n", cpu);

SEQ_printf(m, "Clock Event Device: ");
if (!dev) {
Expand Down Expand Up @@ -223,7 +227,7 @@ static void timer_list_show_tickdevices(struct seq_file *m)
int cpu;

#ifdef CONFIG_GENERIC_CLOCKEVENTS_BROADCAST
print_tickdevice(m, tick_get_broadcast_device());
print_tickdevice(m, tick_get_broadcast_device(), -1);
SEQ_printf(m, "tick_broadcast_mask: %08lx\n",
tick_get_broadcast_mask()->bits[0]);
#ifdef CONFIG_TICK_ONESHOT
Expand All @@ -233,7 +237,7 @@ static void timer_list_show_tickdevices(struct seq_file *m)
SEQ_printf(m, "\n");
#endif
for_each_online_cpu(cpu)
print_tickdevice(m, tick_get_device(cpu));
print_tickdevice(m, tick_get_device(cpu), cpu);
SEQ_printf(m, "\n");
}
#else
Expand Down

0 comments on commit 02882bd

Please sign in to comment.