diff options
| author | Takashi Iwai <tiwai@suse.de> | 2012-01-31 15:13:14 +0100 | 
|---|---|---|
| committer | Takashi Iwai <tiwai@suse.de> | 2012-01-31 15:13:14 +0100 | 
| commit | ea51e5040e24eefe44d70bc654a237ca1f0225b0 (patch) | |
| tree | df2e5922dcdfafae62a10d8cd97f98121064fc23 /kernel/cpu.c | |
| parent | 3422a47041b8cb8f14ac1e3926bcf711121df6dc (diff) | |
| parent | 8dbd52daee38adaae4d5a674bcca837e694a4f4c (diff) | |
Merge branch 'fix/asoc' into for-linus
Diffstat (limited to 'kernel/cpu.c')
| -rw-r--r-- | kernel/cpu.c | 8 | 
1 files changed, 4 insertions, 4 deletions
| diff --git a/kernel/cpu.c b/kernel/cpu.c index 563f13609470..2060c6e57027 100644 --- a/kernel/cpu.c +++ b/kernel/cpu.c @@ -178,8 +178,7 @@ static inline void check_for_tasks(int cpu)  	write_lock_irq(&tasklist_lock);  	for_each_process(p) {  		if (task_cpu(p) == cpu && p->state == TASK_RUNNING && -		    (!cputime_eq(p->utime, cputime_zero) || -		     !cputime_eq(p->stime, cputime_zero))) +		    (p->utime || p->stime))  			printk(KERN_WARNING "Task %s (pid = %d) is on cpu %d "  				"(state = %ld, flags = %x)\n",  				p->comm, task_pid_nr(p), cpu, @@ -380,6 +379,7 @@ out:  	cpu_maps_update_done();  	return err;  } +EXPORT_SYMBOL_GPL(cpu_up);  #ifdef CONFIG_PM_SLEEP_SMP  static cpumask_var_t frozen_cpus; @@ -470,7 +470,7 @@ out:  	cpu_maps_update_done();  } -static int alloc_frozen_cpus(void) +static int __init alloc_frozen_cpus(void)  {  	if (!alloc_cpumask_var(&frozen_cpus, GFP_KERNEL|__GFP_ZERO))  		return -ENOMEM; @@ -543,7 +543,7 @@ cpu_hotplug_pm_callback(struct notifier_block *nb,  } -int cpu_hotplug_pm_sync_init(void) +static int __init cpu_hotplug_pm_sync_init(void)  {  	pm_notifier(cpu_hotplug_pm_callback, 0);  	return 0; | 
