Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 124973
b: refs/heads/master
c: 8b07cd4
h: refs/heads/master
i:
  124971: b0c2be0
v: v3
  • Loading branch information
Ingo Molnar committed Dec 27, 2008
1 parent a90d716 commit 65508ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 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: 00c23634879062d1c38d60128bf150c394a359e8
refs/heads/master: 8b07cd44511f3aa78dd912cca6493275a6787dc5
6 changes: 1 addition & 5 deletions trunk/kernel/irq/numa_migrate.c
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,8 @@ static struct irq_desc *__real_move_irq_desc(struct irq_desc *old_desc,

node = cpu_to_node(cpu);
desc = kzalloc_node(sizeof(*desc), GFP_ATOMIC, node);
printk(KERN_DEBUG " move irq_desc for %d to cpu %d node %d\n",
irq, cpu, node);
if (!desc) {
printk(KERN_ERR "can not get new irq_desc for moving\n");
printk(KERN_ERR "irq %d: can not get new irq_desc for migration.\n", irq);
/* still use old one */
desc = old_desc;
goto out_unlock;
Expand Down Expand Up @@ -106,8 +104,6 @@ struct irq_desc *move_irq_desc(struct irq_desc *desc, int cpu)
return desc;

old_cpu = desc->cpu;
printk(KERN_DEBUG
"try to move irq_desc from cpu %d to %d\n", old_cpu, cpu);
if (old_cpu != cpu) {
node = cpu_to_node(cpu);
old_node = cpu_to_node(old_cpu);
Expand Down

0 comments on commit 65508ae

Please sign in to comment.