~ubuntu-branches/ubuntu/trusty/linux-ti-omap4/trusty

« back to all changes in this revision

Viewing changes to include/linux/cpu.h

  • Committer: Package Import Robot
  • Author(s): Paolo Pisati, Paolo Pisati
  • Date: 2013-07-11 18:35:20 UTC
  • Revision ID: package-import@ubuntu.com-20130711183520-htnf1x4y5r11hndr
Tags: 3.5.0-229.42
* Release Tracking Bug
  - LP: #1199276

[ Paolo Pisati ]

* [Config] CONFIG_ATH9K_LEGACY_RATE_CONTROL is not set

Show diffs side-by-side

added added

removed removed

Lines of Context:
175
175
 
176
176
extern void get_online_cpus(void);
177
177
extern void put_online_cpus(void);
 
178
extern void cpu_hotplug_disable(void);
 
179
extern void cpu_hotplug_enable(void);
178
180
#define hotcpu_notifier(fn, pri)        cpu_notifier(fn, pri)
179
181
#define register_hotcpu_notifier(nb)    register_cpu_notifier(nb)
180
182
#define unregister_hotcpu_notifier(nb)  unregister_cpu_notifier(nb)
198
200
 
199
201
#define get_online_cpus()       do { } while (0)
200
202
#define put_online_cpus()       do { } while (0)
 
203
#define cpu_hotplug_disable()   do { } while (0)
 
204
#define cpu_hotplug_enable()    do { } while (0)
201
205
#define hotcpu_notifier(fn, pri)        do { (void)(fn); } while (0)
202
206
/* These aren't inline functions due to a GCC bug. */
203
207
#define register_hotcpu_notifier(nb)    ({ (void)(nb); 0; })