Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 48041
b: refs/heads/master
c: 47e627b
h: refs/heads/master
i:
  48039: 2097658
v: v3
  • Loading branch information
Avi Kivity authored and Linus Torvalds committed Feb 12, 2007
1 parent 01180ba commit a16b39a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 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: 1e8ba6fba5050ec11bba90c8622aa2ed95ff711f
refs/heads/master: 47e627bc8c9a70392d2049e6af5bd55fae61fe53
12 changes: 11 additions & 1 deletion trunk/include/linux/cpu.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,20 @@ struct notifier_block;

#ifdef CONFIG_SMP
/* Need to know about CPUs going up/down? */
extern int register_cpu_notifier(struct notifier_block *nb);
#ifdef CONFIG_HOTPLUG_CPU
extern int register_cpu_notifier(struct notifier_block *nb);
extern void unregister_cpu_notifier(struct notifier_block *nb);
#else

#ifndef MODULE
extern int register_cpu_notifier(struct notifier_block *nb);
#else
static inline int register_cpu_notifier(struct notifier_block *nb)
{
return 0;
}
#endif

static inline void unregister_cpu_notifier(struct notifier_block *nb)
{
}
Expand Down

0 comments on commit a16b39a

Please sign in to comment.