Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 198989
b: refs/heads/master
c: 00b9b0a
h: refs/heads/master
i:
  198987: 8be475b
v: v3
  • Loading branch information
Linus Torvalds committed May 27, 2010
1 parent fb3f6ec commit a2839af
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 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: e2e2400bd4faee24d11872134b7ae5bd363749c0
refs/heads/master: 00b9b0af5887fed54e899e3b7f5c2ccf5e739def
9 changes: 3 additions & 6 deletions trunk/kernel/cpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -154,16 +154,13 @@ static int cpu_notify(unsigned long val, void *v)
return __cpu_notify(val, v, -1, NULL);
}

#ifdef CONFIG_HOTPLUG_CPU

static void cpu_notify_nofail(unsigned long val, void *v)
{
int err;

err = cpu_notify(val, v);
BUG_ON(err);
BUG_ON(cpu_notify(val, v));
}

#ifdef CONFIG_HOTPLUG_CPU

EXPORT_SYMBOL(register_cpu_notifier);

void __ref unregister_cpu_notifier(struct notifier_block *nb)
Expand Down

0 comments on commit a2839af

Please sign in to comment.