diff options
| author | John W. Linville <linville@tuxdriver.com> | 2006-07-27 14:27:06 -0400 |
|---|---|---|
| committer | John W. Linville <linville@tuxdriver.com> | 2006-07-27 14:27:06 -0400 |
| commit | 20f99dcf417a28089ef6c877ae97f5dec2eab435 (patch) | |
| tree | b4fe1f3e429d6a82ddaaa8e12899da630cfa8a63 /include/linux/cpu.h | |
| parent | dd2f5538a157bda68bfa8efb39feaaccdda9e74e (diff) | |
| parent | 64821324ca49f24be1a66f2f432108f96a24e596 (diff) | |
Merge branch 'from-linus' into upstream
Diffstat (limited to 'include/linux/cpu.h')
| -rw-r--r-- | include/linux/cpu.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/cpu.h b/include/linux/cpu.h index 44a11f1ccaf2..8fb344a9abd8 100644 --- a/include/linux/cpu.h +++ b/include/linux/cpu.h | |||
| @@ -48,7 +48,6 @@ static inline void unregister_cpu_notifier(struct notifier_block *nb) | |||
| 48 | { | 48 | { |
| 49 | } | 49 | } |
| 50 | #endif | 50 | #endif |
| 51 | extern int current_in_cpu_hotplug(void); | ||
| 52 | 51 | ||
| 53 | int cpu_up(unsigned int cpu); | 52 | int cpu_up(unsigned int cpu); |
| 54 | 53 | ||
| @@ -61,10 +60,6 @@ static inline int register_cpu_notifier(struct notifier_block *nb) | |||
| 61 | static inline void unregister_cpu_notifier(struct notifier_block *nb) | 60 | static inline void unregister_cpu_notifier(struct notifier_block *nb) |
| 62 | { | 61 | { |
| 63 | } | 62 | } |
| 64 | static inline int current_in_cpu_hotplug(void) | ||
| 65 | { | ||
| 66 | return 0; | ||
| 67 | } | ||
| 68 | 63 | ||
| 69 | #endif /* CONFIG_SMP */ | 64 | #endif /* CONFIG_SMP */ |
| 70 | extern struct sysdev_class cpu_sysdev_class; | 65 | extern struct sysdev_class cpu_sysdev_class; |
| @@ -73,7 +68,6 @@ extern struct sysdev_class cpu_sysdev_class; | |||
| 73 | /* Stop CPUs going up and down. */ | 68 | /* Stop CPUs going up and down. */ |
| 74 | extern void lock_cpu_hotplug(void); | 69 | extern void lock_cpu_hotplug(void); |
| 75 | extern void unlock_cpu_hotplug(void); | 70 | extern void unlock_cpu_hotplug(void); |
| 76 | extern int lock_cpu_hotplug_interruptible(void); | ||
| 77 | #define hotcpu_notifier(fn, pri) { \ | 71 | #define hotcpu_notifier(fn, pri) { \ |
| 78 | static struct notifier_block fn##_nb = \ | 72 | static struct notifier_block fn##_nb = \ |
| 79 | { .notifier_call = fn, .priority = pri }; \ | 73 | { .notifier_call = fn, .priority = pri }; \ |
